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

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

Issue 2187583002: Fix GrDrawContextPriv::stencilRect (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix GrDrawContextPriv::stencilRect Created 4 years, 4 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
« no previous file with comments | « no previous file | src/gpu/GrDrawContext.cpp » ('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 * 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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698