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

Side by Side Diff: include/gpu/SkGpuDevice.h

Issue 201973003: remove SK_SUPPORT_LEGACY_WRITEPIXELSCONFIG -- dead code (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') | src/core/SkBitmapDevice.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 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
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 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual int height() const SK_OVERRIDE { 81 virtual int height() const SK_OVERRIDE {
82 return NULL == fRenderTarget ? 0 : fRenderTarget->height(); 82 return NULL == fRenderTarget ? 0 : fRenderTarget->height();
83 } 83 }
84 virtual bool isOpaque() const SK_OVERRIDE { 84 virtual bool isOpaque() const SK_OVERRIDE {
85 return NULL == fRenderTarget ? false 85 return NULL == fRenderTarget ? false
86 : kRGB_565_GrPixelConfig == fRenderTarget-> config(); 86 : kRGB_565_GrPixelConfig == fRenderTarget-> config();
87 } 87 }
88 virtual SkBitmap::Config config() const SK_OVERRIDE; 88 virtual SkBitmap::Config config() const SK_OVERRIDE;
89 89
90 virtual void clear(SkColor color) SK_OVERRIDE; 90 virtual void clear(SkColor color) SK_OVERRIDE;
91 #ifdef SK_SUPPORT_LEGACY_WRITEPIXELSCONFIG
92 virtual void writePixels(const SkBitmap& bitmap, int x, int y,
93 SkCanvas::Config8888 config8888) SK_OVERRIDE;
94 #endif
95 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; 91 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE;
96 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun t, 92 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun t,
97 const SkPoint[], const SkPaint& paint) SK_OVERRIDE; 93 const SkPoint[], const SkPaint& paint) SK_OVERRIDE;
98 virtual void drawRect(const SkDraw&, const SkRect& r, 94 virtual void drawRect(const SkDraw&, const SkRect& r,
99 const SkPaint& paint) SK_OVERRIDE; 95 const SkPaint& paint) SK_OVERRIDE;
100 virtual void drawRRect(const SkDraw&, const SkRRect& r, 96 virtual void drawRRect(const SkDraw&, const SkRRect& r,
101 const SkPaint& paint) SK_OVERRIDE; 97 const SkPaint& paint) SK_OVERRIDE;
102 virtual void drawOval(const SkDraw&, const SkRect& oval, 98 virtual void drawOval(const SkDraw&, const SkRect& oval,
103 const SkPaint& paint) SK_OVERRIDE; 99 const SkPaint& paint) SK_OVERRIDE;
104 virtual void drawPath(const SkDraw&, const SkPath& path, 100 virtual void drawPath(const SkDraw&, const SkPath& path,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 SkCanvas::DrawBitmapRectFlags flags, 217 SkCanvas::DrawBitmapRectFlags flags,
222 int tileSize, 218 int tileSize,
223 bool bicubic); 219 bool bicubic);
224 220
225 static SkPicture::AccelData::Key ComputeAccelDataKey(); 221 static SkPicture::AccelData::Key ComputeAccelDataKey();
226 222
227 typedef SkBitmapDevice INHERITED; 223 typedef SkBitmapDevice INHERITED;
228 }; 224 };
229 225
230 #endif 226 #endif
OLDNEW
« no previous file with comments | « include/core/SkDevice.h ('k') | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698