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

Side by Side Diff: include/gpu/GrContext.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/GrClip.h ('k') | include/gpu/GrDrawContext.h » ('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 2010 Google Inc. 2 * Copyright 2010 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 GrContext_DEFINED 8 #ifndef GrContext_DEFINED
9 #define GrContext_DEFINED 9 #define GrContext_DEFINED
10 10
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 }; 434 };
435 435
436 SkTDArray<CleanUpData> fCleanUpData; 436 SkTDArray<CleanUpData> fCleanUpData;
437 437
438 const uint32_t fUniqueID; 438 const uint32_t fUniqueID;
439 439
440 SkAutoTDelete<GrDrawingManager> fDrawingManager; 440 SkAutoTDelete<GrDrawingManager> fDrawingManager;
441 441
442 GrAuditTrail fAuditTrail; 442 GrAuditTrail fAuditTrail;
443 443
444 // TODO: have the CMM use drawContexts and rm this friending 444 // TODO: have the ClipStackClip use drawContexts and rm this friending
445 friend class GrClipMaskManager; // the CMM is friended just so it can call ' drawingManager' 445 friend class GrClipStackClip; // this is friended just so it can call 'drawi ngManager'
446 friend class GrDrawingManager; // for access to drawingManager for ProgramU nitTest 446 friend class GrDrawingManager; // for access to drawingManager for ProgramU nitTest
447 GrDrawingManager* drawingManager() { return fDrawingManager; } 447 GrDrawingManager* drawingManager() { return fDrawingManager; }
448 448
449 GrContext(); // init must be called after the constructor. 449 GrContext(); // init must be called after the constructor.
450 bool init(GrBackend, GrBackendContext, const GrContextOptions& options); 450 bool init(GrBackend, GrBackendContext, const GrContextOptions& options);
451 451
452 void initMockContext(); 452 void initMockContext();
453 void initCommon(const GrContextOptions&); 453 void initCommon(const GrContextOptions&);
454 454
455 /** 455 /**
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 SkAutoTUnref<const GrCaps> fCaps; 497 SkAutoTUnref<const GrCaps> fCaps;
498 uint32_t fContextUniqueID; 498 uint32_t fContextUniqueID;
499 499
500 friend class GrContext; 500 friend class GrContext;
501 friend class SkImage; 501 friend class SkImage;
502 502
503 typedef SkRefCnt INHERITED; 503 typedef SkRefCnt INHERITED;
504 }; 504 };
505 505
506 #endif 506 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrClip.h ('k') | include/gpu/GrDrawContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698