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

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

Issue 2138083002: skip call to clip::apply when clip is wide open Base URL: https://chromium.googlesource.com/skia.git@llist
Patch Set: rm gcmm Created 4 years, 5 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 | « include/gpu/GrContext.h ('k') | src/gpu/GrBlurUtils.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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 SkDEBUGCODE(void validate() const;) 295 SkDEBUGCODE(void validate() const;)
296 296
297 private: 297 private:
298 friend class GrAtlasTextBlob; // for access to drawBatch 298 friend class GrAtlasTextBlob; // for access to drawBatch
299 friend class GrStencilAndCoverTextContext; // for access to drawBatch 299 friend class GrStencilAndCoverTextContext; // for access to drawBatch
300 300
301 friend class GrDrawingManager; // for ctor 301 friend class GrDrawingManager; // for ctor
302 friend class GrDrawContextPriv; 302 friend class GrDrawContextPriv;
303 friend class GrTestTarget; // for access to getDrawTarget 303 friend class GrTestTarget; // for access to getDrawTarget
304 friend class GrSWMaskHelper; // for access to drawBatch 304 friend class GrSWMaskHelper; // for access to drawBatch
305 friend class GrClipMaskManager; // for access to drawBatch 305 friend class GrClipStackClip; // for access to drawBatch
306 306
307 // All the path renderers currently make their own batches 307 // All the path renderers currently make their own batches
308 friend class GrSoftwarePathRenderer; // for access to drawBatch 308 friend class GrSoftwarePathRenderer; // for access to drawBatch
309 friend class GrAAConvexPathRenderer; // for access to drawBatch 309 friend class GrAAConvexPathRenderer; // for access to drawBatch
310 friend class GrDashLinePathRenderer; // for access to drawBatch 310 friend class GrDashLinePathRenderer; // for access to drawBatch
311 friend class GrAAHairLinePathRenderer; // for access to drawBatch 311 friend class GrAAHairLinePathRenderer; // for access to drawBatch
312 friend class GrAALinearizingConvexPathRenderer; // for access to drawBatch 312 friend class GrAALinearizingConvexPathRenderer; // for access to drawBatch
313 friend class GrAADistanceFieldPathRenderer; // for access to drawBatch 313 friend class GrAADistanceFieldPathRenderer; // for access to drawBatch
314 friend class GrDefaultPathRenderer; // for access to drawBatch 314 friend class GrDefaultPathRenderer; // for access to drawBatch
315 friend class GrPLSPathRenderer; // for access to drawBatch 315 friend class GrPLSPathRenderer; // for access to drawBatch
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 GrInstancedPipelineInfo fInstancedPipelineInfo; 360 GrInstancedPipelineInfo fInstancedPipelineInfo;
361 361
362 SkSurfaceProps fSurfaceProps; 362 SkSurfaceProps fSurfaceProps;
363 GrAuditTrail* fAuditTrail; 363 GrAuditTrail* fAuditTrail;
364 364
365 // In debug builds we guard against improper thread handling 365 // In debug builds we guard against improper thread handling
366 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;) 366 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;)
367 }; 367 };
368 368
369 #endif 369 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrBlurUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698