| OLD | NEW |
| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 kMapBufferRange_MapBufferType, // glMapBufferRange() | 84 kMapBufferRange_MapBufferType, // glMapBufferRange() |
| 85 kChromium_MapBufferType, // GL_CHROMIUM_map_sub | 85 kChromium_MapBufferType, // GL_CHROMIUM_map_sub |
| 86 | 86 |
| 87 kLast_MapBufferType = kChromium_MapBufferType, | 87 kLast_MapBufferType = kChromium_MapBufferType, |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 /** | 90 /** |
| 91 * Initializes the GrGLCaps to the set of features supported in the current | 91 * Initializes the GrGLCaps to the set of features supported in the current |
| 92 * OpenGL context accessible via ctxInfo. | 92 * OpenGL context accessible via ctxInfo. |
| 93 */ | 93 */ |
| 94 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxI
nfo, | 94 GrGLCaps(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface); |
| 95 const GrGLInterface* glInterface); | |
| 96 | 95 |
| 97 /** | 96 /** |
| 98 * Call to note that a color config has been verified as a valid color | 97 * Call to note that a color config has been verified as a valid color |
| 99 * attachment. This may save future calls to glCheckFramebufferStatus | 98 * attachment. This may save future calls to glCheckFramebufferStatus |
| 100 * using isConfigVerifiedColorAttachment(). | 99 * using isConfigVerifiedColorAttachment(). |
| 101 */ | 100 */ |
| 102 void markConfigAsValidColorAttachment(GrPixelConfig config) { | 101 void markConfigAsValidColorAttachment(GrPixelConfig config) { |
| 103 fVerifiedColorConfigs.markVerified(config); | 102 fVerifiedColorConfigs.markVerified(config); |
| 104 } | 103 } |
| 105 | 104 |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 const char* fFBFetchColorName; | 432 const char* fFBFetchColorName; |
| 434 const char* fFBFetchExtensionString; | 433 const char* fFBFetchExtensionString; |
| 435 | 434 |
| 436 AdvBlendEqInteraction fAdvBlendEqInteraction; | 435 AdvBlendEqInteraction fAdvBlendEqInteraction; |
| 437 | 436 |
| 438 typedef GrShaderCaps INHERITED; | 437 typedef GrShaderCaps INHERITED; |
| 439 }; | 438 }; |
| 440 | 439 |
| 441 | 440 |
| 442 #endif | 441 #endif |
| OLD | NEW |