Re: [Mesa-dev] GALLIUM_HUD issue with Android

2017-08-07 Thread Chris Healy
I believe you are correct Rob. I grabbed a dumpsys from SurfaceFlinger and put the output here: https://pastebin.com/vzmRf8Kp This was done with a game running in the foreground with the 38 pixel high navigation bar still present on the bottom of the screen. It seems to me that we need some way

Re: [Mesa-dev] GALLIUM_HUD issue with Android

2017-08-04 Thread Rob Clark
afaict this is more or less the case w/ android.. top/bottom bar, search bar, wallpaper, etc, are all pushed to surface-flinger as separate "windows".. Try "adb shell dumpsys SurfaceFlinger" with an android device. (I'm not 100% sure if you need root to do that.) And with android forking everyth

Re: [Mesa-dev] GALLIUM_HUD issue with Android

2017-08-03 Thread Marek Olšák
Hi Chris, The HUD is drawn inside SwapBuffers. It shouldn't be in every widget unless every widget is a separate double-buffered GL window. Marek On Thu, Aug 3, 2017 at 6:50 PM, Chris Healy wrote: > Running Android on top of Mesa has exposed an issue with the > GALLIUM_HUD where we get the HUD

[Mesa-dev] GALLIUM_HUD issue with Android

2017-08-03 Thread Chris Healy
Running Android on top of Mesa has exposed an issue with the GALLIUM_HUD where we get the HUD graphs rendered to each of the surfaces that Android is working with, so there is one with the top bar, one with the bottom bar, one with the main surface, and even one with popups. I'm looking to get som