mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
gfxstream: ANDROID --> VK_USE_PLATFORM_ANDROID_KHR
gfxstream mostly uses VK_USE_PLATFROM_ANDROID_KHR to determine the presence of window system extensions. Reviewed-by: David Gilhooley <djgilhooley.gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36826>
This commit is contained in:
parent
651d2fd804
commit
091e2f5ec5
1 changed files with 1 additions and 1 deletions
|
|
@ -7216,7 +7216,7 @@ void ResourceTracker::on_vkGetPhysicalDeviceExternalBufferProperties_common(
|
|||
VkExternalBufferProperties* pExternalBufferProperties) {
|
||||
VkEncoder* enc = (VkEncoder*)context;
|
||||
|
||||
#if defined(ANDROID)
|
||||
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
// Older versions of Goldfish's Gralloc did not support allocating AHARDWAREBUFFER_FORMAT_BLOB
|
||||
// with GPU usage (b/299520213).
|
||||
if (mGralloc->treatBlobAsImage() &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue