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

Side by Side Diff: cc/CCQuadCuller.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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/CCProxy.cpp ('k') | cc/CCQuadCuller.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 CCQuadCuller_h 5 #ifndef CCQuadCuller_h
6 #define CCQuadCuller_h 6 #define CCQuadCuller_h
7 7
8 #include "CCQuadSink.h" 8 #include "CCQuadSink.h"
9 #include "CCRenderPass.h" 9 #include "CCRenderPass.h"
10 10
11 namespace WebCore { 11 namespace cc {
12 class CCLayerImpl; 12 class CCLayerImpl;
13 class CCRenderSurface; 13 class CCRenderSurface;
14 template<typename LayerType, typename SurfaceType> 14 template<typename LayerType, typename SurfaceType>
15 class CCOcclusionTrackerBase; 15 class CCOcclusionTrackerBase;
16 16
17 class CCQuadCuller : public CCQuadSink { 17 class CCQuadCuller : public CCQuadSink {
18 public: 18 public:
19 CCQuadCuller(CCQuadList&, CCSharedQuadStateList&, CCLayerImpl*, const CCOccl usionTrackerBase<CCLayerImpl, CCRenderSurface>*, bool showCullingWithDebugBorder Quads, bool forSurface); 19 CCQuadCuller(CCQuadList&, CCSharedQuadStateList&, CCLayerImpl*, const CCOccl usionTrackerBase<CCLayerImpl, CCRenderSurface>*, bool showCullingWithDebugBorder Quads, bool forSurface);
20 virtual ~CCQuadCuller() { } 20 virtual ~CCQuadCuller() { }
21 21
22 // CCQuadSink implementation. 22 // CCQuadSink implementation.
23 virtual CCSharedQuadState* useSharedQuadState(PassOwnPtr<CCSharedQuadState>) OVERRIDE; 23 virtual CCSharedQuadState* useSharedQuadState(PassOwnPtr<CCSharedQuadState>) OVERRIDE;
24 virtual bool append(PassOwnPtr<CCDrawQuad>, CCAppendQuadsData&) OVERRIDE; 24 virtual bool append(PassOwnPtr<CCDrawQuad>, CCAppendQuadsData&) OVERRIDE;
25 25
26 private: 26 private:
27 CCQuadList& m_quadList; 27 CCQuadList& m_quadList;
28 CCSharedQuadStateList& m_sharedQuadStateList; 28 CCSharedQuadStateList& m_sharedQuadStateList;
29 CCSharedQuadState* m_currentSharedQuadState; 29 CCSharedQuadState* m_currentSharedQuadState;
30 CCLayerImpl* m_layer; 30 CCLayerImpl* m_layer;
31 const CCOcclusionTrackerBase<CCLayerImpl, CCRenderSurface>* m_occlusionTrack er; 31 const CCOcclusionTrackerBase<CCLayerImpl, CCRenderSurface>* m_occlusionTrack er;
32 bool m_showCullingWithDebugBorderQuads; 32 bool m_showCullingWithDebugBorderQuads;
33 bool m_forSurface; 33 bool m_forSurface;
34 }; 34 };
35 35
36 } 36 }
37 #endif // CCQuadCuller_h 37 #endif // CCQuadCuller_h
OLDNEW
« no previous file with comments | « cc/CCProxy.cpp ('k') | cc/CCQuadCuller.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698