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

Side by Side Diff: src/gpu/GrGpu.h

Issue 579753003: Fix typo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Missed an instance Created 6 years, 3 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 | « src/gpu/GrContext.cpp ('k') | src/gpu/GrGpu.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 2011 Google Inc. 2 * Copyright 2011 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 GrGpu_DEFINED 8 #ifndef GrGpu_DEFINED
9 #define GrGpu_DEFINED 9 #define GrGpu_DEFINED
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 GrContext* getContext() { return this->INHERITED::getContext(); } 55 GrContext* getContext() { return this->INHERITED::getContext(); }
56 const GrContext* getContext() const { return this->INHERITED::getContext(); } 56 const GrContext* getContext() const { return this->INHERITED::getContext(); }
57 57
58 GrPathRendering* pathRendering() { 58 GrPathRendering* pathRendering() {
59 return fPathRendering.get(); 59 return fPathRendering.get();
60 } 60 }
61 61
62 // Called by GrContext when the underlying backend context has been destroye d. 62 // Called by GrContext when the underlying backend context has been destroye d.
63 // GrGpu should use this to ensure that no backend API calls will be made fr om 63 // GrGpu should use this to ensure that no backend API calls will be made fr om
64 // here onward, including in its destructor. Subclasses should call 64 // here onward, including in its destructor. Subclasses should call
65 // INHERITED::contextAbandonded() if they override this. 65 // INHERITED::contextAbandoned() if they override this.
66 virtual void contextAbandonded(); 66 virtual void contextAbandoned();
67 67
68 /** 68 /**
69 * The GrGpu object normally assumes that no outsider is setting state 69 * The GrGpu object normally assumes that no outsider is setting state
70 * within the underlying 3D API's context/device/whatever. This call informs 70 * within the underlying 3D API's context/device/whatever. This call informs
71 * the GrGpu that the state was modified and it shouldn't make assumptions 71 * the GrGpu that the state was modified and it shouldn't make assumptions
72 * about the state. 72 * about the state.
73 */ 73 */
74 void markContextDirty(uint32_t state = kAll_GrBackendState) { 74 void markContextDirty(uint32_t state = kAll_GrBackendState) {
75 fResetBits |= state; 75 fResetBits |= state;
76 } 76 }
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 // counts number of uses of vertex/index pool in the geometry stack 518 // counts number of uses of vertex/index pool in the geometry stack
519 int fVertexP oolUseCnt; 519 int fVertexP oolUseCnt;
520 int fIndexPo olUseCnt; 520 int fIndexPo olUseCnt;
521 // these are mutable so they can be created on-demand 521 // these are mutable so they can be created on-demand
522 mutable GrIndexBuffer* fQuadInd exBuffer; 522 mutable GrIndexBuffer* fQuadInd exBuffer;
523 523
524 typedef GrDrawTarget INHERITED; 524 typedef GrDrawTarget INHERITED;
525 }; 525 };
526 526
527 #endif 527 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698