• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_VERSION_1_2
38 #endif
39 #ifdef VK_KHR_surface
40 #endif
41 #ifdef VK_KHR_swapchain
42 #endif
43 #ifdef VK_KHR_display
44 #endif
45 #ifdef VK_KHR_display_swapchain
46 #endif
47 #ifdef VK_KHR_xlib_surface
48 #endif
49 #ifdef VK_KHR_xcb_surface
50 #endif
51 #ifdef VK_KHR_wayland_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_shader_float16_int8
92 #endif
93 #ifdef VK_KHR_16bit_storage
94 #endif
95 #ifdef VK_KHR_incremental_present
96 #endif
97 #ifdef VK_KHR_descriptor_update_template
98 #endif
99 #ifdef VK_KHR_imageless_framebuffer
100 #endif
101 #ifdef VK_KHR_create_renderpass2
102 #endif
103 #ifdef VK_KHR_shared_presentable_image
104 #endif
105 #ifdef VK_KHR_external_fence_capabilities
106 #endif
107 #ifdef VK_KHR_external_fence
108 #endif
109 #ifdef VK_KHR_external_fence_win32
110 #endif
111 #ifdef VK_KHR_external_fence_fd
112 #endif
113 #ifdef VK_KHR_performance_query
114 #endif
115 #ifdef VK_KHR_maintenance2
116 #endif
117 #ifdef VK_KHR_get_surface_capabilities2
118 #endif
119 #ifdef VK_KHR_variable_pointers
120 #endif
121 #ifdef VK_KHR_get_display_properties2
122 #endif
123 #ifdef VK_KHR_dedicated_allocation
124 #endif
125 #ifdef VK_KHR_storage_buffer_storage_class
126 #endif
127 #ifdef VK_KHR_relaxed_block_layout
128 #endif
129 #ifdef VK_KHR_get_memory_requirements2
130 #endif
131 #ifdef VK_KHR_image_format_list
132 #endif
133 #ifdef VK_KHR_sampler_ycbcr_conversion
134 #endif
135 #ifdef VK_KHR_bind_memory2
136 #endif
137 #ifdef VK_KHR_portability_subset
138 #endif
139 #ifdef VK_KHR_maintenance3
140 #endif
141 #ifdef VK_KHR_draw_indirect_count
142 #endif
143 #ifdef VK_KHR_shader_subgroup_extended_types
144 #endif
145 #ifdef VK_KHR_8bit_storage
146 #endif
147 #ifdef VK_KHR_shader_atomic_int64
148 #endif
149 #ifdef VK_KHR_shader_clock
150 #endif
151 #ifdef VK_KHR_driver_properties
152 #endif
153 #ifdef VK_KHR_shader_float_controls
154 #endif
155 #ifdef VK_KHR_depth_stencil_resolve
156 #endif
157 #ifdef VK_KHR_swapchain_mutable_format
158 #endif
159 #ifdef VK_KHR_timeline_semaphore
160 #endif
161 #ifdef VK_KHR_vulkan_memory_model
162 #endif
163 #ifdef VK_KHR_shader_terminate_invocation
164 #endif
165 #ifdef VK_KHR_fragment_shading_rate
166 #endif
167 #ifdef VK_KHR_spirv_1_4
168 #endif
169 #ifdef VK_KHR_surface_protected_capabilities
170 #endif
171 #ifdef VK_KHR_separate_depth_stencil_layouts
172 #endif
173 #ifdef VK_KHR_uniform_buffer_standard_layout
174 #endif
175 #ifdef VK_KHR_buffer_device_address
176 #endif
177 #ifdef VK_KHR_deferred_host_operations
178 #endif
179 #ifdef VK_KHR_pipeline_executable_properties
180 #endif
181 #ifdef VK_KHR_pipeline_library
182 #endif
183 #ifdef VK_KHR_shader_non_semantic_info
184 #endif
185 #ifdef VK_KHR_copy_commands2
186 #endif
187 #ifdef VK_ANDROID_native_buffer
188 #endif
189 #ifdef VK_EXT_debug_report
190 #endif
191 #ifdef VK_NV_glsl_shader
192 #endif
193 #ifdef VK_EXT_depth_range_unrestricted
194 #endif
195 #ifdef VK_IMG_filter_cubic
196 #endif
197 #ifdef VK_AMD_rasterization_order
198 #endif
199 #ifdef VK_AMD_shader_trinary_minmax
200 #endif
201 #ifdef VK_AMD_shader_explicit_vertex_parameter
202 #endif
203 #ifdef VK_EXT_debug_marker
204 #endif
205 #ifdef VK_AMD_gcn_shader
206 #endif
207 #ifdef VK_NV_dedicated_allocation
208 #endif
209 #ifdef VK_EXT_transform_feedback
210 #endif
211 #ifdef VK_NVX_image_view_handle
212 #endif
213 #ifdef VK_AMD_draw_indirect_count
214 #endif
215 #ifdef VK_AMD_negative_viewport_height
216 #endif
217 #ifdef VK_AMD_gpu_shader_half_float
218 #endif
219 #ifdef VK_AMD_shader_ballot
220 #endif
221 #ifdef VK_AMD_texture_gather_bias_lod
222 #endif
223 #ifdef VK_AMD_shader_info
224 #endif
225 #ifdef VK_AMD_shader_image_load_store_lod
226 #endif
227 #ifdef VK_GGP_stream_descriptor_surface
228 #endif
229 #ifdef VK_NV_corner_sampled_image
230 #endif
231 #ifdef VK_IMG_format_pvrtc
232 #endif
233 #ifdef VK_NV_external_memory_capabilities
234 #endif
235 #ifdef VK_NV_external_memory
236 #endif
237 #ifdef VK_NV_external_memory_win32
238 #endif
239 #ifdef VK_NV_win32_keyed_mutex
240 #endif
241 #ifdef VK_EXT_validation_flags
242 #endif
243 #ifdef VK_NN_vi_surface
244 #endif
245 #ifdef VK_EXT_shader_subgroup_ballot
246 #endif
247 #ifdef VK_EXT_shader_subgroup_vote
248 #endif
249 #ifdef VK_EXT_texture_compression_astc_hdr
250 #endif
251 #ifdef VK_EXT_astc_decode_mode
252 #endif
253 #ifdef VK_EXT_conditional_rendering
254 #endif
255 #ifdef VK_NV_clip_space_w_scaling
256 #endif
257 #ifdef VK_EXT_direct_mode_display
258 #endif
259 #ifdef VK_EXT_acquire_xlib_display
260 #endif
261 #ifdef VK_EXT_display_surface_counter
262 #endif
263 #ifdef VK_EXT_display_control
264 #endif
265 #ifdef VK_GOOGLE_display_timing
266 #endif
267 #ifdef VK_NV_sample_mask_override_coverage
268 #endif
269 #ifdef VK_NV_geometry_shader_passthrough
270 #endif
271 #ifdef VK_NV_viewport_array2
272 #endif
273 #ifdef VK_NVX_multiview_per_view_attributes
274 #endif
275 #ifdef VK_NV_viewport_swizzle
276 #endif
277 #ifdef VK_EXT_discard_rectangles
278 #endif
279 #ifdef VK_EXT_conservative_rasterization
280 #endif
281 #ifdef VK_EXT_depth_clip_enable
282 #endif
283 #ifdef VK_EXT_swapchain_colorspace
284 #endif
285 #ifdef VK_EXT_hdr_metadata
286 #endif
287 #ifdef VK_MVK_ios_surface
288 #endif
289 #ifdef VK_MVK_macos_surface
290 #endif
291 #ifdef VK_MVK_moltenvk
292 #endif
293 #ifdef VK_EXT_external_memory_dma_buf
294 #endif
295 #ifdef VK_EXT_queue_family_foreign
296 #endif
297 #ifdef VK_EXT_debug_utils
298 #endif
299 #ifdef VK_ANDROID_external_memory_android_hardware_buffer
300 #endif
301 #ifdef VK_EXT_sampler_filter_minmax
302 #endif
303 #ifdef VK_AMD_gpu_shader_int16
304 #endif
305 #ifdef VK_AMD_mixed_attachment_samples
306 #endif
307 #ifdef VK_AMD_shader_fragment_mask
308 #endif
309 #ifdef VK_EXT_inline_uniform_block
310 #endif
311 #ifdef VK_EXT_shader_stencil_export
312 #endif
313 #ifdef VK_EXT_sample_locations
314 #endif
315 #ifdef VK_EXT_blend_operation_advanced
316 #endif
317 #ifdef VK_NV_fragment_coverage_to_color
318 #endif
319 #ifdef VK_NV_framebuffer_mixed_samples
320 #endif
321 #ifdef VK_NV_fill_rectangle
322 #endif
323 #ifdef VK_NV_shader_sm_builtins
324 #endif
325 #ifdef VK_EXT_post_depth_coverage
326 #endif
327 #ifdef VK_EXT_image_drm_format_modifier
328 #endif
329 #ifdef VK_EXT_validation_cache
330 #endif
331 #ifdef VK_EXT_descriptor_indexing
332 #endif
333 #ifdef VK_EXT_shader_viewport_index_layer
334 #endif
335 #ifdef VK_NV_shading_rate_image
336 #endif
337 #ifdef VK_NV_ray_tracing
338 #endif
339 #ifdef VK_NV_representative_fragment_test
340 #endif
341 #ifdef VK_EXT_filter_cubic
342 #endif
343 #ifdef VK_QCOM_render_pass_shader_resolve
344 #endif
345 #ifdef VK_EXT_global_priority
346 #endif
347 #ifdef VK_EXT_external_memory_host
348 #endif
349 #ifdef VK_AMD_buffer_marker
350 #endif
351 #ifdef VK_AMD_pipeline_compiler_control
352 #endif
353 #ifdef VK_EXT_calibrated_timestamps
354 #endif
355 #ifdef VK_AMD_shader_core_properties
356 #endif
357 #ifdef VK_AMD_memory_overallocation_behavior
358 #endif
359 #ifdef VK_EXT_vertex_attribute_divisor
360 #endif
361 #ifdef VK_GGP_frame_token
362 #endif
363 #ifdef VK_EXT_pipeline_creation_feedback
364 #endif
365 #ifdef VK_NV_shader_subgroup_partitioned
366 #endif
367 #ifdef VK_NV_compute_shader_derivatives
368 #endif
369 #ifdef VK_NV_mesh_shader
370 #endif
371 #ifdef VK_NV_fragment_shader_barycentric
372 #endif
373 #ifdef VK_NV_shader_image_footprint
374 #endif
375 #ifdef VK_NV_scissor_exclusive
376 #endif
377 #ifdef VK_NV_device_diagnostic_checkpoints
378 #endif
379 #ifdef VK_INTEL_shader_integer_functions2
380 #endif
381 #ifdef VK_INTEL_performance_query
382 #endif
383 #ifdef VK_EXT_pci_bus_info
384 #endif
385 #ifdef VK_AMD_display_native_hdr
386 #endif
387 #ifdef VK_FUCHSIA_imagepipe_surface
388 #endif
389 #ifdef VK_EXT_metal_surface
390 #endif
391 #ifdef VK_EXT_fragment_density_map
392 #endif
393 #ifdef VK_EXT_scalar_block_layout
394 #endif
395 #ifdef VK_GOOGLE_hlsl_functionality1
396 #endif
397 #ifdef VK_GOOGLE_decorate_string
398 #endif
399 #ifdef VK_EXT_subgroup_size_control
400 #endif
401 #ifdef VK_AMD_shader_core_properties2
402 #endif
403 #ifdef VK_AMD_device_coherent_memory
404 #endif
405 #ifdef VK_EXT_shader_image_atomic_int64
406 #endif
407 #ifdef VK_EXT_memory_budget
408 #endif
409 #ifdef VK_EXT_memory_priority
410 #endif
411 #ifdef VK_NV_dedicated_allocation_image_aliasing
412 #endif
413 #ifdef VK_EXT_buffer_device_address
414 #endif
415 #ifdef VK_EXT_tooling_info
416 #endif
417 #ifdef VK_EXT_separate_stencil_usage
418 #endif
419 #ifdef VK_EXT_validation_features
420 #endif
421 #ifdef VK_NV_cooperative_matrix
422 #endif
423 #ifdef VK_NV_coverage_reduction_mode
424 #endif
425 #ifdef VK_EXT_fragment_shader_interlock
426 #endif
427 #ifdef VK_EXT_ycbcr_image_arrays
428 #endif
429 #ifdef VK_EXT_full_screen_exclusive
430 #endif
431 #ifdef VK_EXT_headless_surface
432 #endif
433 #ifdef VK_EXT_line_rasterization
434 #endif
435 #ifdef VK_EXT_shader_atomic_float
436 #endif
437 #ifdef VK_EXT_host_query_reset
438 #endif
439 #ifdef VK_EXT_index_type_uint8
440 #endif
441 #ifdef VK_EXT_extended_dynamic_state
442 #endif
443 #ifdef VK_EXT_shader_demote_to_helper_invocation
444 #endif
445 #ifdef VK_NV_device_generated_commands
446 #endif
447 #ifdef VK_EXT_texel_buffer_alignment
448 #endif
449 #ifdef VK_QCOM_render_pass_transform
450 #endif
451 #ifdef VK_EXT_device_memory_report
452 #endif
453 #ifdef VK_EXT_robustness2
454 #endif
455 #ifdef VK_EXT_custom_border_color
456 #endif
457 #ifdef VK_GOOGLE_user_type
458 #endif
459 #ifdef VK_EXT_private_data
460 #endif
461 #ifdef VK_EXT_pipeline_creation_cache_control
462 #endif
463 #ifdef VK_NV_device_diagnostics_config
464 #endif
465 #ifdef VK_QCOM_render_pass_store_ops
466 #endif
467 #ifdef VK_NV_fragment_shading_rate_enums
468 #endif
469 #ifdef VK_EXT_fragment_density_map2
470 #endif
471 #ifdef VK_QCOM_rotated_copy_commands
472 #endif
473 #ifdef VK_EXT_image_robustness
474 #endif
475 #ifdef VK_EXT_4444_formats
476 #endif
477 #ifdef VK_EXT_directfb_surface
478 #endif
479 #ifdef VK_GOOGLE_gfxstream
480 #endif
481 #ifdef VK_KHR_acceleration_structure
482 #endif
483 #ifdef VK_KHR_ray_tracing_pipeline
484 #endif
485 #ifdef VK_KHR_ray_query
486 #endif
487 void* goldfish_vulkan_get_proc_address(const char* name);
488 void* goldfish_vulkan_get_instance_proc_address(VkInstance instance, const char* name);
489 void* goldfish_vulkan_get_device_proc_address(VkDevice device, const char* name);
490 
491 } // namespace goldfish_vk
492