summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-23 00:15:41 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-23 00:15:41 +0000
commite194761cb30dbbbd71a39fde2e0fb401ab24c231 (patch)
tree1867b73b8e7d98258e248d0ffe36ba636a280c3e
parentdc5f0183a41e4c8332402ab5a5e5a5288cfde1d9 (diff)
downloadchromium_src-e194761cb30dbbbd71a39fde2e0fb401ab24c231.zip
chromium_src-e194761cb30dbbbd71a39fde2e0fb401ab24c231.tar.gz
chromium_src-e194761cb30dbbbd71a39fde2e0fb401ab24c231.tar.bz2
Revert 236475 "Disable partial swap on Windows."
> Disable partial swap on Windows. > > Partial swap may be causing some performance problems, so disable it. > > BUG=313104 > > Review URL: https://codereview.chromium.org/79643002 TBR=jbauman@chromium.org Review URL: https://codereview.chromium.org/82523008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236881 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ui/gl/gl_surface_egl.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
index b03a49a..3f8923a 100644
--- a/ui/gl/gl_surface_egl.cc
+++ b/ui/gl/gl_surface_egl.cc
@@ -295,11 +295,6 @@ bool NativeViewGLSurfaceEGL::Initialize(VSyncProvider* sync_provider) {
&surfaceVal);
supports_post_sub_buffer_ = (surfaceVal && retVal) == EGL_TRUE;
-#if defined(OS_WIN)
- // Partial swaps may be causing performance issues on Windows.
- supports_post_sub_buffer_ = false;
-#endif
-
if (sync_provider)
vsync_provider_.swap(vsync_provider);
else if (g_egl_sync_control_supported)