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 GrGLSLCaps_DEFINED | 9 #ifndef GrGLSLCaps_DEFINED |
10 #define GrGLSLCaps_DEFINED | 10 #define GrGLSLCaps_DEFINED |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 const char* fSecondaryOutputExtensionString; | 210 const char* fSecondaryOutputExtensionString; |
211 const char* fExternalTextureExtensionString; | 211 const char* fExternalTextureExtensionString; |
212 const char* fTexelBufferExtensionString; | 212 const char* fTexelBufferExtensionString; |
213 const char* fNoPerspectiveInterpolationExtensionString; | 213 const char* fNoPerspectiveInterpolationExtensionString; |
214 const char* fMultisampleInterpolationExtensionString; | 214 const char* fMultisampleInterpolationExtensionString; |
215 const char* fSampleVariablesExtensionString; | 215 const char* fSampleVariablesExtensionString; |
216 | 216 |
217 const char* fFBFetchColorName; | 217 const char* fFBFetchColorName; |
218 const char* fFBFetchExtensionString; | 218 const char* fFBFetchExtensionString; |
219 | 219 |
220 uint32_t fMaxVertexSamplers; | 220 int fMaxVertexSamplers; |
221 uint32_t fMaxGeometrySamplers; | 221 int fMaxGeometrySamplers; |
222 uint32_t fMaxFragmentSamplers; | 222 int fMaxFragmentSamplers; |
223 uint32_t fMaxCombinedSamplers; | 223 int fMaxCombinedSamplers; |
224 | 224 |
225 AdvBlendEqInteraction fAdvBlendEqInteraction; | 225 AdvBlendEqInteraction fAdvBlendEqInteraction; |
226 | 226 |
227 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt]; | 227 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt]; |
228 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt]; | 228 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt]; |
229 | 229 |
230 uint8_t fSamplerPrecisions[(1 << kGrShaderTypeCount)][kGrPixelConfigCnt]; | 230 uint8_t fSamplerPrecisions[(1 << kGrShaderTypeCount)][kGrPixelConfigCnt]; |
231 | 231 |
232 friend class GrGLCaps; // For initialization. | 232 friend class GrGLCaps; // For initialization. |
233 friend class GrVkCaps; | 233 friend class GrVkCaps; |
234 | 234 |
235 typedef GrShaderCaps INHERITED; | 235 typedef GrShaderCaps INHERITED; |
236 }; | 236 }; |
237 | 237 |
238 #endif | 238 #endif |
OLD | NEW |