OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 #ifndef GrVkCaps_DEFINED | 8 #ifndef GrVkCaps_DEFINED |
9 #define GrVkCaps_DEFINED | 9 #define GrVkCaps_DEFINED |
10 | 10 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 kTextureable_Flag = 0x1, | 94 kTextureable_Flag = 0x1, |
95 kRenderable_Flag = 0x2, | 95 kRenderable_Flag = 0x2, |
96 kBlitSrc_Flag = 0x4, | 96 kBlitSrc_Flag = 0x4, |
97 kBlitDst_Flag = 0x8, | 97 kBlitDst_Flag = 0x8, |
98 }; | 98 }; |
99 | 99 |
100 uint16_t fOptimalFlags; | 100 uint16_t fOptimalFlags; |
101 uint16_t fLinearFlags; | 101 uint16_t fLinearFlags; |
102 }; | 102 }; |
103 ConfigInfo fConfigTable[kGrPixelConfigCnt]; | 103 ConfigInfo fConfigTable[kGrPixelConfigCnt]; |
104 | 104 |
105 StencilFormat fPreferedStencilFormat; | 105 StencilFormat fPreferedStencilFormat; |
106 | 106 |
107 // Tells of if we can pass in straight GLSL string into vkCreateShaderModule | 107 // Tells of if we can pass in straight GLSL string into vkCreateShaderModule |
108 bool fCanUseGLSLForShaderModule; | 108 bool fCanUseGLSLForShaderModule; |
109 | 109 |
110 typedef GrCaps INHERITED; | 110 typedef GrCaps INHERITED; |
111 }; | 111 }; |
112 | 112 |
113 #endif | 113 #endif |
OLD | NEW |