mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
Add the fixed-rate compression ratios exposed by GL and Vulkan to the flags for gbm_bo and gbm_surface creation, and intersect these with the list of supplied modifiers to add another filter. Although gbm_surface could support this by the EGLSurface flags in EGL_EXT_surface_compression, gbm_bo cannot: it allocates a buffer first and then imports it into the consuming API post-hoc, after the modifier is already (must be) known. It seems more important to keep the gbm_surface and gbm_bo APIs in sync, so keep the responsibility for filtering on the GBM side. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27109> |
||
|---|---|---|
| .. | ||
| backends/dri | ||
| main | ||
| gbm-symbols.txt | ||
| meson.build | ||