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

Unified Diff: cc/gl_renderer.cc

Issue 11450019: Finish the rename from cc::GraphicsContext to cc::OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: cc/gl_renderer.cc
diff --git a/cc/gl_renderer.cc b/cc/gl_renderer.cc
index 9fa72f2c673d6f9ee8ac4564cfce96d5cb217501..4bde817608ee28da0fef456005e4af762bc44062 100644
--- a/cc/gl_renderer.cc
+++ b/cc/gl_renderer.cc
@@ -102,9 +102,6 @@ bool GLRenderer::initialize()
else
m_capabilities.usingAcceleratedPainting = false;
-
- m_capabilities.contextHasCachedFrontBuffer = extensions.count("GL_CHROMIUM_front_buffer_cached");
-
m_capabilities.usingPartialSwap = settings().partialSwapEnabled && extensions.count("GL_CHROMIUM_post_sub_buffer");
// Use the swapBuffers callback only with the threaded proxy.
@@ -1350,7 +1347,7 @@ void GLRenderer::ensureFramebuffer()
void GLRenderer::onContextLost()
{
- m_client->didLoseContext();
+ m_client->didLoseOutputSurface();
}

Powered by Google App Engine
This is Rietveld 408576698