| OLD | NEW |
| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 135 |
| 136 // state for our render-target | 136 // state for our render-target |
| 137 GrRenderTarget* fRenderTarget; | 137 GrRenderTarget* fRenderTarget; |
| 138 uint32_t fFlags; | 138 uint32_t fFlags; |
| 139 | 139 |
| 140 // remove when our clients don't rely on accessBitmap() | 140 // remove when our clients don't rely on accessBitmap() |
| 141 SkBitmap fLegacyBitmap; | 141 SkBitmap fLegacyBitmap; |
| 142 | 142 |
| 143 SkGpuDevice(GrSurface*, const SkSurfaceProps&, unsigned flags = 0); | 143 SkGpuDevice(GrSurface*, const SkSurfaceProps&, unsigned flags = 0); |
| 144 | 144 |
| 145 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; | 145 virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRID
E; |
| 146 | 146 |
| 147 virtual SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) SK_
OVERRIDE; | 147 virtual SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) SK_
OVERRIDE; |
| 148 | 148 |
| 149 virtual SkImageFilter::Cache* getImageFilterCache() SK_OVERRIDE; | 149 virtual SkImageFilter::Cache* getImageFilterCache() SK_OVERRIDE; |
| 150 | 150 |
| 151 // temporarily change the return to false, until we understand the issues wi
th filters and persp | 151 // temporarily change the return to false, until we understand the issues wi
th filters and persp |
| 152 virtual bool forceConservativeRasterClip() const SK_OVERRIDE { return true;
} | 152 virtual bool forceConservativeRasterClip() const SK_OVERRIDE { return true;
} |
| 153 | 153 |
| 154 // sets the render target, clip, and matrix on GrContext. Use forceIdenity t
o override | 154 // sets the render target, clip, and matrix on GrContext. Use forceIdenity t
o override |
| 155 // SkDraw's matrix and draw in device coords. | 155 // SkDraw's matrix and draw in device coords. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 bool bicubic); | 194 bool bicubic); |
| 195 | 195 |
| 196 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 196 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
| 197 | 197 |
| 198 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 198 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
| 199 | 199 |
| 200 typedef SkBaseDevice INHERITED; | 200 typedef SkBaseDevice INHERITED; |
| 201 }; | 201 }; |
| 202 | 202 |
| 203 #endif | 203 #endif |
| OLD | NEW |