Chromium Code Reviews

Unified Diff: ui/gl/gl_gl_api_implementation.cc

Issue 1273563002: Mac Overlays: Add GPU back-pressure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use default fences Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ui/gl/gl_gl_api_implementation.cc
diff --git a/ui/gl/gl_gl_api_implementation.cc b/ui/gl/gl_gl_api_implementation.cc
index a59a2c04ef4df70e1c9453f09172c746543d8d25..b7dc44bb8ae8e2450dfed1f7e917187d9c2dfc2a 100644
--- a/ui/gl/gl_gl_api_implementation.cc
+++ b/ui/gl/gl_gl_api_implementation.cc
@@ -614,13 +614,4 @@ void VirtualGLApi::glFinishFn() {
GLApiBase::glFinishFn();
}
-ScopedSetGLToRealGLApi::ScopedSetGLToRealGLApi()
- : old_gl_api_(GetCurrentGLApi()) {
- SetGLToRealGLApi();
-}
-
-ScopedSetGLToRealGLApi::~ScopedSetGLToRealGLApi() {
- SetGLApi(old_gl_api_);
-}
-
} // namespace gfx

Powered by Google App Engine