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

Side by Side Diff: cc/CCRenderSurface.h

Issue 10879109: Update libcc / bindings snapshot to WebKit r126830 (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 | « cc/CCRenderPassSink.h ('k') | cc/CCRenderSurface.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 5
6 #ifndef CCRenderSurface_h 6 #ifndef CCRenderSurface_h
7 #define CCRenderSurface_h 7 #define CCRenderSurface_h
8 8
9 #if USE(ACCELERATED_COMPOSITING) 9 #if USE(ACCELERATED_COMPOSITING)
10 10
11 #include "CCSharedQuadState.h" 11 #include "CCSharedQuadState.h"
12 #include "FloatRect.h" 12 #include "FloatRect.h"
13 #include "IntRect.h" 13 #include "IntRect.h"
14 #include <public/WebTransformationMatrix.h> 14 #include <public/WebTransformationMatrix.h>
15 #include <wtf/Noncopyable.h> 15 #include <wtf/Noncopyable.h>
16 #include <wtf/text/WTFString.h> 16 #include <wtf/text/WTFString.h>
17 17
18 namespace WebCore { 18 namespace WebCore {
19 19
20 class CCDamageTracker; 20 class CCDamageTracker;
21 class CCQuadSink; 21 class CCQuadSink;
22 class CCRenderPass; 22 class CCRenderPass;
23 class CCRenderPassSink;
23 class CCLayerImpl; 24 class CCLayerImpl;
24 class TextStream; 25 class TextStream;
25 26
26 class CCRenderSurface { 27 class CCRenderSurface {
27 WTF_MAKE_NONCOPYABLE(CCRenderSurface); 28 WTF_MAKE_NONCOPYABLE(CCRenderSurface);
28 public: 29 public:
29 explicit CCRenderSurface(CCLayerImpl*); 30 explicit CCRenderSurface(CCLayerImpl*);
30 virtual ~CCRenderSurface(); 31 virtual ~CCRenderSurface();
31 32
32 String name() const; 33 String name() const;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 Vector<CCLayerImpl*>& layerList() { return m_layerList; } 76 Vector<CCLayerImpl*>& layerList() { return m_layerList; }
76 77
77 int owningLayerId() const; 78 int owningLayerId() const;
78 79
79 void resetPropertyChangedFlag() { m_surfacePropertyChanged = false; } 80 void resetPropertyChangedFlag() { m_surfacePropertyChanged = false; }
80 bool surfacePropertyChanged() const; 81 bool surfacePropertyChanged() const;
81 bool surfacePropertyChangedOnlyFromDescendant() const; 82 bool surfacePropertyChangedOnlyFromDescendant() const;
82 83
83 CCDamageTracker* damageTracker() const { return m_damageTracker.get(); } 84 CCDamageTracker* damageTracker() const { return m_damageTracker.get(); }
84 85
86 void appendRenderPasses(CCRenderPassSink&);
85 void appendQuads(CCQuadSink&, bool forReplica, int renderPassId); 87 void appendQuads(CCQuadSink&, bool forReplica, int renderPassId);
86 88
87 private: 89 private:
88 CCLayerImpl* m_owningLayer; 90 CCLayerImpl* m_owningLayer;
89 91
90 // Uses this surface's space. 92 // Uses this surface's space.
91 IntRect m_contentRect; 93 IntRect m_contentRect;
92 bool m_surfacePropertyChanged; 94 bool m_surfacePropertyChanged;
93 95
94 float m_drawOpacity; 96 float m_drawOpacity;
(...skipping 20 matching lines...) Expand all
115 int m_targetRenderSurfaceLayerIndexHistory; 117 int m_targetRenderSurfaceLayerIndexHistory;
116 int m_currentLayerIndexHistory; 118 int m_currentLayerIndexHistory;
117 119
118 friend struct CCLayerIteratorActions; 120 friend struct CCLayerIteratorActions;
119 }; 121 };
120 122
121 } 123 }
122 #endif // USE(ACCELERATED_COMPOSITING) 124 #endif // USE(ACCELERATED_COMPOSITING)
123 125
124 #endif 126 #endif
OLDNEW
« no previous file with comments | « cc/CCRenderPassSink.h ('k') | cc/CCRenderSurface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698