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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 10961008: cc: Remove TextureUploaderOption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Settle for removing TextureUploaderOption in this CL. I'll figure out what to do with the uploader … Created 8 years, 3 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/CCDelegatedRendererLayerImplTest.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CCLayerTreeHostImpl_h 5 #ifndef CCLayerTreeHostImpl_h
6 #define CCLayerTreeHostImpl_h 6 #define CCLayerTreeHostImpl_h
7 7
8 #include "CCAnimationEvents.h" 8 #include "CCAnimationEvents.h"
9 #include "CCInputHandler.h" 9 #include "CCInputHandler.h"
10 #include "CCLayerSorter.h" 10 #include "CCLayerSorter.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 // Implementation 108 // Implementation
109 bool canDraw(); 109 bool canDraw();
110 CCGraphicsContext* context() const; 110 CCGraphicsContext* context() const;
111 111
112 std::string layerTreeAsText() const; 112 std::string layerTreeAsText() const;
113 113
114 void finishAllRendering(); 114 void finishAllRendering();
115 int sourceAnimationFrameNumber() const; 115 int sourceAnimationFrameNumber() const;
116 116
117 bool initializeRenderer(PassOwnPtr<CCGraphicsContext>, TextureUploaderOption ); 117 bool initializeRenderer(PassOwnPtr<CCGraphicsContext>);
118 bool isContextLost(); 118 bool isContextLost();
119 CCRenderer* renderer() { return m_renderer.get(); } 119 CCRenderer* renderer() { return m_renderer.get(); }
120 const RendererCapabilities& rendererCapabilities() const; 120 const RendererCapabilities& rendererCapabilities() const;
121 121
122 bool swapBuffers(); 122 bool swapBuffers();
123 123
124 void readback(void* pixels, const IntRect&); 124 void readback(void* pixels, const IntRect&);
125 125
126 void setRootLayer(PassOwnPtr<CCLayerImpl>); 126 void setRootLayer(PassOwnPtr<CCLayerImpl>);
127 CCLayerImpl* rootLayer() { return m_rootLayerImpl.get(); } 127 CCLayerImpl* rootLayer() { return m_rootLayerImpl.get(); }
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // rendering and input event hit testing. 291 // rendering and input event hit testing.
292 CCLayerList m_renderSurfaceLayerList; 292 CCLayerList m_renderSurfaceLayerList;
293 293
294 OwnPtr<CCFrameRateCounter> m_fpsCounter; 294 OwnPtr<CCFrameRateCounter> m_fpsCounter;
295 OwnPtr<CCDebugRectHistory> m_debugRectHistory; 295 OwnPtr<CCDebugRectHistory> m_debugRectHistory;
296 }; 296 };
297 297
298 }; 298 };
299 299
300 #endif 300 #endif
OLDNEW
« no previous file with comments | « cc/CCDelegatedRendererLayerImplTest.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698