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

Side by Side Diff: cc/layers/tiled_layer_impl.cc

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 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
« no previous file with comments | « cc/layers/tiled_layer.cc ('k') | cc/layers/tiled_layer_unittest.cc » ('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 #include "cc/layers/tiled_layer_impl.h" 5 #include "cc/layers/tiled_layer_impl.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/debug/trace_event_argument.h" 8 #include "base/debug/trace_event_argument.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "cc/base/math_util.h" 10 #include "cc/base/math_util.h"
11 #include "cc/base/simple_enclosed_region.h" 11 #include "cc/base/simple_enclosed_region.h"
12 #include "cc/debug/debug_colors.h" 12 #include "cc/debug/debug_colors.h"
13 #include "cc/layers/append_quads_data.h" 13 #include "cc/layers/append_quads_data.h"
14 #include "cc/quads/checkerboard_draw_quad.h" 14 #include "cc/quads/checkerboard_draw_quad.h"
15 #include "cc/quads/debug_border_draw_quad.h" 15 #include "cc/quads/debug_border_draw_quad.h"
16 #include "cc/quads/solid_color_draw_quad.h" 16 #include "cc/quads/solid_color_draw_quad.h"
17 #include "cc/quads/tile_draw_quad.h" 17 #include "cc/quads/tile_draw_quad.h"
18 #include "cc/resources/layer_tiling_data.h" 18 #include "cc/resources/layer_tiling_data.h"
19 #include "cc/trees/occlusion.h" 19 #include "cc/trees/occlusion.h"
20 #include "third_party/khronos/GLES2/gl2.h" 20 #include "third_party/khronos/GLES2/gl2.h"
21 #include "third_party/skia/include/core/SkColor.h" 21 #include "third_party/skia/include/core/SkColor.h"
22 #include "ui/gfx/quad_f.h" 22 #include "ui/gfx/geometry/quad_f.h"
23 23
24 namespace cc { 24 namespace cc {
25 25
26 class DrawableTile : public LayerTilingData::Tile { 26 class DrawableTile : public LayerTilingData::Tile {
27 public: 27 public:
28 static scoped_ptr<DrawableTile> Create() { 28 static scoped_ptr<DrawableTile> Create() {
29 return make_scoped_ptr(new DrawableTile()); 29 return make_scoped_ptr(new DrawableTile());
30 } 30 }
31 31
32 ResourceProvider::ResourceId resource_id() const { return resource_id_; } 32 ResourceProvider::ResourceId resource_id() const { return resource_id_; }
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 307
308 void TiledLayerImpl::ReleaseResources() { 308 void TiledLayerImpl::ReleaseResources() {
309 tiler_->reset(); 309 tiler_->reset();
310 } 310 }
311 311
312 const char* TiledLayerImpl::LayerTypeAsString() const { 312 const char* TiledLayerImpl::LayerTypeAsString() const {
313 return "cc::TiledLayerImpl"; 313 return "cc::TiledLayerImpl";
314 } 314 }
315 315
316 } // namespace cc 316 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/tiled_layer.cc ('k') | cc/layers/tiled_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698