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

Unified Diff: cc/layer_tree_host_impl.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/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.h
===================================================================
--- cc/layer_tree_host_impl.h (revision 171405)
+++ cc/layer_tree_host_impl.h (working copy)
@@ -37,7 +37,7 @@
// LayerTreeHost->Proxy callback interface.
class LayerTreeHostImplClient {
public:
- virtual void didLoseOutputSurfaceOnImplThread() = 0;
+ virtual void didLoseContextOnImplThread() = 0;
virtual void onSwapBuffersCompleteOnImplThread() = 0;
virtual void onVSyncParametersChanged(base::TimeTicks timebase, base::TimeDelta interval) = 0;
virtual void onCanDrawStateChanged(bool canDraw) = 0;
@@ -165,7 +165,7 @@
// RendererClient implementation
virtual const gfx::Size& deviceViewportSize() const OVERRIDE;
virtual const LayerTreeSettings& settings() const OVERRIDE;
- virtual void didLoseOutputSurface() OVERRIDE;
+ virtual void didLoseContext() OVERRIDE;
virtual void onSwapBuffersComplete() OVERRIDE;
virtual void setFullRootLayerDamage() OVERRIDE;
virtual void setManagedMemoryPolicy(const ManagedMemoryPolicy& policy) OVERRIDE;
@@ -181,14 +181,14 @@
// Implementation
bool canDraw();
- OutputSurface* outputSurface() const;
+ GraphicsContext* context() const;
std::string layerTreeAsText() const;
void finishAllRendering();
int sourceAnimationFrameNumber() const;
- bool initializeRenderer(scoped_ptr<OutputSurface>);
+ bool initializeRenderer(scoped_ptr<GraphicsContext>);
bool isContextLost();
TileManager* tileManager() { return m_tileManager.get(); }
Renderer* renderer() { return m_renderer.get(); }
@@ -324,7 +324,7 @@
void setBackgroundTickingEnabled(bool);
gfx::Size contentSize() const;
- void sendDidLoseOutputSurfaceRecursive(LayerImpl*);
+ void sendDidLoseContextRecursive(LayerImpl*);
void clearRenderSurfaces();
bool ensureRenderSurfaceLayerList();
void clearCurrentlyScrollingLayer();
@@ -333,7 +333,7 @@
void dumpRenderSurfaces(std::string*, int indent, const LayerImpl*) const;
- scoped_ptr<OutputSurface> m_outputSurface;
+ scoped_ptr<GraphicsContext> m_context;
scoped_ptr<ResourceProvider> m_resourceProvider;
scoped_ptr<Renderer> m_renderer;
scoped_ptr<TileManager> m_tileManager;
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698