| 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 #ifndef SkGpuDevice_DEFINED | 9 #ifndef SkGpuDevice_DEFINED |
| 10 #define SkGpuDevice_DEFINED | 10 #define SkGpuDevice_DEFINED |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 const SkRRect& inner, const SkPaint& paint); | 255 const SkRRect& inner, const SkPaint& paint); |
| 256 | 256 |
| 257 void drawProducerNine(const SkDraw&, GrTextureProducer*, const SkIRect& cent
er, | 257 void drawProducerNine(const SkDraw&, GrTextureProducer*, const SkIRect& cent
er, |
| 258 const SkRect& dst, const SkPaint&); | 258 const SkRect& dst, const SkPaint&); |
| 259 | 259 |
| 260 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 260 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
| 261 | 261 |
| 262 static GrRenderTarget* CreateRenderTarget(GrContext*, SkBudgeted, const SkIm
ageInfo&, | 262 static GrRenderTarget* CreateRenderTarget(GrContext*, SkBudgeted, const SkIm
ageInfo&, |
| 263 int sampleCount, GrTextureStorageA
llocator); | 263 int sampleCount, GrTextureStorageA
llocator); |
| 264 | 264 |
| 265 void drawBitmapAsSpriteWithImageFilter(const SkDraw&, const SkBitmap&, int x
, int y, | 265 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y, |
| 266 const SkPaint&) override; | 266 const SkPaint&) override; |
| 267 | 267 |
| 268 friend class GrAtlasTextContext; | 268 friend class GrAtlasTextContext; |
| 269 friend class SkSurface_Gpu; // for access to surfaceProps | 269 friend class SkSurface_Gpu; // for access to surfaceProps |
| 270 typedef SkBaseDevice INHERITED; | 270 typedef SkBaseDevice INHERITED; |
| 271 }; | 271 }; |
| 272 | 272 |
| 273 #endif | 273 #endif |
| OLD | NEW |