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

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

Issue 994833002: Remove unused references to included header files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/heads_up_display_layer_impl.cc ('k') | cc/layers/tiled_layer.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 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 #include "cc/layers/io_surface_layer_impl.h" 5 #include "cc/layers/io_surface_layer_impl.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "cc/output/gl_renderer.h" // For the GLC() macro.
9 #include "cc/output/output_surface.h" 8 #include "cc/output/output_surface.h"
10 #include "cc/quads/io_surface_draw_quad.h" 9 #include "cc/quads/io_surface_draw_quad.h"
11 #include "cc/trees/layer_tree_impl.h" 10 #include "cc/trees/layer_tree_impl.h"
12 #include "cc/trees/occlusion.h" 11 #include "cc/trees/occlusion.h"
13 #include "gpu/GLES2/gl2extchromium.h"
14 #include "gpu/command_buffer/client/gles2_interface.h"
15 #include "third_party/khronos/GLES2/gl2.h"
16 #include "third_party/khronos/GLES2/gl2ext.h"
17 12
18 namespace cc { 13 namespace cc {
19 14
20 IOSurfaceLayerImpl::IOSurfaceLayerImpl(LayerTreeImpl* tree_impl, int id) 15 IOSurfaceLayerImpl::IOSurfaceLayerImpl(LayerTreeImpl* tree_impl, int id)
21 : LayerImpl(tree_impl, id), 16 : LayerImpl(tree_impl, id),
22 io_surface_id_(0), 17 io_surface_id_(0),
23 io_surface_changed_(false), 18 io_surface_changed_(false),
24 io_surface_resource_id_(0) {} 19 io_surface_resource_id_(0) {}
25 20
26 IOSurfaceLayerImpl::~IOSurfaceLayerImpl() { 21 IOSurfaceLayerImpl::~IOSurfaceLayerImpl() {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 102
108 io_surface_id_ = io_surface_id; 103 io_surface_id_ = io_surface_id;
109 io_surface_size_ = size; 104 io_surface_size_ = size;
110 } 105 }
111 106
112 const char* IOSurfaceLayerImpl::LayerTypeAsString() const { 107 const char* IOSurfaceLayerImpl::LayerTypeAsString() const {
113 return "cc::IOSurfaceLayerImpl"; 108 return "cc::IOSurfaceLayerImpl";
114 } 109 }
115 110
116 } // namespace cc 111 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/heads_up_display_layer_impl.cc ('k') | cc/layers/tiled_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698