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

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

Issue 344253003: "interface" is defined in Windows headers, so undef it in GrGLCaps so we don't have a name collision (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Don't undef, rename instead Created 6 years, 6 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 | « no previous file | no next file » | 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 /** 108 /**
109 * Resets the caps such that nothing is supported. 109 * Resets the caps such that nothing is supported.
110 */ 110 */
111 virtual void reset() SK_OVERRIDE; 111 virtual void reset() SK_OVERRIDE;
112 112
113 /** 113 /**
114 * Initializes the GrGLCaps to the set of features supported in the current 114 * Initializes the GrGLCaps to the set of features supported in the current
115 * OpenGL context accessible via ctxInfo. 115 * OpenGL context accessible via ctxInfo.
116 */ 116 */
117 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* interface); 117 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface);
118 118
119 /** 119 /**
120 * Call to note that a color config has been verified as a valid color 120 * Call to note that a color config has been verified as a valid color
121 * attachment. This may save future calls to glCheckFramebufferStatus 121 * attachment. This may save future calls to glCheckFramebufferStatus
122 * using isConfigVerifiedColorAttachment(). 122 * using isConfigVerifiedColorAttachment().
123 */ 123 */
124 void markConfigAsValidColorAttachment(GrPixelConfig config) { 124 void markConfigAsValidColorAttachment(GrPixelConfig config) {
125 fVerifiedColorConfigs.markVerified(config); 125 fVerifiedColorConfigs.markVerified(config);
126 } 126 }
127 127
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 bool fVertexArrayObjectSupport : 1; 361 bool fVertexArrayObjectSupport : 1;
362 bool fUseNonVBOVertexAndIndexDynamicData : 1; 362 bool fUseNonVBOVertexAndIndexDynamicData : 1;
363 bool fIsCoreProfile : 1; 363 bool fIsCoreProfile : 1;
364 bool fFullClearIsFree : 1; 364 bool fFullClearIsFree : 1;
365 bool fDropsTileOnZeroDivide : 1; 365 bool fDropsTileOnZeroDivide : 1;
366 366
367 typedef GrDrawTargetCaps INHERITED; 367 typedef GrDrawTargetCaps INHERITED;
368 }; 368 };
369 369
370 #endif 370 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698