Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Side by Side Diff: cc/frame_buffer_skpicture_canvas_layer_texture_updater.h

Issue 11144023: cc: Store tiles, painters, tiling data in scoped_ptr (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/content_layer_unittest.cc ('k') | cc/frame_buffer_skpicture_canvas_layer_texture_updater.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "SkPictureCanvasLayerTextureUpdater.h" 9 #include "SkPictureCanvasLayerTextureUpdater.h"
10 10
(...skipping 10 matching lines...) Expand all
21 virtual ~Texture(); 21 virtual ~Texture();
22 22
23 virtual void update(CCTextureUpdateQueue&, const IntRect& sourceRect, co nst IntSize& destOffset, bool partialUpdate, CCRenderingStats&) OVERRIDE; 23 virtual void update(CCTextureUpdateQueue&, const IntRect& sourceRect, co nst IntSize& destOffset, bool partialUpdate, CCRenderingStats&) OVERRIDE;
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 PassRefPtr<FrameBufferSkPictureCanvasLayerTextureUpdater> create(Pass OwnPtr<LayerPainterChromium>); 31 static PassRefPtr<FrameBufferSkPictureCanvasLayerTextureUpdater> create(scop ed_ptr<LayerPainterChromium>);
32 virtual ~FrameBufferSkPictureCanvasLayerTextureUpdater(); 32 virtual ~FrameBufferSkPictureCanvasLayerTextureUpdater();
33 33
34 virtual PassOwnPtr<LayerTextureUpdater::Texture> createTexture(CCPrioritized TextureManager*) OVERRIDE; 34 virtual PassOwnPtr<LayerTextureUpdater::Texture> createTexture(CCPrioritized TextureManager*) OVERRIDE;
35 virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat) OVERRI DE; 35 virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat) OVERRI DE;
36 36
37 private: 37 private:
38 explicit FrameBufferSkPictureCanvasLayerTextureUpdater(PassOwnPtr<LayerPaint erChromium>); 38 explicit FrameBufferSkPictureCanvasLayerTextureUpdater(scoped_ptr<LayerPaint erChromium>);
39 }; 39 };
40 } // namespace cc 40 } // namespace cc
41 #endif // FrameBufferSkPictureCanvasLayerTextureUpdater_h 41 #endif // FrameBufferSkPictureCanvasLayerTextureUpdater_h
OLDNEW
« no previous file with comments | « cc/content_layer_unittest.cc ('k') | cc/frame_buffer_skpicture_canvas_layer_texture_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698