麻烦本地OpenGL渲染 [英] Trouble with Native OpenGL Renderer

查看:226
本文介绍了麻烦本地OpenGL渲染的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用本地code呈现在Android的OpenGL和我得到的是这样的周期性误差:

I am using Native code to render OpenGL in Android and I get periodic errors that look like this:

ERROR / IMGSRV(1435):frameresource.c:610:WaitUntilResourceIsNotNeeded:PVRSRVEventObjectWait失败。

ERROR/IMGSRV(1435): frameresource.c:610: WaitUntilResourceIsNotNeeded: PVRSRVEventObjectWait failed

ERROR / IMGSRV(1018):sgxif.c:124:WaitForRender:PVRSRVEventObjectWait失败。

ERROR/IMGSRV(1018): sgxif.c:124: WaitForRender: PVRSRVEventObjectWait failed

ERROR / IMGSRV(1435):osfunc_um.c:318:PVRSRVEventObjectWait:错误13返回

ERROR/IMGSRV(1435): osfunc_um.c:318: PVRSRVEventObjectWait: Error 13 returned

一旦这些错误拿出我必须重新启动手机或渲染将无法正常重新启动。我已经做了很多网络搜索的,我无法找出什么可能是这些错误的原因。没有任何人有什么建议?

Once these errors come up I have to restart the phone or the rendering won't start again correctly. I have done a lot of web searching and I can't find out what could be the cause of these errors. Does anyone else have any suggestions?

推荐答案

嗯,这是很难说没有看你的code,它可以是一个驱动程序问题,
或者一些错误的code。

Well, it is hard to tell without looking at your code, it can either be a driver issue, or something wrong in your code.

请尝试以下操作:


  • 请确保您的GL通话是在同一线程上。

  • 尝试注释掉所有渲染code和开始添加行回来,直到你看到再次出现问题。

  • 检查内存泄漏

这篇关于麻烦本地OpenGL渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆