-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android demo 6 HardwareImage对应的Image(绑定到openGL ES的纹理)是如何更新的 #8
Comments
@paul1992li 你看下https://zhuanlan.zhihu.com/p/302285687 这里能帮你不. |
@paul1992li 其实你应该把渲染给vulkan/opengl es分开看,在win平台,还有渲染给dx11了,后面的几个android大demo,我都是直接只渲染给opengl es,没有vulkan窗口了. |
本人的理解是 VkOutputLayer的inTex[0] 作为输入的Vulkan管线的绘制结果,需要1. blit到HardwareImage的image用于OpenGL ES对应的surfaceView的展示 2. bilt到vulkan SurfaceView对应的ANativeWindow的present的Image
第2步的逻辑已经清楚了,不知道第1步怎么做的 我看到OnCommand的blit不是每次都调用但是Opengl ES对应的SurfaceView上屏结果每次都有更新,希望解答下这块儿逻辑
非常感谢 ,学习中,这个工程很强大!!!
The text was updated successfully, but these errors were encountered: