| 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 "cc/texture_layer_impl.h" | 5 #include "cc/texture_layer_impl.h" |
| 6 | 6 |
| 7 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 8 #include "cc/quad_sink.h" | 8 #include "cc/quad_sink.h" |
| 9 #include "cc/renderer.h" | 9 #include "cc/renderer.h" |
| 10 #include "cc/texture_draw_quad.h" | 10 #include "cc/texture_draw_quad.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 { | 87 { |
| 88 m_textureId = 0; | 88 m_textureId = 0; |
| 89 m_externalTextureResource = 0; | 89 m_externalTextureResource = 0; |
| 90 } | 90 } |
| 91 | 91 |
| 92 const char* TextureLayerImpl::layerTypeAsString() const | 92 const char* TextureLayerImpl::layerTypeAsString() const |
| 93 { | 93 { |
| 94 return "TextureLayer"; | 94 return "TextureLayer"; |
| 95 } | 95 } |
| 96 | 96 |
| 97 bool TextureLayerImpl::canClipSelf() const |
| 98 { |
| 99 return true; |
| 100 } |
| 101 |
| 97 } // namespace cc | 102 } // namespace cc |
| OLD | NEW |