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

Side by Side Diff: cc/CCTiledLayerImpl.cpp

Issue 10989028: cc: Remove WebCore dependecies from CCRenderPass and CCDrawQuad classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 #include "config.h" 5 #include "config.h"
6 6
7 #if USE(ACCELERATED_COMPOSITING) 7 #if USE(ACCELERATED_COMPOSITING)
8 8
9 #include "CCTiledLayerImpl.h" 9 #include "CCTiledLayerImpl.h"
10 10
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "CCAppendQuadsData.h" 12 #include "CCAppendQuadsData.h"
13 #include "CCCheckerboardDrawQuad.h" 13 #include "CCCheckerboardDrawQuad.h"
14 #include "CCDebugBorderDrawQuad.h" 14 #include "CCDebugBorderDrawQuad.h"
15 #include "CCLayerTilingData.h" 15 #include "CCLayerTilingData.h"
16 #include "CCMathUtil.h" 16 #include "CCMathUtil.h"
17 #include "CCQuadSink.h" 17 #include "CCQuadSink.h"
18 #include "CCSolidColorDrawQuad.h" 18 #include "CCSolidColorDrawQuad.h"
19 #include "CCTileDrawQuad.h" 19 #include "CCTileDrawQuad.h"
20 #include "FloatPoint.h"
20 #include "FloatQuad.h" 21 #include "FloatQuad.h"
21 #include "GraphicsContext3D.h" 22 #include "GraphicsContext3D.h"
23 #include "IntSize.h"
22 #include "SkColor.h" 24 #include "SkColor.h"
23 25
24 using namespace std; 26 using namespace std;
25 using WebKit::WebTransformationMatrix; 27 using WebKit::WebTransformationMatrix;
26 28
27 namespace cc { 29 namespace cc {
28 30
29 static const int debugTileBorderWidth = 1; 31 static const int debugTileBorderWidth = 1;
30 static const int debugTileBorderAlpha = 100; 32 static const int debugTileBorderAlpha = 100;
31 static const int debugTileBorderColorRed = 80; 33 static const int debugTileBorderColorRed = 80;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 } 215 }
214 216
215 const char* CCTiledLayerImpl::layerTypeAsString() const 217 const char* CCTiledLayerImpl::layerTypeAsString() const
216 { 218 {
217 return "ContentLayer"; 219 return "ContentLayer";
218 } 220 }
219 221
220 } // namespace cc 222 } // namespace cc
221 223
222 #endif // USE(ACCELERATED_COMPOSITING) 224 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/CCTileDrawQuad.cpp ('k') | cc/CCYUVVideoDrawQuad.h » ('j') | cc/scoped_ptr_hash_map.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698