Android Skia 远程表面
您好,我正在研究将“未渲染”渲染调用从 Android 传输到第二个屏幕的可能性。在研究过程中,我发现 Skia 是 Surfacefinger 和 Canvas.draw() 方法的幕后黑手。所以我现在的问题是,什么是最好的拦截点来分支调用,以便将它们用于第二个屏幕/机器。第二设备不能是纯粹的重放设备,但可以是另一台Android设备。
首先我使用VNC来实现这个概念,但很快发现它的性能很差,由于双缓冲效应,也可以在某种意义上操纵android代码,它省略了双缓冲,但它仍然是有趣的实际上在第二个(可能是缩放的设备)上使用预渲染的调用。
谢谢
Hi I was researching the possibility to transport the "not rendered" rendering calls to a second screen from Android. While researching I found out that Skia is behind the Surfacefinger, and the Canvas.draw() method. So my question is now, what would be the best interception point to branch off the calls in order to use them for a second screen / machine. The second device mut not be a pure replay device, but can be another Android device.
First I used VNC for that concept, but quickly found out that it badly performs, due to the double buffering effect, it is also possible to manipulate the android code in a sense that it omits the double buffering, but it is still of interest to actually use the pre rendered calles on a second, maybe scaled device.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论