| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef GrDrawContext_DEFINED | 8 #ifndef GrDrawContext_DEFINED |
| 9 #define GrDrawContext_DEFINED | 9 #define GrDrawContext_DEFINED |
| 10 | 10 |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 const SkMatrix& viewMatrix, | 340 const SkMatrix& viewMatrix, |
| 341 const SkRect& rect, | 341 const SkRect& rect, |
| 342 const GrUserStencilSettings* ss); | 342 const GrUserStencilSettings* ss); |
| 343 | 343 |
| 344 void drawNonAAFilledRect(const GrClip&, | 344 void drawNonAAFilledRect(const GrClip&, |
| 345 const GrPaint&, | 345 const GrPaint&, |
| 346 const SkMatrix& viewMatrix, | 346 const SkMatrix& viewMatrix, |
| 347 const SkRect& rect, | 347 const SkRect& rect, |
| 348 const SkRect* localRect, | 348 const SkRect* localRect, |
| 349 const SkMatrix* localMatrix, | 349 const SkMatrix* localMatrix, |
| 350 const GrUserStencilSettings* ss); | 350 const GrUserStencilSettings* ss, |
| 351 bool useHWAA); |
| 351 | 352 |
| 352 void internalDrawPath(const GrClip& clip, | 353 void internalDrawPath(const GrClip& clip, |
| 353 const GrPaint& paint, | 354 const GrPaint& paint, |
| 354 const SkMatrix& viewMatrix, | 355 const SkMatrix& viewMatrix, |
| 355 const SkPath& path, | 356 const SkPath& path, |
| 356 const GrStyle& style); | 357 const GrStyle& style); |
| 357 | 358 |
| 358 // This entry point allows the GrTextContext-derived classes to add their ba
tches to | 359 // This entry point allows the GrTextContext-derived classes to add their ba
tches to |
| 359 // the drawTarget. | 360 // the drawTarget. |
| 360 void drawBatch(const GrPipelineBuilder& pipelineBuilder, const GrClip&, GrDr
awBatch* batch); | 361 void drawBatch(const GrPipelineBuilder& pipelineBuilder, const GrClip&, GrDr
awBatch* batch); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 373 | 374 |
| 374 sk_sp<SkColorSpace> fColorSpace; | 375 sk_sp<SkColorSpace> fColorSpace; |
| 375 SkSurfaceProps fSurfaceProps; | 376 SkSurfaceProps fSurfaceProps; |
| 376 GrAuditTrail* fAuditTrail; | 377 GrAuditTrail* fAuditTrail; |
| 377 | 378 |
| 378 // In debug builds we guard against improper thread handling | 379 // In debug builds we guard against improper thread handling |
| 379 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;) | 380 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;) |
| 380 }; | 381 }; |
| 381 | 382 |
| 382 #endif | 383 #endif |
| OLD | NEW |