| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change lists the vulkan color space that is said
to be supported by VK_EXT_swapchain_colorspace extension,
and enable them on the VkFormat that is supported by
AHardwareBuffer.
VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT and
VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT are enabled on
VK_FORMAT_R16G16B16A16_SFLOAT VkFormat surfaces only
as the transfer function is only meaningful for FP16
pixel formats.
VK_COLOR_SPACE_PASS_THROUGH_EXT is the only
VK_EXT_swapchain_colorspace color space that is enabled
on VK_FORMAT_R8_UNORM VkFormat. Color space doesn't
apply to single-channel pixel format, and we should
use pass through to keep the original pixel color value.
VK_COLOR_SPACE_DOLBYVISION_EXT is not supported on
Android platform, and it is excluded from the
VK_EXT_swapchain_colorspace supported color space
lists.
Bug: b/322044839
Test: atest --verbose CtsViewTestCases:android.view.cts.TextureViewTest
Change-Id: I6ee3cbf9c6c61fc353ec9f3e515884645382c665
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT is not enabled
on any VkFormat. This means ANGLE on Vulkan is not exposing
EGL_EXT_gl_colorspace_display_p3_linear EGL colorspace,
because ANGLE's query of VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
vulkan color space returns nothing. This causes
TextureViewTest that relies on
EGL_EXT_gl_colorspace_display_p3_linear color space support
to fail on ANGLE. To fix it, enable the
VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT color space on
VK_FORMAT_R16G16B16A16_SFLOAT VkFormat first.
Test: atest --verbose CtsViewTestCases:android.view.cts.TextureViewTest
Bug: b/322044839
Change-Id: I95b6b425aef4b7870797e406dce59f596f1f50c3
|
| |
|
|
|
|
| |
Test: atest --verbose CtsViewTestCases:android.view.cts.TextureViewTest#testGetBitmap_FP16_PassthroughP3
Bug: b/322044839
Change-Id: Ic1dfec7ea8d128881077a3c00f7454230f15f3a3
|
| |
|
|
|
|
| |
Bug: 288286529
Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.wsi.*'
Change-Id: I2ee886b18b194016e638f44907aa8e2fdcb8fe6e
|
| |
|
|
|
|
| |
Bug: 282237072
Test: Compile with asserts disabled
Change-Id: Ideed507af4f6422db32f85c5ef70d8c62d21d5c9
|
| |
|
|
|
|
|
|
| |
Bug: 313353712
Bug: 316517849
Bug: 296019634
Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.wsi.*'
Change-Id: I0726b39aacaba87a531af9bef23c8a214bc38425
|
| |
|
|
|
|
| |
Bug: 275906506
Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.wsi.*'
Change-Id: I9c7d28fe3498f77001d8b6512462fa7787305abf
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
When using vkGetPhysicalDeviceImageFormatProperties2KHR to query usage
flags, pass the application provided VkImageCompressionControlEXT struct
to get the correct usage flags.
Bug: 307696078
Change-Id: Idcad0589a1e05bd8e7574fbb1bdd1346aad325f9
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: a4f2d92c23 am: 1a18312ba9 am: 3093fae8e8
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2818498
Change-Id: I61f92db0772295c0355e3ece91d8964b356aa1ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: a4f2d92c23
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2818498
Change-Id: I84f10f2dcbdbdbac513e6c387cb9160dc96a4eca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When ro.vulkan.apex is set, loader tries to load driver from the apex. This
enables vulkan driver to be packaged in APEX.
Bug: 205618237
Bug: 306294280
Test: cvd start -gpu_mode=guest_swiftshader
# load vulkan.pastel from apex.
Change-Id: I63feb6d55fb9918b95d3cff0d9ffa0d004e94645
|
| |\| | |
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
am: 84e6863205
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2825857
Change-Id: I341887a0ee410693bf7f6e0d02b2a5b8e91a14b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2825857
Change-Id: Id94e4d8297d5fb778b2b537ce90988dabbd77fc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, it prints dlerror even when it succeeds, which leads to a
misleading log entry.
Bug: n/a
Test: cvd start -gpu_mode=guest_swiftshader
Change-Id: I6eaf9df6b3fc5c848c999847d712391e6d8b1633
|
| | | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 291102124
Merged-In: I9b175092d433fc6d7b22b437a09d76d3d2e0ce14
Change-Id: If8a2897a99b111ba107f33c19537d40bcbdc802e
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
d6bfad2e5c am: 1ce442f909 am: b7ed28c921 am: 29ce9507f7
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2719664
Change-Id: Id28551fb8218e01bb2024daba1e9c8ab1cd3aa7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
d6bfad2e5c am: 1ce442f909
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2719664
Change-Id: Ife0f4fb96e18a72a4884a1422931347aa017baad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- EGL_EXT_BT2020_LINEAR should be mapped to extend bt2020 linear if
output format is FP16.
Bug: 261485283
Test: builds
Change-Id: Ifd68cc10afc0b5b38b15af2a938d02bb3bcd3764
Merged-In: Ifd68cc10afc0b5b38b15af2a938d02bb3bcd3764
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
extensions" into main am: 64b1cfe27c am: e36d57bc65
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2702989
Change-Id: I6403163b14d62b50232d1197ecb2b14e946efe13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For any instance extension that a Vulkan driver supports, if a
VkInstance is created with that extension listed multiple times, the
2nd-nth times should be ignored. That avoids overwriting an array in
CreateInfoWrapper::FilterExtension().
Test: Manual testing with logcat
Bug: 288929054
Change-Id: I096a6752e0f4abef868efdb6f8b4bcbd0c0c79cd
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
Refactoring HAL Dataspace to AIDL Dataspace
Bump android.hardware.graphics.common V4->V5
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 291142745
Test: Build
Change-Id: Icfa9562f03d58c4cb8d90151c3c5a4617c404375
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 259437988
Change-Id: I9ae19978c7ea5f73292343fb187395ed5dbde270
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use dlclose instead of android::CloseNativeLibrary if there's no need to use
nativeloader function. The service failed to load VVLs because
libnativeloader.so that has android::CloseNativeLibrary was inaccessible.
Bug: 300877075
Change-Id: I8fcacbc5b550d8ea723201a407db003caa5f4cff
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 296019634
Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.wsi.*'
Change-Id: Ie690fdb87c42d1000550d3f92fb7d0527cba3ca9
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
min_undequeued_buffers is already added in GetPhysicalDeviceSurfaceCapabilities2KHR
Meaning that it was getting counted a second time in VkCreateSwapchainKHR
Bug: 296019634
Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.wsi.*'
Change-Id: I298b0f6dfe257ff94d8831e9ac9832c830bfc4b8
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 296019634
Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.wsi.*'
Change-Id: I0e814068290c543ef3046a57d30d4ee070aa9d33
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
udc-qpr-dev am: 1700661aa2 am: ad3bdaf790
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/24392472
Change-Id: I3241c49cc7a71c9981a9cfd5e8b25c88bc63818e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
udc-qpr-dev am: 1700661aa2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/24392472
Change-Id: I6c1841e31896563e636a98f4435a1925c7d64b0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
udc-qpr-dev
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
For any instance extension that a Vulkan driver supports, if a
VkInstance is created with that extension listed multiple times, the
2nd-nth times should be ignored. That avoids overwriting an array in
CreateInfoWrapper::FilterExtension().
Test: Manual testing with logcat
Bug: 288929054
Change-Id: I096a6752e0f4abef868efdb6f8b4bcbd0c0c79cd
Merged-In: I096a6752e0f4abef868efdb6f8b4bcbd0c0c79cd
|
| |\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
8433f63b92 am: c9a2145f5c am: 4d7fbe86fe am: 4a333f32e9 am: f3503e6587
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2701953
Change-Id: I4ed0469652e1975947ecfa3c7ee3381c78f8995a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\ \ \ \ \ \
| | | |_|/ / /
| | |/| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
8433f63b92 am: c9a2145f5c am: 4d7fbe86fe am: 4a333f32e9
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2701953
Change-Id: I80ab72047da73021f1e403fc2f2493bf6241ac09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\ \ \ \ \
| | | | |_|/ /
| | | |/| | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
8433f63b92 am: c9a2145f5c
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2701953
Change-Id: I78c3215f3ca32af3d787a51cbf6a86bd500dac84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
bionic hard codes the PAGE_SIZE macro as 4096. This is going away as
Android begins to support larger page sizes. Remove the usage of this
assumption from libvulkan source; use instead getpagesize() which
provides the real pagesize.
Test: mma
Bug: 295227858
Change-Id: Ie7c2c2f47d8c61c7495dbd3d88bb63ccf7a74063
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
|
| |\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
92edf5398b am: 3cee757220
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/24314871
Change-Id: Iac4ddf3161d414da318d47bd626efaa76140bd23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\ \ \ \ \ \
| | | |_|/ / /
| | |/| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
92edf5398b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/24314871
Change-Id: I9d2741c1448e31d11a518083bf6033dd963d7d20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | |_|/ /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 288286529
Test: Build
Change-Id: I8091d9c4db11394b85ceb1d266f97d35a00cc246
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- EGL_EXT_BT2020_LINEAR should be mapped to extend bt2020 linear if
output format is FP16.
Bug: 261485283
Test: builds
Change-Id: Ifd68cc10afc0b5b38b15af2a938d02bb3bcd3764
|
| |\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
39a9427c02 am: a442c73691 am: 92b2ae9ed2 am: 9453eecc42
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2656945
Change-Id: Id5ac4dfacfc3faddc928cd2f0e8223dc9701ce4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\| |
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
39a9427c02 am: a442c73691
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2656945
Change-Id: I471b9548f3cbe3926b061b6a06d556cd77f7ea84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 291142745
Test: Build
Change-Id: I3abe992f7d7cd2a79704a3189958e51b3c2f0bdb
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
flags
The previous implementation of the vulkan swapchain incorrectly implemented
vkGetPhysicalDeviceSurfaceFormats2KHR. As a workaround at least one
driver vendor resorted to a code workaround in their driver to correct
the bad call in flight.
The failure was during a call to vkGetDeviceImageFormatProperties2 where
the swapchain was failing to include the correct image usage and image
type, along with a failure to include the correct image compression
flags.
This CL amends the mistake to add these missing components to the vulkan
vkGetDeviceImageFormatProperties2 call.
Any driver vendors that have not yet finalized their image compression
implementations will benefit from not needing to add an android specific
workaround for this bug. The CL as written does not require the driver
workaround that was already written to be revised. The driver will work
correctly without source changes. When the driver is updated the
workaround can cleanly be removed without side-effects.
Bug: 288100893
Test: dEQP-VK.api.image_compression_control.swapchain.android
Change-Id: Id10e5f3e42ae4e16b2cf4874a0ff4e0e2f21cd2d
|
| | |
| |
| |
| |
| |
| | |
Bug: 284807752
Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.wsi.android.maintenance1.release_images.*'
Change-Id: I36bd7a3dac8f8a3f6b913733fbd0ba140ee0b092
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Platform API contract ensures VkSurfaceKHR is created with a new or
disconnected ANativeWindow. Then the first swapchain created against the
new surface can skip the disconnect/connect of the native window, which
saves 2 binder IPC calls.
In theory, the same can be skipped until the first successful present
call. We dirty the bit at the end of swapchain creation to avoid extra
external synchronization.
Bug: 275176234
Bug: 265763295
Test: no deadlock against ANGLE eglCreateWindowSurface
Change-Id: Ic2d09e4547e0ec7e910863c77a4657d52e9366fd
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added processing the situation when native_window_get_refresh_cycle_duration returns
error in CreateSwapchainKHR.
Bug: 271795577
Test: dEQP-VK.wsi.android.display_timing.mailbox.display_timing and CtsDeqpTestCases:include-filter:dEQP-VK.wsi.android.display_timing.fifo.display_timing pass
Test: other existing dEQP-VK.wsi.* tests still pass
Change-Id: Ib990ab1178dea9d75c27028ed1df2b91b3a7cabb
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
7ac34d3210 am: 56df2453e7 am: 600b5dd247
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2472765
Change-Id: I31739e231f1f5d554e72a301333b246d6473ed82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|