Repository navigation
(release/25.0) glamor/glamor_egl: Add a fallback path to glamor_gbm_bo_from_pixmap_internal - #4010
Open
metux wants to merge 1 commit into
Conversation
…internal` nvidia's gbm backend has issues dealing with importing a gbm bo directly from an EGLImage This exports the image as dmabufs and imports a bo from dmabufs This is needed for DRI3 export on nvidia Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/14047 v2: Don't pass usage flags Reviewed-by: James Jones <jajones@nvidia.com> Signed-off-by: stefan11111 <stefan11111github@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2321> (cherry picked from commit b522485)
metux
pushed a commit
that referenced
this pull request
Oct 16, 2026
…rom_pixmap_internal` nvidia's gbm backend has issues dealing with importing a gbm bo directly from an EGLImage This exports the image as dmabufs and imports a bo from dmabufs This is needed for DRI3 export on nvidia Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/14047 v2: Don't pass usage flags Reviewed-by: James Jones <jajones@nvidia.com> Signed-off-by: stefan11111 <stefan11111github@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2321> (cherry picked from commit b522485) PR: #4010
Contributor
Author
Summary: Adds an EGL_MESA_image_dma_buf_export fallback path in glamor_gbm_bo_from_pixmap_internal() (glamor_egl.c). When the primary Assessment:
Label: bot-review-passed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nvidia's gbm backend has issues dealing with importing a gbm bo directly from an EGLImage
This exports the image as dmabufs and imports a bo from dmabufs
This is needed for DRI3 export on nvidia
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/14047
v2: Don't pass usage flags
Reviewed-by: James Jones jajones@nvidia.com
Signed-off-by: stefan11111 stefan11111github@gmail.com
Part-of: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2321
(cherry picked from commit b522485)