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

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

Issue 22850006: Replace uses of GrAssert by SkASSERT. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « include/gpu/GrPaint.h ('k') | include/gpu/GrResource.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 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 GrRenderTarget_DEFINED 8 #ifndef GrRenderTarget_DEFINED
9 #define GrRenderTarget_DEFINED 9 #define GrRenderTarget_DEFINED
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 } 149 }
150 150
151 // override of GrResource 151 // override of GrResource
152 virtual void onAbandon() SK_OVERRIDE; 152 virtual void onAbandon() SK_OVERRIDE;
153 virtual void onRelease() SK_OVERRIDE; 153 virtual void onRelease() SK_OVERRIDE;
154 154
155 private: 155 private:
156 friend class GrTexture; 156 friend class GrTexture;
157 // called by ~GrTexture to remove the non-ref'ed back ptr. 157 // called by ~GrTexture to remove the non-ref'ed back ptr.
158 void owningTextureDestroyed() { 158 void owningTextureDestroyed() {
159 GrAssert(NULL != fTexture); 159 SkASSERT(NULL != fTexture);
160 fTexture = NULL; 160 fTexture = NULL;
161 } 161 }
162 162
163 GrStencilBuffer* fStencilBuffer; 163 GrStencilBuffer* fStencilBuffer;
164 GrTexture* fTexture; // not ref'ed 164 GrTexture* fTexture; // not ref'ed
165 165
166 SkIRect fResolveRect; 166 SkIRect fResolveRect;
167 167
168 typedef GrSurface INHERITED; 168 typedef GrSurface INHERITED;
169 }; 169 };
170 170
171 #endif 171 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrPaint.h ('k') | include/gpu/GrResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698