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

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

Issue 544233002: "NULL !=" = NULL (Closed) Base URL: https://skia.googlesource.com/skia.git@are
Patch Set: rebase 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 | « include/gpu/GrProgramElementRef.h ('k') | include/gpu/GrSurface.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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } 155 }
156 156
157 // override of GrResource 157 // override of GrResource
158 virtual void onAbandon() SK_OVERRIDE; 158 virtual void onAbandon() SK_OVERRIDE;
159 virtual void onRelease() SK_OVERRIDE; 159 virtual void onRelease() SK_OVERRIDE;
160 160
161 private: 161 private:
162 friend class GrTexture; 162 friend class GrTexture;
163 // called by ~GrTexture to remove the non-ref'ed back ptr. 163 // called by ~GrTexture to remove the non-ref'ed back ptr.
164 void owningTextureDestroyed() { 164 void owningTextureDestroyed() {
165 SkASSERT(NULL != fTexture); 165 SkASSERT(fTexture);
166 fTexture = NULL; 166 fTexture = NULL;
167 } 167 }
168 168
169 GrStencilBuffer* fStencilBuffer; 169 GrStencilBuffer* fStencilBuffer;
170 GrTexture* fTexture; // not ref'ed 170 GrTexture* fTexture; // not ref'ed
171 171
172 SkIRect fResolveRect; 172 SkIRect fResolveRect;
173 173
174 typedef GrSurface INHERITED; 174 typedef GrSurface INHERITED;
175 }; 175 };
176 176
177 #endif 177 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrProgramElementRef.h ('k') | include/gpu/GrSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698