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

Side by Side Diff: src/utils/SkGatherPixelRefsAndRects.h

Issue 137753017: move all Config specific APIs into SkBitmapConfig.cpp -- Config is deprecated (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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 | « src/pdf/SkPDFDeviceFlattener.cpp ('k') | tests/BitmapCopyTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkGatherPixelRefsAndRects_DEFINED 8 #ifndef SkGatherPixelRefsAndRects_DEFINED
9 #define SkGatherPixelRefsAndRects_DEFINED 9 #define SkGatherPixelRefsAndRects_DEFINED
10 10
11 #include "SkBitmap.h" 11 #include "SkBitmap.h"
12 #include "SkDevice.h" 12 #include "SkDevice.h"
13 #include "SkDraw.h" 13 #include "SkDraw.h"
14 #include "SkPictureUtils.h" 14 #include "SkPictureUtils.h"
15 #include "SkRasterClip.h" 15 #include "SkRasterClip.h"
16 #include "SkRefCnt.h" 16 #include "SkRefCnt.h"
17 #include "SkRRect.h" 17 #include "SkRRect.h"
18 #include "SkTypes.h" 18 #include "SkShader.h"
19 19
20 // This GatherPixelRefs device passes all discovered pixel refs and their 20 // This GatherPixelRefs device passes all discovered pixel refs and their
21 // device bounds to the user provided SkPixelRefContainer-derived object 21 // device bounds to the user provided SkPixelRefContainer-derived object
22 class SkGatherPixelRefsAndRectsDevice : public SkBaseDevice { 22 class SkGatherPixelRefsAndRectsDevice : public SkBaseDevice {
23 public: 23 public:
24 SK_DECLARE_INST_COUNT(SkGatherPixelRefsAndRectsDevice) 24 SK_DECLARE_INST_COUNT(SkGatherPixelRefsAndRectsDevice)
25 25
26 SkGatherPixelRefsAndRectsDevice(int width, int height, 26 SkGatherPixelRefsAndRectsDevice(int width, int height,
27 SkPictureUtils::SkPixelRefContainer* prCont) { 27 SkPictureUtils::SkPixelRefContainer* prCont) {
28 fSize.set(width, height); 28 fSize.set(width, height);
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 static void NotSupported() { 340 static void NotSupported() {
341 SkDEBUGFAIL("this method should never be called"); 341 SkDEBUGFAIL("this method should never be called");
342 } 342 }
343 343
344 static void NothingToDo() {} 344 static void NothingToDo() {}
345 345
346 typedef SkBaseDevice INHERITED; 346 typedef SkBaseDevice INHERITED;
347 }; 347 };
348 348
349 #endif // SkGatherPixelRefsAndRects_DEFINED 349 #endif // SkGatherPixelRefsAndRects_DEFINED
OLDNEW
« no previous file with comments | « src/pdf/SkPDFDeviceFlattener.cpp ('k') | tests/BitmapCopyTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698