DescriptionMac: Recreate browser-side GL contexts on GPU switch
When a GPU switch is detected, poison all browser-side GL contexts,
which will cause them to be recreated.
Make CompositorSwapBuffers destroy and recreate the GL context
if it has been poisoned. Ensure that the CALayer for the old content
remain in place until the new layer is in place and correctly sized,
to avoid flickering.
BUG=361493
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262901
Patch Set 1 #Patch Set 2 : Add comments #Patch Set 3 : Remove prototype #
Total comments: 8
Patch Set 4 : Incorporate review feedback #
Total comments: 1
Messages
Total messages: 12 (0 generated)
|