Lines Matching refs:ProcHook

35     if (GetData(device).hook_extensions[ProcHook::EXTENSION_CORE_1_1]) {  in checkedBindImageMemory2()
44 if (GetData(device).hook_extensions[ProcHook::EXTENSION_CORE_1_1]) { in checkedGetDeviceQueue2()
52 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedCreateSwapchainKHR()
61 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedDestroySwapchainKHR()
69 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedGetSwapchainImagesKHR()
78 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedAcquireNextImageKHR()
87 if (GetData(queue).hook_extensions[ProcHook::KHR_swapchain]) { in checkedQueuePresentKHR()
96 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedGetDeviceGroupPresentCapabilitiesKHR()
105 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedGetDeviceGroupSurfacePresentModesKHR()
114 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedAcquireNextImage2KHR()
123 if (GetData(device).hook_extensions[ProcHook::GOOGLE_display_timing]) { in checkedGetRefreshCycleDurationGOOGLE()
132 if (GetData(device).hook_extensions[ProcHook::GOOGLE_display_timing]) { in checkedGetPastPresentationTimingGOOGLE()
141 if (GetData(device).hook_extensions[ProcHook::EXT_hdr_metadata]) { in checkedSetHdrMetadataEXT()
149 if (GetData(device).hook_extensions[ProcHook::KHR_shared_presentable_image]) { in checkedGetSwapchainStatusKHR()
158 if (GetData(device).hook_extensions[ProcHook::KHR_bind_memory2]) { in checkedBindImageMemory2KHR()
168 const ProcHook g_proc_hooks[] = {
172 ProcHook::DEVICE,
173 ProcHook::ANDROID_native_buffer,
179 ProcHook::DEVICE,
180 ProcHook::KHR_swapchain,
186 ProcHook::DEVICE,
187 ProcHook::KHR_swapchain,
193 ProcHook::DEVICE,
194 ProcHook::EXTENSION_CORE_1_0,
200 ProcHook::DEVICE,
201 ProcHook::EXTENSION_CORE_1_1,
207 ProcHook::DEVICE,
208 ProcHook::KHR_bind_memory2,
214 ProcHook::INSTANCE,
215 ProcHook::KHR_android_surface,
221 ProcHook::INSTANCE,
222 ProcHook::EXT_debug_report,
228 ProcHook::INSTANCE,
229 ProcHook::EXTENSION_CORE_1_0,
235 ProcHook::GLOBAL,
236 ProcHook::EXTENSION_CORE_1_0,
242 ProcHook::DEVICE,
243 ProcHook::KHR_swapchain,
249 ProcHook::INSTANCE,
250 ProcHook::EXT_debug_report,
256 ProcHook::INSTANCE,
257 ProcHook::EXT_debug_report,
263 ProcHook::DEVICE,
264 ProcHook::EXTENSION_CORE_1_0,
270 ProcHook::INSTANCE,
271 ProcHook::EXTENSION_CORE_1_0,
277 ProcHook::INSTANCE,
278 ProcHook::KHR_surface,
284 ProcHook::DEVICE,
285 ProcHook::KHR_swapchain,
291 ProcHook::INSTANCE,
292 ProcHook::EXTENSION_CORE_1_0,
298 ProcHook::GLOBAL,
299 ProcHook::EXTENSION_CORE_1_0,
305 ProcHook::INSTANCE,
306 ProcHook::EXTENSION_CORE_1_1,
312 ProcHook::INSTANCE,
313 ProcHook::EXTENSION_CORE_1_0,
319 ProcHook::DEVICE,
320 ProcHook::KHR_swapchain,
326 ProcHook::DEVICE,
327 ProcHook::KHR_swapchain,
333 ProcHook::DEVICE,
334 ProcHook::EXTENSION_CORE_1_0,
340 ProcHook::DEVICE,
341 ProcHook::EXTENSION_CORE_1_0,
347 ProcHook::DEVICE,
348 ProcHook::EXTENSION_CORE_1_1,
354 ProcHook::INSTANCE,
355 ProcHook::EXTENSION_CORE_1_0,
361 ProcHook::DEVICE,
362 ProcHook::GOOGLE_display_timing,
368 ProcHook::INSTANCE,
369 ProcHook::KHR_swapchain,
375 ProcHook::INSTANCE,
376 ProcHook::KHR_get_surface_capabilities2,
382 ProcHook::INSTANCE,
383 ProcHook::KHR_surface,
389 ProcHook::INSTANCE,
390 ProcHook::KHR_get_surface_capabilities2,
396 ProcHook::INSTANCE,
397 ProcHook::KHR_surface,
403 ProcHook::INSTANCE,
404 ProcHook::KHR_surface,
410 ProcHook::INSTANCE,
411 ProcHook::KHR_surface,
417 ProcHook::DEVICE,
418 ProcHook::GOOGLE_display_timing,
424 ProcHook::DEVICE,
425 ProcHook::ANDROID_native_buffer,
431 ProcHook::DEVICE,
432 ProcHook::ANDROID_native_buffer,
438 ProcHook::DEVICE,
439 ProcHook::KHR_swapchain,
445 ProcHook::DEVICE,
446 ProcHook::KHR_shared_presentable_image,
452 ProcHook::DEVICE,
453 ProcHook::KHR_swapchain,
459 ProcHook::DEVICE,
460 ProcHook::ANDROID_native_buffer,
466 ProcHook::DEVICE,
467 ProcHook::EXT_hdr_metadata,
476 const ProcHook* GetProcHook(const char* name) { in GetProcHook()
482 [](const ProcHook& e, const char* n) { return strcmp(e.name, n) < 0; }); in GetProcHook()
486 ProcHook::Extension GetProcHookExtension(const char* name) { in GetProcHookExtension()
488 if (strcmp(name, "VK_ANDROID_native_buffer") == 0) return ProcHook::ANDROID_native_buffer; in GetProcHookExtension()
489 if (strcmp(name, "VK_EXT_debug_report") == 0) return ProcHook::EXT_debug_report; in GetProcHookExtension()
490 if (strcmp(name, "VK_EXT_hdr_metadata") == 0) return ProcHook::EXT_hdr_metadata; in GetProcHookExtension()
491 if (strcmp(name, "VK_EXT_swapchain_colorspace") == 0) return ProcHook::EXT_swapchain_colorspace; in GetProcHookExtension()
492 if (strcmp(name, "VK_GOOGLE_display_timing") == 0) return ProcHook::GOOGLE_display_timing; in GetProcHookExtension()
493 if (strcmp(name, "VK_KHR_android_surface") == 0) return ProcHook::KHR_android_surface; in GetProcHookExtension()
494 if (strcmp(name, "VK_KHR_incremental_present") == 0) return ProcHook::KHR_incremental_present; in GetProcHookExtension()
495 …if (strcmp(name, "VK_KHR_shared_presentable_image") == 0) return ProcHook::KHR_shared_presentable_… in GetProcHookExtension()
496 if (strcmp(name, "VK_KHR_surface") == 0) return ProcHook::KHR_surface; in GetProcHookExtension()
497 if (strcmp(name, "VK_KHR_swapchain") == 0) return ProcHook::KHR_swapchain; in GetProcHookExtension()
498 …if (strcmp(name, "VK_KHR_get_surface_capabilities2") == 0) return ProcHook::KHR_get_surface_capabi… in GetProcHookExtension()
499 …if (strcmp(name, "VK_KHR_get_physical_device_properties2") == 0) return ProcHook::KHR_get_physical… in GetProcHookExtension()
500 …if (strcmp(name, "VK_ANDROID_external_memory_android_hardware_buffer") == 0) return ProcHook::ANDR… in GetProcHookExtension()
501 if (strcmp(name, "VK_KHR_bind_memory2") == 0) return ProcHook::KHR_bind_memory2; in GetProcHookExtension()
503 return ProcHook::EXTENSION_UNKNOWN; in GetProcHookExtension()
520 if (extensions[ProcHook::ext]) \
526 const std::bitset<ProcHook::EXTENSION_COUNT>& extensions) { in InitDriverTable()
550 const std::bitset<ProcHook::EXTENSION_COUNT>& extensions) { in InitDriverTable()