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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 10961008: cc: Remove TextureUploaderOption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | cc/CCLayerTreeHostImpl.cpp » ('j') | cc/CCResourceProvider.cpp » ('J')
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // Implementation 104 // Implementation
105 bool canDraw(); 105 bool canDraw();
106 CCGraphicsContext* context() const; 106 CCGraphicsContext* context() const;
107 107
108 std::string layerTreeAsText() const; 108 std::string layerTreeAsText() const;
109 109
110 void finishAllRendering(); 110 void finishAllRendering();
111 int sourceAnimationFrameNumber() const; 111 int sourceAnimationFrameNumber() const;
112 112
113 bool initializeRenderer(PassOwnPtr<CCGraphicsContext>, TextureUploaderOption ); 113 bool initializeRenderer(PassOwnPtr<CCGraphicsContext>);
114 bool isContextLost(); 114 bool isContextLost();
115 CCRenderer* renderer() { return m_renderer.get(); } 115 CCRenderer* renderer() { return m_renderer.get(); }
116 const RendererCapabilities& rendererCapabilities() const; 116 const RendererCapabilities& rendererCapabilities() const;
117 117
118 bool swapBuffers(); 118 bool swapBuffers();
119 119
120 void readback(void* pixels, const IntRect&); 120 void readback(void* pixels, const IntRect&);
121 121
122 void setRootLayer(PassOwnPtr<CCLayerImpl>); 122 void setRootLayer(PassOwnPtr<CCLayerImpl>);
123 CCLayerImpl* rootLayer() { return m_rootLayerImpl.get(); } 123 CCLayerImpl* rootLayer() { return m_rootLayerImpl.get(); }
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // rendering and input event hit testing. 287 // rendering and input event hit testing.
288 CCLayerList m_renderSurfaceLayerList; 288 CCLayerList m_renderSurfaceLayerList;
289 289
290 OwnPtr<CCFrameRateCounter> m_fpsCounter; 290 OwnPtr<CCFrameRateCounter> m_fpsCounter;
291 OwnPtr<CCDebugRectHistory> m_debugRectHistory; 291 OwnPtr<CCDebugRectHistory> m_debugRectHistory;
292 }; 292 };
293 293
294 }; 294 };
295 295
296 #endif 296 #endif
OLDNEW
« no previous file with comments | « no previous file | cc/CCLayerTreeHostImpl.cpp » ('j') | cc/CCResourceProvider.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698