1 // Copyright (C) 2018 The Android Open Source Project
2 // Copyright (C) 2018 Google Inc.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 
16 // Autogenerated module func_table
17 // (header) generated by android/android-emugl/host/libs/libOpenglRender/vulkan-registry/xml/genvk.py -registry android/android-emugl/host/libs/libOpenglRender/vulkan-registry/xml/vk.xml cereal -o android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
18 // Please do not modify directly;
19 // re-run android/scripts/generate-vulkan-sources.sh,
20 // or directly from Python by defining:
21 // VULKAN_REGISTRY_XML_DIR : Directory containing genvk.py and vk.xml
22 // CEREAL_OUTPUT_DIR: Where to put the generated sources.
23 // python3 $VULKAN_REGISTRY_XML_DIR/genvk.py -registry $VULKAN_REGISTRY_XML_DIR/vk.xml cereal -o $CEREAL_OUTPUT_DIR
24 
25 #pragma once
26 
27 #include <vulkan/vulkan.h>
28 
29 
30 
31 namespace goldfish_vk {
32 
33 #ifdef VK_VERSION_1_0
34 #endif
35 #ifdef VK_VERSION_1_1
36 #endif
37 #ifdef VK_KHR_surface
38 #endif
39 #ifdef VK_KHR_swapchain
40 #endif
41 #ifdef VK_KHR_display
42 #endif
43 #ifdef VK_KHR_display_swapchain
44 #endif
45 #ifdef VK_KHR_xlib_surface
46 #endif
47 #ifdef VK_KHR_xcb_surface
48 #endif
49 #ifdef VK_KHR_wayland_surface
50 #endif
51 #ifdef VK_KHR_mir_surface
52 #endif
53 #ifdef VK_KHR_android_surface
54 #endif
55 #ifdef VK_KHR_win32_surface
56 #endif
57 #ifdef VK_KHR_sampler_mirror_clamp_to_edge
58 #endif
59 #ifdef VK_KHR_multiview
60 #endif
61 #ifdef VK_KHR_get_physical_device_properties2
62 #endif
63 #ifdef VK_KHR_device_group
64 #endif
65 #ifdef VK_KHR_shader_draw_parameters
66 #endif
67 #ifdef VK_KHR_maintenance1
68 #endif
69 #ifdef VK_KHR_device_group_creation
70 #endif
71 #ifdef VK_KHR_external_memory_capabilities
72 #endif
73 #ifdef VK_KHR_external_memory
74 #endif
75 #ifdef VK_KHR_external_memory_win32
76 #endif
77 #ifdef VK_KHR_external_memory_fd
78 #endif
79 #ifdef VK_KHR_win32_keyed_mutex
80 #endif
81 #ifdef VK_KHR_external_semaphore_capabilities
82 #endif
83 #ifdef VK_KHR_external_semaphore
84 #endif
85 #ifdef VK_KHR_external_semaphore_win32
86 #endif
87 #ifdef VK_KHR_external_semaphore_fd
88 #endif
89 #ifdef VK_KHR_push_descriptor
90 #endif
91 #ifdef VK_KHR_16bit_storage
92 #endif
93 #ifdef VK_KHR_incremental_present
94 #endif
95 #ifdef VK_KHR_descriptor_update_template
96 #endif
97 #ifdef VK_KHR_create_renderpass2
98 #endif
99 #ifdef VK_KHR_shared_presentable_image
100 #endif
101 #ifdef VK_KHR_external_fence_capabilities
102 #endif
103 #ifdef VK_KHR_external_fence
104 #endif
105 #ifdef VK_KHR_external_fence_win32
106 #endif
107 #ifdef VK_KHR_external_fence_fd
108 #endif
109 #ifdef VK_KHR_maintenance2
110 #endif
111 #ifdef VK_KHR_get_surface_capabilities2
112 #endif
113 #ifdef VK_KHR_variable_pointers
114 #endif
115 #ifdef VK_KHR_get_display_properties2
116 #endif
117 #ifdef VK_KHR_dedicated_allocation
118 #endif
119 #ifdef VK_KHR_storage_buffer_storage_class
120 #endif
121 #ifdef VK_KHR_relaxed_block_layout
122 #endif
123 #ifdef VK_KHR_get_memory_requirements2
124 #endif
125 #ifdef VK_KHR_image_format_list
126 #endif
127 #ifdef VK_KHR_sampler_ycbcr_conversion
128 #endif
129 #ifdef VK_KHR_bind_memory2
130 #endif
131 #ifdef VK_KHR_maintenance3
132 #endif
133 #ifdef VK_KHR_draw_indirect_count
134 #endif
135 #ifdef VK_KHR_8bit_storage
136 #endif
137 #ifdef VK_KHR_shader_float16_int8
138 #endif
139 #ifdef VK_ANDROID_native_buffer
140 #endif
141 #ifdef VK_EXT_debug_report
142 #endif
143 #ifdef VK_NV_glsl_shader
144 #endif
145 #ifdef VK_EXT_depth_range_unrestricted
146 #endif
147 #ifdef VK_IMG_filter_cubic
148 #endif
149 #ifdef VK_AMD_rasterization_order
150 #endif
151 #ifdef VK_AMD_shader_trinary_minmax
152 #endif
153 #ifdef VK_AMD_shader_explicit_vertex_parameter
154 #endif
155 #ifdef VK_EXT_debug_marker
156 #endif
157 #ifdef VK_AMD_gcn_shader
158 #endif
159 #ifdef VK_NV_dedicated_allocation
160 #endif
161 #ifdef VK_AMD_draw_indirect_count
162 #endif
163 #ifdef VK_AMD_negative_viewport_height
164 #endif
165 #ifdef VK_AMD_gpu_shader_half_float
166 #endif
167 #ifdef VK_AMD_shader_ballot
168 #endif
169 #ifdef VK_AMD_texture_gather_bias_lod
170 #endif
171 #ifdef VK_AMD_shader_info
172 #endif
173 #ifdef VK_AMD_shader_image_load_store_lod
174 #endif
175 #ifdef VK_IMG_format_pvrtc
176 #endif
177 #ifdef VK_NV_external_memory_capabilities
178 #endif
179 #ifdef VK_NV_external_memory
180 #endif
181 #ifdef VK_NV_external_memory_win32
182 #endif
183 #ifdef VK_NV_win32_keyed_mutex
184 #endif
185 #ifdef VK_EXT_validation_flags
186 #endif
187 #ifdef VK_NN_vi_surface
188 #endif
189 #ifdef VK_EXT_shader_subgroup_ballot
190 #endif
191 #ifdef VK_EXT_shader_subgroup_vote
192 #endif
193 #ifdef VK_EXT_conditional_rendering
194 #endif
195 #ifdef VK_NVX_device_generated_commands
196 #endif
197 #ifdef VK_NV_clip_space_w_scaling
198 #endif
199 #ifdef VK_EXT_direct_mode_display
200 #endif
201 #ifdef VK_EXT_acquire_xlib_display
202 #endif
203 #ifdef VK_EXT_display_surface_counter
204 #endif
205 #ifdef VK_EXT_display_control
206 #endif
207 #ifdef VK_GOOGLE_display_timing
208 #endif
209 #ifdef VK_NV_sample_mask_override_coverage
210 #endif
211 #ifdef VK_NV_geometry_shader_passthrough
212 #endif
213 #ifdef VK_NV_viewport_array2
214 #endif
215 #ifdef VK_NVX_multiview_per_view_attributes
216 #endif
217 #ifdef VK_NV_viewport_swizzle
218 #endif
219 #ifdef VK_EXT_discard_rectangles
220 #endif
221 #ifdef VK_EXT_conservative_rasterization
222 #endif
223 #ifdef VK_EXT_swapchain_colorspace
224 #endif
225 #ifdef VK_EXT_hdr_metadata
226 #endif
227 #ifdef VK_MVK_ios_surface
228 #endif
229 #ifdef VK_MVK_macos_surface
230 #endif
231 #ifdef VK_EXT_external_memory_dma_buf
232 #endif
233 #ifdef VK_EXT_queue_family_foreign
234 #endif
235 #ifdef VK_EXT_debug_utils
236 #endif
237 #ifdef VK_ANDROID_external_memory_android_hardware_buffer
238 #endif
239 #ifdef VK_EXT_sampler_filter_minmax
240 #endif
241 #ifdef VK_AMD_gpu_shader_int16
242 #endif
243 #ifdef VK_AMD_mixed_attachment_samples
244 #endif
245 #ifdef VK_AMD_shader_fragment_mask
246 #endif
247 #ifdef VK_EXT_shader_stencil_export
248 #endif
249 #ifdef VK_EXT_sample_locations
250 #endif
251 #ifdef VK_EXT_blend_operation_advanced
252 #endif
253 #ifdef VK_NV_fragment_coverage_to_color
254 #endif
255 #ifdef VK_NV_framebuffer_mixed_samples
256 #endif
257 #ifdef VK_NV_fill_rectangle
258 #endif
259 #ifdef VK_EXT_post_depth_coverage
260 #endif
261 #ifdef VK_EXT_validation_cache
262 #endif
263 #ifdef VK_EXT_descriptor_indexing
264 #endif
265 #ifdef VK_EXT_shader_viewport_index_layer
266 #endif
267 #ifdef VK_EXT_global_priority
268 #endif
269 #ifdef VK_EXT_external_memory_host
270 #endif
271 #ifdef VK_AMD_buffer_marker
272 #endif
273 #ifdef VK_AMD_shader_core_properties
274 #endif
275 #ifdef VK_EXT_vertex_attribute_divisor
276 #endif
277 #ifdef VK_NV_shader_subgroup_partitioned
278 #endif
279 #ifdef VK_NV_device_diagnostic_checkpoints
280 #endif
281 #ifdef VK_GOOGLE_address_space
282 #endif
283 #ifdef VK_GOOGLE_color_buffer
284 #endif
285 #ifdef VK_GOOGLE_sized_descriptor_update_template
286 #endif
287 #ifdef VK_GOOGLE_async_command_buffers
288 #endif
289 #ifdef VK_GOOGLE_create_resources_with_requirements
290 #endif
291 #ifdef VK_GOOGLE_address_space_info
292 #endif
293 #ifdef VK_GOOGLE_free_memory_sync
294 #endif
295 #ifdef VK_GOOGLE_async_queue_submit
296 #endif
297 void* goldfish_vulkan_get_proc_address(const char* name);
298 void* goldfish_vulkan_get_instance_proc_address(VkInstance instance, const char* name);
299 void* goldfish_vulkan_get_device_proc_address(VkDevice device, const char* name);
300 
301 } // namespace goldfish_vk
302