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 GrVkUtil_DEFINED | 8 #ifndef GrVkUtil_DEFINED |
9 #define GrVkUtil_DEFINED | 9 #define GrVkUtil_DEFINED |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 #endif | 26 #endif |
27 | 27 |
28 /** | 28 /** |
29 * Returns the vulkan texture format for the given GrPixelConfig | 29 * Returns the vulkan texture format for the given GrPixelConfig |
30 */ | 30 */ |
31 bool GrPixelConfigToVkFormat(GrPixelConfig config, VkFormat* format); | 31 bool GrPixelConfigToVkFormat(GrPixelConfig config, VkFormat* format); |
32 | 32 |
33 bool GrSampleCountToVkSampleCount(uint32_t samples, VkSampleCountFlagBits* vkSam
ples); | 33 bool GrSampleCountToVkSampleCount(uint32_t samples, VkSampleCountFlagBits* vkSam
ples); |
34 | 34 |
35 #endif | 35 #endif |
36 | |
OLD | NEW |