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

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

Issue 17269003: Change undefined SkGpuRenderTarget and SkGpuTexture forward declares to GrRenderTarget and GrTextur… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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/SkPixelRef.h ('k') | include/gpu/SkGrPixelRef.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 /* 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 * The GrTexture's asRenderTarget() must be non-NULL or device will not 53 * The GrTexture's asRenderTarget() must be non-NULL or device will not
54 * function. 54 * function.
55 * DEPRECATED: Use Create(surface) 55 * DEPRECATED: Use Create(surface)
56 */ 56 */
57 SkGpuDevice(GrContext*, GrTexture*); 57 SkGpuDevice(GrContext*, GrTexture*);
58 58
59 virtual ~SkGpuDevice(); 59 virtual ~SkGpuDevice();
60 60
61 GrContext* context() const { return fContext; } 61 GrContext* context() const { return fContext; }
62 62
63 virtual SkGpuRenderTarget* accessRenderTarget() SK_OVERRIDE; 63 virtual GrRenderTarget* accessRenderTarget() SK_OVERRIDE;
64 64
65 // overrides from SkDevice 65 // overrides from SkDevice
66 66
67 virtual void clear(SkColor color) SK_OVERRIDE; 67 virtual void clear(SkColor color) SK_OVERRIDE;
68 virtual void writePixels(const SkBitmap& bitmap, int x, int y, 68 virtual void writePixels(const SkBitmap& bitmap, int x, int y,
69 SkCanvas::Config8888 config8888) SK_OVERRIDE; 69 SkCanvas::Config8888 config8888) SK_OVERRIDE;
70 70
71 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; 71 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE;
72 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun t, 72 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun t,
73 const SkPoint[], const SkPaint& paint) SK_OVERRIDE; 73 const SkPoint[], const SkPaint& paint) SK_OVERRIDE;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 /** 188 /**
189 * Returns non-initialized instance. 189 * Returns non-initialized instance.
190 */ 190 */
191 GrTextContext* getTextContext(); 191 GrTextContext* getTextContext();
192 192
193 typedef SkDevice INHERITED; 193 typedef SkDevice INHERITED;
194 }; 194 };
195 195
196 #endif 196 #endif
OLDNEW
« no previous file with comments | « include/core/SkPixelRef.h ('k') | include/gpu/SkGrPixelRef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698