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

Side by Side Diff: cc/io_surface_layer_impl.cc

Issue 12912006: Part 4 of cc/ directory shuffles: output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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/io_surface_layer_impl.h" 5 #include "cc/io_surface_layer_impl.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "cc/gl_renderer.h" // For the GLC() macro.
9 #include "cc/io_surface_draw_quad.h" 8 #include "cc/io_surface_draw_quad.h"
10 #include "cc/layer_tree_impl.h" 9 #include "cc/layer_tree_impl.h"
11 #include "cc/output_surface.h" 10 #include "cc/output/gl_renderer.h" // For the GLC() macro.
11 #include "cc/output/output_surface.h"
12 #include "cc/quad_sink.h" 12 #include "cc/quad_sink.h"
13 #include "gpu/GLES2/gl2extchromium.h" 13 #include "gpu/GLES2/gl2extchromium.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h"
15 #include "third_party/khronos/GLES2/gl2.h" 15 #include "third_party/khronos/GLES2/gl2.h"
16 #include "third_party/khronos/GLES2/gl2ext.h" 16 #include "third_party/khronos/GLES2/gl2ext.h"
17 17
18 namespace cc { 18 namespace cc {
19 19
20 IOSurfaceLayerImpl::IOSurfaceLayerImpl(LayerTreeImpl* tree_impl, int id) 20 IOSurfaceLayerImpl::IOSurfaceLayerImpl(LayerTreeImpl* tree_impl, int id)
21 : LayerImpl(tree_impl, id), 21 : LayerImpl(tree_impl, id),
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 io_surface_id_ = io_surface_id; 137 io_surface_id_ = io_surface_id;
138 io_surface_size_ = size; 138 io_surface_size_ = size;
139 } 139 }
140 140
141 const char* IOSurfaceLayerImpl::LayerTypeAsString() const { 141 const char* IOSurfaceLayerImpl::LayerTypeAsString() const {
142 return "IOSurfaceLayer"; 142 return "IOSurfaceLayer";
143 } 143 }
144 144
145 } // namespace cc 145 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698