mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Migrate from VkExportDeviceMemoryMAGMA (deprecated). (flutter/engine#4288)
This commit is contained in:
parent
f9ccc371b9
commit
126dd15633
@ -92,9 +92,7 @@ bool VulkanProcTable::SetupInstanceProcAddresses(
|
||||
#if OS_FUCHSIA
|
||||
[this, &handle]() -> bool {
|
||||
ACQUIRE_PROC(CreateMagmaSurfaceKHR, handle);
|
||||
ACQUIRE_PROC(ExportDeviceMemoryMAGMA, handle);
|
||||
ACQUIRE_PROC(GetPhysicalDeviceMagmaPresentationSupportKHR, handle);
|
||||
ACQUIRE_PROC(ImportSemaphoreFuchsiaHandleKHR, handle);
|
||||
return true;
|
||||
}();
|
||||
#endif // OS_FUCHSIA
|
||||
@ -146,7 +144,7 @@ bool VulkanProcTable::SetupDeviceProcAddresses(
|
||||
ACQUIRE_PROC(ResetFences, handle);
|
||||
ACQUIRE_PROC(WaitForFences, handle);
|
||||
#if OS_FUCHSIA
|
||||
ACQUIRE_PROC(ExportDeviceMemoryMAGMA, handle);
|
||||
ACQUIRE_PROC(GetMemoryFuchsiaHandleKHR, handle);
|
||||
ACQUIRE_PROC(ImportSemaphoreFuchsiaHandleKHR, handle);
|
||||
#endif // OS_FUCHSIA
|
||||
device_ = {handle, nullptr};
|
||||
|
||||
@ -116,7 +116,7 @@ class VulkanProcTable : public fxl::RefCountedThreadSafe<VulkanProcTable> {
|
||||
#endif // OS_ANDROID
|
||||
#if OS_FUCHSIA
|
||||
DEFINE_PROC(CreateMagmaSurfaceKHR);
|
||||
DEFINE_PROC(ExportDeviceMemoryMAGMA);
|
||||
DEFINE_PROC(GetMemoryFuchsiaHandleKHR);
|
||||
DEFINE_PROC(GetPhysicalDeviceMagmaPresentationSupportKHR);
|
||||
DEFINE_PROC(ImportSemaphoreFuchsiaHandleKHR);
|
||||
#endif // OS_FUCHSIA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user