-
Hi again Filament team, I'm stuck again, this time trying to blend two SwapChains together:
I can simply overlay Expensive Window on top of Main Window (the "painter's algorithm" hack works for me). Here's a snippet of my code:
The result works, but has screen-flickering, probably caused by disagreeing SwapChain "COMMIT"s from the My questions are:
Thanks again! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The cheaper option on Android is going to be 2 SurfaceView. It bypasses the GPU. Otherwise, don't use copyFrame(), but draw your render target's texture as a quad (you don't need a separate View for that, just a Fullscreen quad or triangle with the appropriate material). |
Beta Was this translation helpful? Give feedback.
-
I ended up deciding against this (complexity, overhead). Thanks for the help! |
Beta Was this translation helpful? Give feedback.
The cheaper option on Android is going to be 2 SurfaceView. It bypasses the GPU. Otherwise, don't use copyFrame(), but draw your render target's texture as a quad (you don't need a separate View for that, just a Fullscreen quad or triangle with the appropriate material).