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

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: rebase 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 e02eb4b6f365dba4289c07d4b990c1d538fe53ef..e6253626ba0a612a41b3190ef762aea31a3e9d86 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.
@@ -1353,7 +1350,7 @@ void GLRenderer::ensureFramebuffer()
void GLRenderer::onContextLost()
{
- m_client->didLoseContext();
+ m_client->didLoseOutputSurface();
}
« no previous file with comments | « cc/gl_renderer.h ('k') | cc/gl_renderer_unittest.cc » ('j') | cc/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698