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

Side by Side Diff: include/core/SkDevice.h

Issue 163773004: Remove deprecation of SkBaseDevice::config() so compile can proceed. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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
« no previous file with comments | « no previous file | no next file » | 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 /* 2 /*
3 * Copyright 2010 The Android Open Source Project 3 * Copyright 2010 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkDevice_DEFINED 10 #ifndef SkDevice_DEFINED
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 94 }
95 95
96 96
97 /** Returns true if the device's bitmap's config treats every pixel as 97 /** Returns true if the device's bitmap's config treats every pixel as
98 implicitly opaque. 98 implicitly opaque.
99 */ 99 */
100 virtual bool isOpaque() const = 0; 100 virtual bool isOpaque() const = 0;
101 101
102 /** Return the bitmap config of the device's pixels 102 /** Return the bitmap config of the device's pixels
103 */ 103 */
104 SK_ATTR_DEPRECATED("want to hide configness of the device -- don't use")
105 virtual SkBitmap::Config config() const = 0; 104 virtual SkBitmap::Config config() const = 0;
106 105
107 /** Return the bitmap associated with this device. Call this each time you n eed 106 /** Return the bitmap associated with this device. Call this each time you n eed
108 to access the bitmap, as it notifies the subclass to perform any flushin g 107 to access the bitmap, as it notifies the subclass to perform any flushin g
109 etc. before you examine the pixels. 108 etc. before you examine the pixels.
110 @param changePixels set to true if the caller plans to change the pixels 109 @param changePixels set to true if the caller plans to change the pixels
111 @return the device's bitmap 110 @return the device's bitmap
112 */ 111 */
113 const SkBitmap& accessBitmap(bool changePixels); 112 const SkBitmap& accessBitmap(bool changePixels);
114 113
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 SkMetaData* fMetaData; 426 SkMetaData* fMetaData;
428 427
429 #ifdef SK_DEBUG 428 #ifdef SK_DEBUG
430 bool fAttachedToCanvas; 429 bool fAttachedToCanvas;
431 #endif 430 #endif
432 431
433 typedef SkRefCnt INHERITED; 432 typedef SkRefCnt INHERITED;
434 }; 433 };
435 434
436 #endif 435 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698