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

Side by Side Diff: include/device/xps/SkXPSDevice.h

Issue 211043002: remove all references to legacy Config8888 (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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 | « include/core/SkDevice.h ('k') | include/gpu/SkGpuDevice.h » ('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 2011 Google Inc. 2 * Copyright 2011 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 SkXPSDevice_DEFINED 8 #ifndef SkXPSDevice_DEFINED
9 #define SkXPSDevice_DEFINED 9 #define SkXPSDevice_DEFINED
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 SkXfermode* xmode, 134 SkXfermode* xmode,
135 const uint16_t indices[], int indexCount, 135 const uint16_t indices[], int indexCount,
136 const SkPaint& paint) SK_OVERRIDE; 136 const SkPaint& paint) SK_OVERRIDE;
137 137
138 virtual void drawDevice( 138 virtual void drawDevice(
139 const SkDraw&, 139 const SkDraw&,
140 SkBaseDevice* device, 140 SkBaseDevice* device,
141 int x, int y, 141 int x, int y,
142 const SkPaint& paint) SK_OVERRIDE; 142 const SkPaint& paint) SK_OVERRIDE;
143 143
144 #ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG
145 virtual bool onReadPixels(const SkBitmap& bitmap,
146 int x,
147 int y,
148 SkCanvas::Config8888) SK_OVERRIDE;
149 #endif
150
151 virtual bool allowImageFilter(const SkImageFilter*) SK_OVERRIDE; 144 virtual bool allowImageFilter(const SkImageFilter*) SK_OVERRIDE;
152 145
153 private: 146 private:
154 class TypefaceUse : ::SkNoncopyable { 147 class TypefaceUse : ::SkNoncopyable {
155 public: 148 public:
156 SkFontID typefaceId; 149 SkFontID typefaceId;
157 int ttcIndex; 150 int ttcIndex;
158 SkStream* fontData; 151 SkStream* fontData;
159 IXpsOMFontResource* xpsFont; 152 IXpsOMFontResource* xpsFont;
160 SkBitSet* glyphsUsed; 153 SkBitSet* glyphsUsed;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; 308 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE;
316 309
317 // Disable the default copy and assign implementation. 310 // Disable the default copy and assign implementation.
318 SkXPSDevice(const SkXPSDevice&); 311 SkXPSDevice(const SkXPSDevice&);
319 void operator=(const SkXPSDevice&); 312 void operator=(const SkXPSDevice&);
320 313
321 typedef SkBitmapDevice INHERITED; 314 typedef SkBitmapDevice INHERITED;
322 }; 315 };
323 316
324 #endif 317 #endif
OLDNEW
« no previous file with comments | « include/core/SkDevice.h ('k') | include/gpu/SkGpuDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698