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

Unified Diff: gpu/ipc/service/image_transport_surface_win.cc

Issue 2696203004: Revert of "Route DXGI Frame Statistics to VSyncProvider" (Closed)
Patch Set: Created 3 years, 10 months 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 | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/image_transport_surface_win.cc
diff --git a/gpu/ipc/service/image_transport_surface_win.cc b/gpu/ipc/service/image_transport_surface_win.cc
index 62131284c7bd26c71fdbc3ac73be3ed2ee8edf7d..7d484e900577fc2d2284d66ce5417d66ab937b2b 100644
--- a/gpu/ipc/service/image_transport_surface_win.cc
+++ b/gpu/ipc/service/image_transport_surface_win.cc
@@ -29,11 +29,6 @@ scoped_refptr<gl::GLSurface> ImageTransportSurface::CreateNativeSurface(
scoped_refptr<gl::GLSurface> surface;
if (gl::GetGLImplementation() == gl::kGLImplementationEGLGLES2 &&
gl::GLSurfaceEGL::IsDirectCompositionSupported()) {
- // TODO(stanisc): http://crbug.com/659844:
- // Force DWM based gl::VSyncProviderWin provider to avoid video playback
- // smoothness issues. Once that issue is fixed, passing a nullptr
- // vsync_provider would result in assigning a default VSyncProvider inside
- // the Initialize call.
std::unique_ptr<gfx::VSyncProvider> vsync_provider(
new gl::VSyncProviderWin(surface_handle));
if (base::FeatureList::IsEnabled(switches::kDirectCompositionOverlays)) {
« no previous file with comments | « no previous file | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698