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

Side by Side Diff: cc/tiled_layer_impl.cc

Issue 11519018: [cc] Make LayerImpls point at LayerTreeImpl instead of LTHI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 "cc/tiled_layer_impl.h" 5 #include "cc/tiled_layer_impl.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "cc/append_quads_data.h" 9 #include "cc/append_quads_data.h"
10 #include "cc/checkerboard_draw_quad.h" 10 #include "cc/checkerboard_draw_quad.h"
(...skipping 25 matching lines...) Expand all
36 DrawableTile() 36 DrawableTile()
37 : m_resourceId(0) 37 : m_resourceId(0)
38 , m_contentsSwizzled(false) { } 38 , m_contentsSwizzled(false) { }
39 39
40 ResourceProvider::ResourceId m_resourceId; 40 ResourceProvider::ResourceId m_resourceId;
41 bool m_contentsSwizzled; 41 bool m_contentsSwizzled;
42 42
43 DISALLOW_COPY_AND_ASSIGN(DrawableTile); 43 DISALLOW_COPY_AND_ASSIGN(DrawableTile);
44 }; 44 };
45 45
46 TiledLayerImpl::TiledLayerImpl(LayerTreeHostImpl* hostImpl, int id) 46 TiledLayerImpl::TiledLayerImpl(LayerTreeImpl* treeImpl, int id)
47 : LayerImpl(hostImpl, id) 47 : LayerImpl(treeImpl, id)
48 , m_skipsDraw(true) 48 , m_skipsDraw(true)
49 { 49 {
50 } 50 }
51 51
52 TiledLayerImpl::~TiledLayerImpl() 52 TiledLayerImpl::~TiledLayerImpl()
53 { 53 {
54 } 54 }
55 55
56 ResourceProvider::ResourceId TiledLayerImpl::contentsResourceId() const 56 ResourceProvider::ResourceId TiledLayerImpl::contentsResourceId() const
57 { 57 {
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 { 242 {
243 m_tiler->reset(); 243 m_tiler->reset();
244 } 244 }
245 245
246 const char* TiledLayerImpl::layerTypeAsString() const 246 const char* TiledLayerImpl::layerTypeAsString() const
247 { 247 {
248 return "ContentLayer"; 248 return "ContentLayer";
249 } 249 }
250 250
251 } // namespace cc 251 } // namespace cc
OLDNEW
« cc/layer.h ('K') | « cc/tiled_layer_impl.h ('k') | cc/tiled_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698