| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 void drawTextureProducerImpl(GrTextureProducer*, | 239 void drawTextureProducerImpl(GrTextureProducer*, |
| 240 bool alphaOnly, | 240 bool alphaOnly, |
| 241 const SkRect& clippedSrcRect, | 241 const SkRect& clippedSrcRect, |
| 242 const SkRect& clippedDstRect, | 242 const SkRect& clippedDstRect, |
| 243 SkCanvas::SrcRectConstraint, | 243 SkCanvas::SrcRectConstraint, |
| 244 const SkMatrix& viewMatrix, | 244 const SkMatrix& viewMatrix, |
| 245 const SkMatrix& srcToDstMatrix, | 245 const SkMatrix& srcToDstMatrix, |
| 246 const GrClip&, | 246 const GrClip&, |
| 247 const SkPaint&); | 247 const SkPaint&); |
| 248 | 248 |
| 249 void drawProducerNine(const SkDraw&, GrTextureProducer*, bool alphaOnly, |
| 250 const SkIRect& center, const SkRect& dst, const SkPain
t&); |
| 251 |
| 249 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 252 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
| 250 | 253 |
| 251 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, | 254 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, |
| 252 int sampleCount); | 255 int sampleCount); |
| 253 | 256 |
| 254 friend class GrAtlasTextContext; | 257 friend class GrAtlasTextContext; |
| 255 friend class SkSurface_Gpu; // for access to surfaceProps | 258 friend class SkSurface_Gpu; // for access to surfaceProps |
| 256 typedef SkBaseDevice INHERITED; | 259 typedef SkBaseDevice INHERITED; |
| 257 }; | 260 }; |
| 258 | 261 |
| 259 #endif | 262 #endif |
| OLD | NEW |