OLD | NEW |
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 "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "CCIOSurfaceLayerImpl.h" | 7 #include "cc/io_surface_layer_impl.h" |
8 | 8 |
9 #include "CCGraphicsContext.h" | 9 #include "CCGraphicsContext.h" |
10 #include "CCIOSurfaceDrawQuad.h" | |
11 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
12 #include "cc/gl_renderer.h" // For the GLC() macro. | 11 #include "cc/gl_renderer.h" // For the GLC() macro. |
| 12 #include "cc/io_surface_draw_quad.h" |
13 #include "cc/layer_tree_host_impl.h" | 13 #include "cc/layer_tree_host_impl.h" |
14 #include "cc/quad_sink.h" | 14 #include "cc/quad_sink.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 #include <public/WebGraphicsContext3D.h> | 17 #include <public/WebGraphicsContext3D.h> |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 | 20 |
21 CCIOSurfaceLayerImpl::CCIOSurfaceLayerImpl(int id) | 21 CCIOSurfaceLayerImpl::CCIOSurfaceLayerImpl(int id) |
22 : CCLayerImpl(id) | 22 : CCLayerImpl(id) |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 m_ioSurfaceId = ioSurfaceId; | 106 m_ioSurfaceId = ioSurfaceId; |
107 m_ioSurfaceSize = size; | 107 m_ioSurfaceSize = size; |
108 } | 108 } |
109 | 109 |
110 const char* CCIOSurfaceLayerImpl::layerTypeAsString() const | 110 const char* CCIOSurfaceLayerImpl::layerTypeAsString() const |
111 { | 111 { |
112 return "IOSurfaceLayer"; | 112 return "IOSurfaceLayer"; |
113 } | 113 } |
114 | 114 |
115 } | 115 } |
OLD | NEW |