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

Side by Side Diff: cc/CCRenderPass.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 CCRenderPass_h 5 #ifndef CCRenderPass_h
6 #define CCRenderPass_h 6 #define CCRenderPass_h
7 7
8 #include "CCDrawQuad.h" 8 #include "CCDrawQuad.h"
9 #include "CCOcclusionTracker.h" 9 #include "CCOcclusionTracker.h"
10 #include "CCSharedQuadState.h" 10 #include "CCSharedQuadState.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void setFilters(const WebKit::WebFilterOperations& filters) { m_filters = fi lters; } 81 void setFilters(const WebKit::WebFilterOperations& filters) { m_filters = fi lters; }
82 82
83 const WebKit::WebFilterOperations& backgroundFilters() const { return m_back groundFilters; } 83 const WebKit::WebFilterOperations& backgroundFilters() const { return m_back groundFilters; }
84 void setBackgroundFilters(const WebKit::WebFilterOperations& filters) { m_ba ckgroundFilters = filters; } 84 void setBackgroundFilters(const WebKit::WebFilterOperations& filters) { m_ba ckgroundFilters = filters; }
85 85
86 bool hasTransparentBackground() const { return m_hasTransparentBackground; } 86 bool hasTransparentBackground() const { return m_hasTransparentBackground; }
87 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; } 87 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; }
88 88
89 bool hasOcclusionFromOutsideTargetSurface() const { return m_hasOcclusionFro mOutsideTargetSurface; } 89 bool hasOcclusionFromOutsideTargetSurface() const { return m_hasOcclusionFro mOutsideTargetSurface; }
90 void setHasOcclusionFromOutsideTargetSurface(bool hasOcclusionFromOutsideTar getSurface) { m_hasOcclusionFromOutsideTargetSurface = hasOcclusionFromOutsideTa rgetSurface; } 90 void setHasOcclusionFromOutsideTargetSurface(bool hasOcclusionFromOutsideTar getSurface) { m_hasOcclusionFromOutsideTargetSurface = hasOcclusionFromOutsideTa rgetSurface; }
91 const CCSharedQuadStateList& sharedQuadStateList() const { return m_sharedQu adStateList; }
danakj 2012/09/21 20:51:41 nit: move this up by quadList()?
91 protected: 92 protected:
92 CCRenderPass(Id, IntRect outputRect, const WebKit::WebTransformationMatrix& transformToRootTarget); 93 CCRenderPass(Id, IntRect outputRect, const WebKit::WebTransformationMatrix& transformToRootTarget);
93 94
94 Id m_id; 95 Id m_id;
95 CCQuadList m_quadList; 96 CCQuadList m_quadList;
96 CCSharedQuadStateList m_sharedQuadStateList; 97 CCSharedQuadStateList m_sharedQuadStateList;
97 WebKit::WebTransformationMatrix m_transformToRootTarget; 98 WebKit::WebTransformationMatrix m_transformToRootTarget;
98 IntRect m_outputRect; 99 IntRect m_outputRect;
99 FloatRect m_damageRect; 100 FloatRect m_damageRect;
100 bool m_hasTransparentBackground; 101 bool m_hasTransparentBackground;
(...skipping 21 matching lines...) Expand all
122 typedef IntHash<WebCore::CCRenderPass::Id> Hash; 123 typedef IntHash<WebCore::CCRenderPass::Id> Hash;
123 }; 124 };
124 } // namespace WTF 125 } // namespace WTF
125 126
126 namespace WebCore { 127 namespace WebCore {
127 typedef Vector<CCRenderPass*> CCRenderPassList; 128 typedef Vector<CCRenderPass*> CCRenderPassList;
128 typedef HashMap<CCRenderPass::Id, OwnPtr<CCRenderPass> > CCRenderPassIdHashMap; 129 typedef HashMap<CCRenderPass::Id, OwnPtr<CCRenderPass> > CCRenderPassIdHashMap;
129 } // namespace WebCore 130 } // namespace WebCore
130 131
131 #endif 132 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698