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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

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

Powered by Google App Engine
This is Rietveld 408576698