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

Side by Side Diff: cc/bitmap_skpicture_canvas_layer_texture_updater.h

Issue 11189011: cc: Remove the temporary header files that aren't prefixed with CC* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
6 #ifndef BitmapSkPictureCanvasLayerTextureUpdater_h 5 #ifndef BitmapSkPictureCanvasLayerTextureUpdater_h
7 #define BitmapSkPictureCanvasLayerTextureUpdater_h 6 #define BitmapSkPictureCanvasLayerTextureUpdater_h
8 7
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 #include "SkPictureCanvasLayerTextureUpdater.h"
11 10
12 namespace cc { 11 namespace cc {
13 12
14 // This class records the contentRect into an SkPicture, then software rasterize s 13 // This class records the contentRect into an SkPicture, then software rasterize s
15 // the SkPicture into bitmaps for each tile. This implements CCSettings::perTile Painting. 14 // the SkPicture into bitmaps for each tile. This implements CCSettings::perTile Painting.
16 class BitmapSkPictureCanvasLayerTextureUpdater : public SkPictureCanvasLayerText ureUpdater { 15 class BitmapSkPictureCanvasLayerTextureUpdater : public SkPictureCanvasLayerText ureUpdater {
17 public: 16 public:
18 class Texture : public CanvasLayerTextureUpdater::Texture { 17 class Texture : public CanvasLayerTextureUpdater::Texture {
19 public: 18 public:
20 Texture(BitmapSkPictureCanvasLayerTextureUpdater*, scoped_ptr<CCPrioriti zedTexture>); 19 Texture(BitmapSkPictureCanvasLayerTextureUpdater*, scoped_ptr<CCPrioriti zedTexture>);
(...skipping 14 matching lines...) Expand all
35 virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat) OVERRI DE; 34 virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat) OVERRI DE;
36 void paintContentsRect(SkCanvas*, const IntRect& sourceRect, CCRenderingStat s&); 35 void paintContentsRect(SkCanvas*, const IntRect& sourceRect, CCRenderingStat s&);
37 36
38 private: 37 private:
39 explicit BitmapSkPictureCanvasLayerTextureUpdater(scoped_ptr<LayerPainterChr omium>); 38 explicit BitmapSkPictureCanvasLayerTextureUpdater(scoped_ptr<LayerPainterChr omium>);
40 }; 39 };
41 40
42 } // namespace cc 41 } // namespace cc
43 42
44 #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