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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: correct base 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
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual const IntSize& deviceViewportSize() const OVERRIDE { return m_device ViewportSize; } 92 virtual const IntSize& deviceViewportSize() const OVERRIDE { return m_device ViewportSize; }
93 virtual const CCLayerTreeSettings& settings() const OVERRIDE { return m_sett ings; } 93 virtual const CCLayerTreeSettings& settings() const OVERRIDE { return m_sett ings; }
94 virtual void didLoseContext() OVERRIDE; 94 virtual void didLoseContext() OVERRIDE;
95 virtual void onSwapBuffersComplete() OVERRIDE; 95 virtual void onSwapBuffersComplete() OVERRIDE;
96 virtual void setFullRootLayerDamage() OVERRIDE; 96 virtual void setFullRootLayerDamage() OVERRIDE;
97 virtual void releaseContentsTextures() OVERRIDE; 97 virtual void releaseContentsTextures() OVERRIDE;
98 virtual void setMemoryAllocationLimitBytes(size_t) OVERRIDE; 98 virtual void setMemoryAllocationLimitBytes(size_t) OVERRIDE;
99 99
100 // WebCompositorOutputSurfaceClient implementation. 100 // WebCompositorOutputSurfaceClient implementation.
101 virtual void onVSyncParametersChanged(double monotonicTimebase, double inter valInSeconds) OVERRIDE; 101 virtual void onVSyncParametersChanged(double monotonicTimebase, double inter valInSeconds) OVERRIDE;
102 virtual void onSendFrameToParentCompositorAck(const WebKit::WebCompositorFra meAck&) OVERRIDE;
102 103
103 // Implementation 104 // Implementation
104 bool canDraw(); 105 bool canDraw();
105 CCGraphicsContext* context() const; 106 CCGraphicsContext* context() const;
106 107
107 std::string layerTreeAsText() const; 108 std::string layerTreeAsText() const;
108 109
109 void finishAllRendering(); 110 void finishAllRendering();
110 int sourceAnimationFrameNumber() const; 111 int sourceAnimationFrameNumber() const;
111 112
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // rendering and input event hit testing. 286 // rendering and input event hit testing.
286 CCLayerList m_renderSurfaceLayerList; 287 CCLayerList m_renderSurfaceLayerList;
287 288
288 OwnPtr<CCFrameRateCounter> m_fpsCounter; 289 OwnPtr<CCFrameRateCounter> m_fpsCounter;
289 OwnPtr<CCDebugRectHistory> m_debugRectHistory; 290 OwnPtr<CCDebugRectHistory> m_debugRectHistory;
290 }; 291 };
291 292
292 }; 293 };
293 294
294 #endif 295 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698