DescriptionDestroy GLX windows when they are backgrounded
Because GLX windows cannot be destroyed separately from their
X windows on all platforms, create a separate child X window to use
with GLX. Destroy this child X window when the backbuffer for the
window is no longer needed.
Because the GL surface may need to be made current while its
backbuffer is destroyed (e.g, to destroy GL resources for a
backgrounded tab), create a dummy 1x1 GL surface which is
never destroyed and can always be made current.
Because the child X window created will cover its parent, create an
event listener to forward expose events from the child window to
the parent, so that the parent can know to repaint.
BUG=145600
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223148
Patch Set 1 #Patch Set 2 : Fix build issue #Patch Set 3 : Add missing OVERRIDE #
Total comments: 8
Patch Set 4 : Incorporate review feedback #Patch Set 5 : Incorporate review feedback #Patch Set 6 : Re-apply patch #Patch Set 7 : Clean up patch #
Total comments: 4
Patch Set 8 : Incorporate review feedback #Patch Set 9 : Make clang builds happy #
Messages
Total messages: 8 (0 generated)
|