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

Side by Side Diff: cc/CCTiledLayerImpl.h

Issue 10898023: Update cc snapshot to WK r126941 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
« no previous file with comments | « cc/CCThreadProxy.cpp ('k') | cc/CCTiledLayerImpl.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 CCTiledLayerImpl_h 5 #ifndef CCTiledLayerImpl_h
6 #define CCTiledLayerImpl_h 6 #define CCTiledLayerImpl_h
7 7
8 #include "CCLayerImpl.h" 8 #include "CCLayerImpl.h"
9 #include <public/WebTransformationMatrix.h> 9 #include <public/WebTransformationMatrix.h>
10 10
11 namespace WebCore { 11 namespace WebCore {
12 12
13 class CCLayerTilingData; 13 class CCLayerTilingData;
14 class DrawableTile; 14 class DrawableTile;
15 15
16 class CCTiledLayerImpl : public CCLayerImpl { 16 class CCTiledLayerImpl : public CCLayerImpl {
17 public: 17 public:
18 static PassOwnPtr<CCTiledLayerImpl> create(int id) 18 static PassOwnPtr<CCTiledLayerImpl> create(int id)
19 { 19 {
20 return adoptPtr(new CCTiledLayerImpl(id)); 20 return adoptPtr(new CCTiledLayerImpl(id));
21 } 21 }
22 virtual ~CCTiledLayerImpl(); 22 virtual ~CCTiledLayerImpl();
23 23
24 virtual void appendQuads(CCQuadSink&, bool& hadMissingTiles) OVERRIDE; 24 virtual void appendQuads(CCQuadSink&, CCAppendQuadsData&) OVERRIDE;
25 25
26 virtual CCResourceProvider::ResourceId contentsResourceId() const OVERRIDE; 26 virtual CCResourceProvider::ResourceId contentsResourceId() const OVERRIDE;
27 27
28 virtual void dumpLayerProperties(TextStream&, int indent) const OVERRIDE; 28 virtual void dumpLayerProperties(TextStream&, int indent) const OVERRIDE;
29 29
30 void setSkipsDraw(bool skipsDraw) { m_skipsDraw = skipsDraw; } 30 void setSkipsDraw(bool skipsDraw) { m_skipsDraw = skipsDraw; }
31 void setTilingData(const CCLayerTilingData& tiler); 31 void setTilingData(const CCLayerTilingData& tiler);
32 void pushTileProperties(int, int, CCResourceProvider::ResourceId, const IntR ect& opaqueRect); 32 void pushTileProperties(int, int, CCResourceProvider::ResourceId, const IntR ect& opaqueRect);
33 33
34 void setContentsSwizzled(bool contentsSwizzled) { m_contentsSwizzled = conte ntsSwizzled; } 34 void setContentsSwizzled(bool contentsSwizzled) { m_contentsSwizzled = conte ntsSwizzled; }
(...skipping 17 matching lines...) Expand all
52 52
53 bool m_skipsDraw; 53 bool m_skipsDraw;
54 bool m_contentsSwizzled; 54 bool m_contentsSwizzled;
55 55
56 OwnPtr<CCLayerTilingData> m_tiler; 56 OwnPtr<CCLayerTilingData> m_tiler;
57 }; 57 };
58 58
59 } 59 }
60 60
61 #endif // CCTiledLayerImpl_h 61 #endif // CCTiledLayerImpl_h
OLDNEW
« no previous file with comments | « cc/CCThreadProxy.cpp ('k') | cc/CCTiledLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698