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