| 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 #ifndef WebExternalTextureLayerImpl_h | 5 #ifndef WebExternalTextureLayerImpl_h |
| 6 #define WebExternalTextureLayerImpl_h | 6 #define WebExternalTextureLayerImpl_h |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/texture_layer_client.h" | 9 #include "cc/texture_layer_client.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL
ayer.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL
ayer.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 virtual WebLayer* layer() OVERRIDE; | 23 virtual WebLayer* layer() OVERRIDE; |
| 24 virtual void setTextureId(unsigned) OVERRIDE; | 24 virtual void setTextureId(unsigned) OVERRIDE; |
| 25 virtual void setFlipped(bool) OVERRIDE; | 25 virtual void setFlipped(bool) OVERRIDE; |
| 26 virtual void setUVRect(const WebFloatRect&) OVERRIDE; | 26 virtual void setUVRect(const WebFloatRect&) OVERRIDE; |
| 27 virtual void setOpaque(bool) OVERRIDE; | 27 virtual void setOpaque(bool) OVERRIDE; |
| 28 virtual void setPremultipliedAlpha(bool) OVERRIDE; | 28 virtual void setPremultipliedAlpha(bool) OVERRIDE; |
| 29 virtual void willModifyTexture() OVERRIDE; | 29 virtual void willModifyTexture() OVERRIDE; |
| 30 virtual void setRateLimitContext(bool) OVERRIDE; | 30 virtual void setRateLimitContext(bool) OVERRIDE; |
| 31 | 31 |
| 32 // TextureLayerClient implementation. | 32 // TextureLayerClient implementation. |
| 33 virtual unsigned prepareTexture(cc::TextureUpdateQueue&) OVERRIDE; | 33 virtual unsigned prepareTexture(cc::ResourceUpdateQueue&) OVERRIDE; |
| 34 virtual WebGraphicsContext3D* context() OVERRIDE; | 34 virtual WebGraphicsContext3D* context() OVERRIDE; |
| 35 | 35 |
| 36 private: | 36 private: |
| 37 WebExternalTextureLayerClient* m_client; | 37 WebExternalTextureLayerClient* m_client; |
| 38 scoped_ptr<WebLayerImpl> m_layer; | 38 scoped_ptr<WebLayerImpl> m_layer; |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } | 41 } |
| 42 | 42 |
| 43 #endif // WebExternalTextureLayerImpl_h | 43 #endif // WebExternalTextureLayerImpl_h |
| OLD | NEW |