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

Unified Diff: cc/proxy.h

Issue 11439026: Revert 171403 (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
« no previous file with comments | « cc/prioritized_resource_unittest.cc ('k') | cc/renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proxy.h
===================================================================
--- cc/proxy.h (revision 171405)
+++ cc/proxy.h (working copy)
@@ -55,7 +55,7 @@
// Attempts to initialize a context to use for rendering. Returns false if the context could not be created.
// The context will not be used and no frames may be produced until initializeRenderer() is called.
- virtual bool initializeOutputSurface() = 0;
+ virtual bool initializeContext() = 0;
// Indicates that the compositing surface associated with our context is ready to use.
virtual void setSurfaceReady() = 0;
@@ -67,7 +67,7 @@
// Attempts to recreate the context and layer renderer after a context lost. Returns false if the renderer couldn't be
// reinitialized.
- virtual bool recreateOutputSurface() = 0;
+ virtual bool recreateContext() = 0;
virtual void renderingStats(RenderingStats*) = 0;
@@ -98,7 +98,7 @@
virtual void acquireLayerTextures() = 0;
// Testing hooks
- virtual void loseOutputSurface() = 0;
+ virtual void loseContext() = 0;
protected:
explicit Proxy(scoped_ptr<Thread> implThread);
« no previous file with comments | « cc/prioritized_resource_unittest.cc ('k') | cc/renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698