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

Side by Side Diff: src/gpu/gl/GrGLCaps.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/effects/GrYUVtoRGBEffect.cpp ('k') | src/gpu/gl/GrGLIndexBuffer.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 2012 Google Inc. 2 * Copyright 2012 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 8
9 #ifndef GrGLCaps_DEFINED 9 #ifndef GrGLCaps_DEFINED
10 #define GrGLCaps_DEFINED 10 #define GrGLCaps_DEFINED
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 */ 92 */
93 GrGLCaps(); 93 GrGLCaps();
94 94
95 GrGLCaps(const GrGLCaps& caps); 95 GrGLCaps(const GrGLCaps& caps);
96 96
97 GrGLCaps& operator = (const GrGLCaps& caps); 97 GrGLCaps& operator = (const GrGLCaps& caps);
98 98
99 /** 99 /**
100 * Resets the caps such that nothing is supported. 100 * Resets the caps such that nothing is supported.
101 */ 101 */
102 virtual void reset() SK_OVERRIDE; 102 void reset() SK_OVERRIDE;
103 103
104 /** 104 /**
105 * Initializes the GrGLCaps to the set of features supported in the current 105 * Initializes the GrGLCaps to the set of features supported in the current
106 * OpenGL context accessible via ctxInfo. 106 * OpenGL context accessible via ctxInfo.
107 */ 107 */
108 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface); 108 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface);
109 109
110 /** 110 /**
111 * Call to note that a color config has been verified as a valid color 111 * Call to note that a color config has been verified as a valid color
112 * attachment. This may save future calls to glCheckFramebufferStatus 112 * attachment. This may save future calls to glCheckFramebufferStatus
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 bool isCoreProfile() const { return fIsCoreProfile; } 262 bool isCoreProfile() const { return fIsCoreProfile; }
263 263
264 264
265 bool fullClearIsFree() const { return fFullClearIsFree; } 265 bool fullClearIsFree() const { return fFullClearIsFree; }
266 266
267 bool dropsTileOnZeroDivide() const { return fDropsTileOnZeroDivide; } 267 bool dropsTileOnZeroDivide() const { return fDropsTileOnZeroDivide; }
268 268
269 /** 269 /**
270 * Returns a string containing the caps info. 270 * Returns a string containing the caps info.
271 */ 271 */
272 virtual SkString dump() const SK_OVERRIDE; 272 SkString dump() const SK_OVERRIDE;
273 273
274 /** 274 /**
275 * LATC can appear under one of three possible names. In order to know 275 * LATC can appear under one of three possible names. In order to know
276 * which GL internal format to use, we need to keep track of which name 276 * which GL internal format to use, we need to keep track of which name
277 * we found LATC under. The default is LATC. 277 * we found LATC under. The default is LATC.
278 */ 278 */
279 enum LATCAlias { 279 enum LATCAlias {
280 kLATC_LATCAlias, 280 kLATC_LATCAlias,
281 kRGTC_LATCAlias, 281 kRGTC_LATCAlias,
282 k3DC_LATCAlias 282 k3DC_LATCAlias
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 bool fValue; 415 bool fValue;
416 }; 416 };
417 417
418 mutable SkTHashCache<ReadPixelsSupportedFormats, 418 mutable SkTHashCache<ReadPixelsSupportedFormats,
419 ReadPixelsSupportedFormats::Key> fReadPixelsSupportedCa che; 419 ReadPixelsSupportedFormats::Key> fReadPixelsSupportedCa che;
420 420
421 typedef GrDrawTargetCaps INHERITED; 421 typedef GrDrawTargetCaps INHERITED;
422 }; 422 };
423 423
424 #endif 424 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrYUVtoRGBEffect.cpp ('k') | src/gpu/gl/GrGLIndexBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698