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

Side by Side Diff: src/gpu/gl/GrGLVertexArray.h

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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/GrGLTextureRenderTarget.h ('k') | src/gpu/gl/GrGLVertexBuffer.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 2013 Google Inc. 2 * Copyright 2013 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 GrGLVertexArray_DEFINED 8 #ifndef GrGLVertexArray_DEFINED
9 #define GrGLVertexArray_DEFINED 9 #define GrGLVertexArray_DEFINED
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 void notifyVertexBufferDelete(GrGLuint id) { 154 void notifyVertexBufferDelete(GrGLuint id) {
155 fAttribArrays.notifyVertexBufferDelete(id); 155 fAttribArrays.notifyVertexBufferDelete(id);
156 } 156 }
157 157
158 GrGLuint arrayID() const { return fID; } 158 GrGLuint arrayID() const { return fID; }
159 159
160 void invalidateCachedState(); 160 void invalidateCachedState();
161 161
162 protected: 162 protected:
163 virtual size_t onGpuMemorySize() const SK_OVERRIDE { return 0; } 163 size_t onGpuMemorySize() const SK_OVERRIDE { return 0; }
164 164
165 virtual void onAbandon() SK_OVERRIDE; 165 void onAbandon() SK_OVERRIDE;
166 166
167 virtual void onRelease() SK_OVERRIDE; 167 void onRelease() SK_OVERRIDE;
168 168
169 private: 169 private:
170 GrGLuint fID; 170 GrGLuint fID;
171 GrGLAttribArrayState fAttribArrays; 171 GrGLAttribArrayState fAttribArrays;
172 GrGLuint fIndexBufferID; 172 GrGLuint fIndexBufferID;
173 bool fIndexBufferIDIsValid; 173 bool fIndexBufferIDIsValid;
174 174
175 typedef GrGpuResource INHERITED; 175 typedef GrGpuResource INHERITED;
176 }; 176 };
177 177
178 #endif 178 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLTextureRenderTarget.h ('k') | src/gpu/gl/GrGLVertexBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698