| 
              
d917f771
               | 
              
2025-09-01T18:44:34
               | 
              
               | 
              
Vulkan: Simplify/Fix DmaBufImageSiblingVkLinux import probing
Remove the multi-format probing logic in DmaBufImageSiblingVkLinux.
Use the renderer’s base VkFormat and a single check with
VkImageFormatListCreateInfo, instead of looping over mVkFormats with
mutable/non-mutable combinations. This cuts down redundant queries
and streamlines initImpl.
Also, this CL fixes some issues occur when mapping DRM format into
Vulkan backend formats.
- Default to SampleOnly but prefer Renderable if the modifier properties
exposes both sampling and rendering, since usage at import time is
unknown.
- Fix emulated-format handling issue by using getIntendedFormatID() and
getActualImageFormatID() instead of deriving both IDs from VkFormat with
GetFormatIDFromVkFormat() directly.
Bug: angleproject:442313595
Bug: angleproject:426475684
Change-Id: Ia38d8e7901da10948a2c15eb284b055359dd4a2d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6904888
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: mohan maiya <m.maiya@samsung.com>
               | 
            
            
              
   
               | 
              
616a341b
               | 
              
2025-08-26T13:56:40
               | 
              
               | 
              
Vulkan: Set EGL_NATIVE_VISUAL_ID for EGL_KHR_platform_gbm
Spec requires EGLConfig on GBM platform to report a GBM color format in
EGL_NATIVE_VISUAL_ID. Previously this field was left unset. This change
ensures compliance by assigning the appropriate GBM color format.
Bug: angleproject:7829
Change-Id: I6c5a23374824c444e0de0b6592ea31eb855722e4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6882716
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
               | 
            
            
              
   
               | 
              
98b0855b
               | 
              
2023-09-08T10:50:58
               | 
              
               | 
              
Add drm format ABGR16161616F to linux
We need to support drm 16f formats for lacros HDR.
Bug: chromium:1473267
Change-Id: Idd3cb5e75e1fabf046c8aa21a6b7f51aafde15e7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4851773
Reviewed-by: Peng Huang <penghuang@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
               | 
            
            
              
   
               | 
              
8882feeb
               | 
              
2023-06-13T09:24:23
               | 
              
               | 
              
common: linux: add support for DRM_FORMAT_NV12
In DrmFourCCFormatToVkFormats convert DRM_FORMAT_NV12 to
VK_FORMAT_G8_B8R8_2PLANE_420_UNORM.
DmaBufImageSiblingVkLinux can already consume it.
BUG: b/277798516
Change-Id: I3173763101cf926fb2277651918631ec4de76e96
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4604507
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
               | 
            
            
              
   
               | 
              
e005fbc0
               | 
              
2023-06-08T23:27:27
               | 
              
               | 
              
Vulkan: make GetFormatModifierProperties non-fatal for fallback check
DmaBufImageSiblingVkLinux::initWithFormat is used to fallback like:
- mutable format + srgb
- mutable format + unorm
- non-mutable srgb
- non-mutable unorm
However, it never fallbacks since GetFormatModifierProperties bails.So
this change has made it non-fatal to allow fallback behavior.
Meanwhile, this change updates the fallback order to use unorm as actual
format first to favor most common scenarios.
Bug: b/277798516
Change-Id: I60283590d85b27d55010cb2f5a2cc13d4df1ac9c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4603208
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Romaric Jodin <rjodin@chromium.org>
               | 
            
            
              
   
               | 
              
9ded03b4
               | 
              
2022-12-20T07:09:36
               | 
              
               | 
              
Revert "Vulkan: Make available GLInternalFormatToGbmFourCCFormat"
This reverts commit 402e7f7a634b1170d0feae52a44168731a7489f9.
Reason for revert: Chromium android-binary-size build failed.
Original change's description:
> Vulkan: Make available GLInternalFormatToGbmFourCCFormat
>
> GLInternalFormatToGbmFourCCFormat() is not available on Linux
> because of the guard with the wrong definition, ANGLE_USES_GBM.
> This also fixes build errors that were occurred after enabling.
>
> Bug: angleproject:7829
> Change-Id: If7c7543270cc127945149927be0fc3ffdd49163b
> Signed-off-by: Sungyong Choi <sywow.choi@samsung.com>
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4022963
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Jeff Vigil <j.vigil@samsung.com>
> Commit-Queue: mohan maiya <m.maiya@samsung.com>
> Reviewed-by: mohan maiya <m.maiya@samsung.com>
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Bug: angleproject:7901
Bug: angleproject:7829
Change-Id: I256d51f78ff0d3ced9920c3ea1d2bfceba43a1ee
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4113577
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
               | 
            
            
              
   
               | 
              
402e7f7a
               | 
              
2022-11-11T15:51:55
               | 
              
               | 
              
Vulkan: Make available GLInternalFormatToGbmFourCCFormat
GLInternalFormatToGbmFourCCFormat() is not available on Linux
because of the guard with the wrong definition, ANGLE_USES_GBM.
This also fixes build errors that were occurred after enabling.
Bug: angleproject:7829
Change-Id: If7c7543270cc127945149927be0fc3ffdd49163b
Signed-off-by: Sungyong Choi <sywow.choi@samsung.com>
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4022963
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jeff Vigil <j.vigil@samsung.com>
Commit-Queue: mohan maiya <m.maiya@samsung.com>
Reviewed-by: mohan maiya <m.maiya@samsung.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
               | 
            
            
              
   
               | 
              
f54e7ee6
               | 
              
2022-08-25T09:57:22
               | 
              
               | 
              
Vulkan: Add Native ID to GBM configs
Add GBM/DRM FourCC codes for Config Native ID
Bug: angleproject:7605
Change-Id: I9ef32a6e342fd0eb51ba3b1311556f5a3a6b9b9b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3857830
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
               | 
            
            
              
   
               | 
              
36f5e6ce
               | 
              
2022-05-03T12:08:35
               | 
              
               | 
              
Vulkan: Fix DRM to GL format conversion
Do not ignore unused alpha channel for a proper conversion from DRM to
GL to Vulkan format.
Bug: angleproject:7217
Change-Id: I598ae030005e7375b36c6456864150aa8aaf50c1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3624139
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
               | 
            
            
              
   
               | 
              
2fb58a95
               | 
              
2022-02-15T15:40:23
               | 
              
               | 
              
Re-land: "Vulkan: GBM platform"
Add support for GBM platform by implementing a Display with no WSI
extension.
Re-land fixes build script, including GBM Vulkan backend whenever ozone
platform GBM is enabled.
Bug: angleproject:7217
Change-Id: Icbf2d034b700e22ab4c351e479f472d65d832ebe
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3637562
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
               | 
            
            
              
   
               | 
              
0db4c39b
               | 
              
2022-05-09T20:02:58
               | 
              
               | 
              
Revert "Vulkan: GBM platform"
This reverts commit 825d5b2c59b463253c82262a0c50f75d28860db4.
Reason for revert: Fails link rolling into Chrome crrev.com/c/3635013
https://ci.chromium.org/ui/p/chromium/builders/try/chromeos-amd64-generic-rel/1149608/overview
https://ci.chromium.org/ui/p/chromium/builders/try/linux-chromeos-compile-dbg/1013047/overview
https://ci.chromium.org/ui/p/chromium/builders/try/linux-chromeos-rel/1189185/overview
Original change's description:
> Vulkan: GBM platform
>
> Add support for GBM platform by implementing a Display with no WSI
> extension.
>
> Bug: angleproject:7217
> Change-Id: Ia9089131c5984dfdd926d2f85f1c218df1e84d9a
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3596042
> Commit-Queue: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Bug: angleproject:7217
Change-Id: Ia8a4ca753a8f18d6a2c607010b5afabf6a78fe9a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3636059
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
               | 
            
            
              
   
               | 
              
825d5b2c
               | 
              
2022-02-15T15:40:23
               | 
              
               | 
              
Vulkan: GBM platform
Add support for GBM platform by implementing a Display with no WSI
extension.
Bug: angleproject:7217
Change-Id: Ia9089131c5984dfdd926d2f85f1c218df1e84d9a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3596042
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
               | 
            
            
              
   
               | 
              
0c272c67
               | 
              
2022-03-15T15:42:39
               | 
              
               | 
              
Vulkan: VkFormat/DrmFourCC
Add functions to perform a lossy conversion from VkFormat to DrmFourCC
and to convert a VkFormat to one or more DrmFourCC formats. Compilation
only happens when Vulkan is actually enabled.
Bug: angleproject:7065
Change-Id: I97c4585b9032e1ff4f773c3c427541bf7f6117fe
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3525754
Auto-Submit: Antonio Caggiano <antonio.caggiano@collabora.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
               | 
            
            
              
   
               | 
              
0f2482ff
               | 
              
2022-03-15T14:09:11
               | 
              
               | 
              
Revert "Vulkan: VkFormat/DrmFourCC"
This reverts commit daef95775f7b6dc3bdb0a40662fcb36b68ebf501.
Reason for revert: Breaking roll into Skia due to missing Vk headers.
Original change's description:
> Vulkan: VkFormat/DrmFourCC
>
> Add functions to perform a lossy conversion from VkFormat to DrmFourCC
> and to convert a VkFormat to one or more DrmFourCC formats.
>
> Bug: angleproject:7065
> Change-Id: Iecccea6a89fbf8adeb50c3cb0c737ad3aedf7c62
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3495123
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
> Auto-Submit: Antonio Caggiano <antonio.caggiano@collabora.com>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Commit-Queue: Jamie Madill <jmadill@chromium.org>
Bug: angleproject:7065
Change-Id: I7cbad4277929717c211f70435cd6e462f11e4bda
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3525813
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
               | 
            
            
              
   
               | 
              
daef9577
               | 
              
2022-01-05T19:55:50
               | 
              
               | 
              
Vulkan: VkFormat/DrmFourCC
Add functions to perform a lossy conversion from VkFormat to DrmFourCC
and to convert a VkFormat to one or more DrmFourCC formats.
Bug: angleproject:7065
Change-Id: Iecccea6a89fbf8adeb50c3cb0c737ad3aedf7c62
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3495123
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Auto-Submit: Antonio Caggiano <antonio.caggiano@collabora.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
               | 
            
            
              
   
               | 
              
458389f2
               | 
              
2021-09-02T22:41:40
               | 
              
               | 
              
Vulkan: Support Linux dma-bufs
This change adds support for EGL_EXT_image_dma_buf_import and
EGL_EXT_image_dma_buf_import_modifiers on top of Vulkan's
VK_EXT_external_memory_dma_buf and VK_EXT_image_drm_format_modifier.
Bug: angleproject:6248
Change-Id: I581987f88e9ddcf351dc721f499f63912dca05f9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3145610
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
               |