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

Side by Side Diff: src/gpu/gl/debug/GrTextureObj.h

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 8 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/gl/debug/GrShaderObj.h ('k') | src/gpu/gl/debug/SkDebugGLContext.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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef GrTextureObj_DEFINED 9 #ifndef GrTextureObj_DEFINED
10 #define GrTextureObj_DEFINED 10 #define GrTextureObj_DEFINED
(...skipping 25 matching lines...) Expand all
36 fTextureUnitReferees.removeShuffle(index); 36 fTextureUnitReferees.removeShuffle(index);
37 } 37 }
38 bool getBound(GrTextureUnitObj *referee) const { 38 bool getBound(GrTextureUnitObj *referee) const {
39 int index = fTextureUnitReferees.find(referee); 39 int index = fTextureUnitReferees.find(referee);
40 return 0 <= index; 40 return 0 <= index;
41 } 41 }
42 bool getBound() const { 42 bool getBound() const {
43 return 0 != fTextureUnitReferees.count(); 43 return 0 != fTextureUnitReferees.count();
44 } 44 }
45 45
46 void deleteAction() SK_OVERRIDE; 46 void deleteAction() override;
47 47
48 protected: 48 protected:
49 49
50 private: 50 private:
51 // texture units that bind this texture (via "glBindTexture") 51 // texture units that bind this texture (via "glBindTexture")
52 SkTDArray<GrTextureUnitObj *> fTextureUnitReferees; 52 SkTDArray<GrTextureUnitObj *> fTextureUnitReferees;
53 53
54 typedef GrFBBindableObj INHERITED; 54 typedef GrFBBindableObj INHERITED;
55 }; 55 };
56 56
57 #endif // GrTextureObj_DEFINED 57 #endif // GrTextureObj_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/gl/debug/GrShaderObj.h ('k') | src/gpu/gl/debug/SkDebugGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698