Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: content/browser/renderer_host/compositing_iosurface_mac.mm

Issue 103943011: Work around Mac OS 10.9 window server synchronization bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositing_iosurface_mac.mm
diff --git a/content/browser/renderer_host/compositing_iosurface_mac.mm b/content/browser/renderer_host/compositing_iosurface_mac.mm
index dff0413d52d0905985905a408825d396a72ac864..b5759ed68bf5c4533b954daf41bcfda47595fd72 100644
--- a/content/browser/renderer_host/compositing_iosurface_mac.mm
+++ b/content/browser/renderer_host/compositing_iosurface_mac.mm
@@ -450,7 +450,8 @@ bool CompositingIOSurfaceMac::DrawIOSurface(
}
const bool workaround_needed =
- drawing_context->IsVendorIntel() && !base::mac::IsOSMountainLionOrLater();
+ drawing_context->IsVendorIntel() &&
+ (!base::mac::IsOSMountainLionOrLater() || base::mac::IsOSMavericks());
const bool use_glfinish_workaround =
(workaround_needed || force_on_workaround) && !force_off_workaround;
@@ -459,8 +460,10 @@ bool CompositingIOSurfaceMac::DrawIOSurface(
// http://crbug.com/123409 : work around bugs in graphics driver on
// MacBook Air with Intel HD graphics, and possibly on other models,
// by forcing the graphics pipeline to be completely drained at this
- // point.
- // This workaround is not necessary on Mountain Lion.
+ // point. This workaround is not necessary on Mountain Lion.
+ // http://crbug.com/318877 : work around a bug where the window does
+ // not finish rendering its contents before displaying them on Mavericks
+ // on Retina MacBook Pro when using the Intel HD graphics GPU.
glFinish();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698