diff options
author | Daniel Stone <[email protected]> | 2019-10-17 13:49:54 +0200 |
---|---|---|
committer | Daniel Stone <[email protected]> | 2019-10-18 09:38:52 +0200 |
commit | 40689f5ac0bf2aecdcbf87103a25aed03ba8640f (patch) | |
tree | 6daea2032021416bd25d99ecddf3d0561120e027 /src/glx/dri_common_query_renderer.c | |
parent | 22859a18d5c802cf2d486ecff4eb32e3bf88786d (diff) |
panfrost: Respect offset for imported resources
When we import a resource through Gallium, we need to take account of
the offset parameter passed.
Fixes a failure seen with the VIVID V4L2 driver, which would create NV12
resources within the same BO, with an offset. Sample pipeline to
reproduce (replace videoN with your actual VIVID device node):
gst-launch-1.0 v4l2src device=/dev/videoN ! video/x-raw,format=NV12 ! glimagesink
Signed-off-by: Daniel Stone <[email protected]>
Reviewed-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reported-by: Nicolas Dufresne <[email protected]>
Tested-by: Nicolas Dufresne <[email protected]>
Diffstat (limited to 'src/glx/dri_common_query_renderer.c')
0 files changed, 0 insertions, 0 deletions