开发者

Renderscript Video Sync Issues on Motorola Xoom?

I've been messing around with Renderscript using a Motorola Xoom. Everything works ok but there are rendering issues. I'm not sure if it's specific to the Xoom or not.

You can see the problem when running the Balls sample application. When the larger balls are at rest they look like white spots with a halo. However, when the larger balls move the halo appears to lag slightly behind the ball.

However, in this video (http://www.youtube.com/watch?v=uQ5NumRfHN4)开发者_运维知识库 the balls render properly. The halo remains properly in place as the ball moves.

So something isn't right on the Xoom. I think it's a video sync issue.

I tried adding a call to rsgAllocationSyncAll() but to no avail.

Any suggestions?

Thanks!


You are simply noticing the effect of the display's refresh rate. The video you are linking to was recorded from a Xoom using HDMI output. Renderscript, just like OpenGL and everything else on Android, is vsync'd by default.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜