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 | 5 |
6 #ifndef FrameBufferSkPictureCanvasLayerTextureUpdater_h | 6 #ifndef FrameBufferSkPictureCanvasLayerTextureUpdater_h |
7 #define FrameBufferSkPictureCanvasLayerTextureUpdater_h | 7 #define FrameBufferSkPictureCanvasLayerTextureUpdater_h |
8 | 8 |
9 #include "cc/skpicture_canvas_layer_texture_updater.h" | 9 #include "cc/skpicture_canvas_layer_texture_updater.h" |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 private: | 25 private: |
26 FrameBufferSkPictureCanvasLayerTextureUpdater* textureUpdater() { return
m_textureUpdater; } | 26 FrameBufferSkPictureCanvasLayerTextureUpdater* textureUpdater() { return
m_textureUpdater; } |
27 | 27 |
28 FrameBufferSkPictureCanvasLayerTextureUpdater* m_textureUpdater; | 28 FrameBufferSkPictureCanvasLayerTextureUpdater* m_textureUpdater; |
29 }; | 29 }; |
30 | 30 |
31 static scoped_refptr<FrameBufferSkPictureCanvasLayerTextureUpdater> create(s
coped_ptr<LayerPainterChromium>); | 31 static scoped_refptr<FrameBufferSkPictureCanvasLayerTextureUpdater> create(s
coped_ptr<LayerPainterChromium>); |
32 | 32 |
33 virtual scoped_ptr<LayerTextureUpdater::Texture> createTexture(CCPrioritized
TextureManager*) OVERRIDE; | 33 virtual scoped_ptr<LayerTextureUpdater::Texture> createTexture(CCPrioritized
TextureManager*) OVERRIDE; |
34 virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat) OVERRI
DE; | 34 virtual SampledTexelFormat sampledTexelFormat(GLenum textureFormat) OVERRIDE
; |
35 | 35 |
36 private: | 36 private: |
37 explicit FrameBufferSkPictureCanvasLayerTextureUpdater(scoped_ptr<LayerPaint
erChromium>); | 37 explicit FrameBufferSkPictureCanvasLayerTextureUpdater(scoped_ptr<LayerPaint
erChromium>); |
38 virtual ~FrameBufferSkPictureCanvasLayerTextureUpdater(); | 38 virtual ~FrameBufferSkPictureCanvasLayerTextureUpdater(); |
39 }; | 39 }; |
40 } // namespace cc | 40 } // namespace cc |
41 #endif // FrameBufferSkPictureCanvasLayerTextureUpdater_h | 41 #endif // FrameBufferSkPictureCanvasLayerTextureUpdater_h |
OLD | NEW |