Hi, This series enables more flexibility for the HUD with multi-context applications like Google Chrome. (with --single-process parameter)
It allows capturing queries from one context and draw the HUD in a different context. For example, you want to profile a WebGL context on a web page, but you want to draw the HUD when Chrome calls SwapBuffers for the whole window (different context). From the HUD perspective, it works as follows: - only one HUD instance is created for a whole context share group - only one context records queries - only one context can draw the HUD If GALLIUM_HUD_SHARE=x,y is set, the new "shared HUD" mode will be enabled. "x" is the index of the recording context and "y" is the index of the drawing context. This has only been tested with an apitrace of Google Chrome. Please review. Thanks, Marek _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
