mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 04:30:22 +01:00
Prior to this commit, the stride, offset and modifier were fetched
via WINSYS_HANDLE_TYPE_KMS. However we can't make such a query
succeed if the buffer couldn't be imported to the KMS device.
Instead, implement the resource_get_param hook to allow users to
fetch this information without WINSYS_HANDLE_TYPE_KMS.
A tiny helper function is introduced to compute the modifier of a
resource.
Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes:
|
||
|---|---|---|
| .. | ||
| deqp-v3d-rpi4-fails.txt | ||
| deqp-v3d-rpi4-flakes.txt | ||
| deqp-v3d-rpi4-gles.toml | ||
| deqp-v3dv-rpi4-fails.txt | ||
| deqp-v3dv-rpi4-flakes.txt | ||
| deqp-v3dv-rpi4-skips.txt | ||
| deqp-vc4-rpi3-fails.txt | ||
| deqp-vc4-rpi3-flakes.txt | ||
| deqp-vc4-rpi3-gles.toml | ||
| deqp-vc4-rpi3-skips.txt | ||
| gitlab-ci.yml | ||
| piglit-v3d-rpi4-fails.txt | ||
| piglit-v3d-rpi4-flakes.txt | ||
| piglit-v3d-rpi4-skips.txt | ||
| piglit-vc4-rpi3-fails.txt | ||
| piglit-vc4-rpi3-flakes.txt | ||
| piglit-vc4-rpi3-skips.txt | ||