| OLD | NEW |
| 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 "config.h" | |
| 6 | |
| 7 #include "cc/texture_layer_impl.h" | 5 #include "cc/texture_layer_impl.h" |
| 8 | 6 |
| 9 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 10 #include "cc/quad_sink.h" | 8 #include "cc/quad_sink.h" |
| 11 #include "cc/renderer.h" | 9 #include "cc/renderer.h" |
| 12 #include "cc/texture_draw_quad.h" | 10 #include "cc/texture_draw_quad.h" |
| 13 | 11 |
| 14 namespace cc { | 12 namespace cc { |
| 15 | 13 |
| 16 TextureLayerImpl::TextureLayerImpl(int id) | 14 TextureLayerImpl::TextureLayerImpl(int id) |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 m_textureId = 0; | 69 m_textureId = 0; |
| 72 m_externalTextureResource = 0; | 70 m_externalTextureResource = 0; |
| 73 } | 71 } |
| 74 | 72 |
| 75 const char* TextureLayerImpl::layerTypeAsString() const | 73 const char* TextureLayerImpl::layerTypeAsString() const |
| 76 { | 74 { |
| 77 return "TextureLayer"; | 75 return "TextureLayer"; |
| 78 } | 76 } |
| 79 | 77 |
| 80 } // namespace cc | 78 } // namespace cc |
| OLD | NEW |