| 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" | |
| 6 | |
| 7 #include "cc/io_surface_layer_impl.h" | 5 #include "cc/io_surface_layer_impl.h" |
| 8 | 6 |
| 9 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 10 #include "cc/gl_renderer.h" // For the GLC() macro. | 8 #include "cc/gl_renderer.h" // For the GLC() macro. |
| 11 #include "cc/graphics_context.h" | 9 #include "cc/graphics_context.h" |
| 12 #include "cc/io_surface_draw_quad.h" | 10 #include "cc/io_surface_draw_quad.h" |
| 13 #include "cc/layer_tree_host_impl.h" | 11 #include "cc/layer_tree_host_impl.h" |
| 14 #include "cc/quad_sink.h" | 12 #include "cc/quad_sink.h" |
| 15 #include "third_party/khronos/GLES2/gl2.h" | 13 #include "third_party/khronos/GLES2/gl2.h" |
| 16 #include "third_party/khronos/GLES2/gl2ext.h" | 14 #include "third_party/khronos/GLES2/gl2ext.h" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 m_ioSurfaceId = ioSurfaceId; | 104 m_ioSurfaceId = ioSurfaceId; |
| 107 m_ioSurfaceSize = size; | 105 m_ioSurfaceSize = size; |
| 108 } | 106 } |
| 109 | 107 |
| 110 const char* IOSurfaceLayerImpl::layerTypeAsString() const | 108 const char* IOSurfaceLayerImpl::layerTypeAsString() const |
| 111 { | 109 { |
| 112 return "IOSurfaceLayer"; | 110 return "IOSurfaceLayer"; |
| 113 } | 111 } |
| 114 | 112 |
| 115 } // namespace cc | 113 } // namespace cc |
| OLD | NEW |