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

Side by Side Diff: cc/bitmap_skpicture_canvas_layer_texture_updater.h

Issue 11111005: Remove GraphicsContext3D:: stubs from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again 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
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 #ifndef BitmapSkPictureCanvasLayerTextureUpdater_h 5 #ifndef BitmapSkPictureCanvasLayerTextureUpdater_h
6 #define BitmapSkPictureCanvasLayerTextureUpdater_h 6 #define BitmapSkPictureCanvasLayerTextureUpdater_h
7 7
8 #include "cc/skpicture_canvas_layer_texture_updater.h" 8 #include "cc/skpicture_canvas_layer_texture_updater.h"
9 #include "third_party/skia/include/core/SkBitmap.h" 9 #include "third_party/skia/include/core/SkBitmap.h"
10 10
(...skipping 12 matching lines...) Expand all
23 private: 23 private:
24 BitmapSkPictureCanvasLayerTextureUpdater* textureUpdater() { return m_te xtureUpdater; } 24 BitmapSkPictureCanvasLayerTextureUpdater* textureUpdater() { return m_te xtureUpdater; }
25 25
26 SkBitmap m_bitmap; 26 SkBitmap m_bitmap;
27 BitmapSkPictureCanvasLayerTextureUpdater* m_textureUpdater; 27 BitmapSkPictureCanvasLayerTextureUpdater* m_textureUpdater;
28 }; 28 };
29 29
30 static scoped_refptr<BitmapSkPictureCanvasLayerTextureUpdater> create(scoped _ptr<LayerPainterChromium>); 30 static scoped_refptr<BitmapSkPictureCanvasLayerTextureUpdater> create(scoped _ptr<LayerPainterChromium>);
31 31
32 virtual scoped_ptr<LayerTextureUpdater::Texture> createTexture(CCPrioritized TextureManager*) OVERRIDE; 32 virtual scoped_ptr<LayerTextureUpdater::Texture> createTexture(CCPrioritized TextureManager*) OVERRIDE;
33 virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat) OVERRI DE; 33 virtual SampledTexelFormat sampledTexelFormat(GLenum textureFormat) OVERRIDE ;
34 void paintContentsRect(SkCanvas*, const IntRect& sourceRect, CCRenderingStat s&); 34 void paintContentsRect(SkCanvas*, const IntRect& sourceRect, CCRenderingStat s&);
35 35
36 private: 36 private:
37 explicit BitmapSkPictureCanvasLayerTextureUpdater(scoped_ptr<LayerPainterChr omium>); 37 explicit BitmapSkPictureCanvasLayerTextureUpdater(scoped_ptr<LayerPainterChr omium>);
38 virtual ~BitmapSkPictureCanvasLayerTextureUpdater(); 38 virtual ~BitmapSkPictureCanvasLayerTextureUpdater();
39 }; 39 };
40 40
41 } // namespace cc 41 } // namespace cc
42 42
43 #endif // BitmapSkPictureCanvasLayerTextureUpdater_h 43 #endif // BitmapSkPictureCanvasLayerTextureUpdater_h
OLDNEW
« no previous file with comments | « cc/bitmap_canvas_layer_texture_updater.cc ('k') | cc/bitmap_skpicture_canvas_layer_texture_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698