diff options
author | Gurchetan Singh <[email protected]> | 2019-08-21 15:07:28 -0700 |
---|---|---|
committer | Gurchetan Singh <[email protected]> | 2020-01-13 14:57:27 -0800 |
commit | 34fe560cd6ddbaf320da2adac452c8d6cdd9b8c0 (patch) | |
tree | 287bb13e10c7818565ffaccb8889ba8f29697860 /src/mesa/drivers/dri/i965/intel_screen.c | |
parent | bf576772ab4d9e76dae716640bed6de879f19567 (diff) |
i965: track if image is created by a dmabuf
Will be used by EXT_EGL_image_storage later.
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 64f1d888442..7bb2e195d62 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -1277,6 +1277,7 @@ intel_create_image_from_dma_bufs2(__DRIscreen *dri_screen, image->sample_range = sample_range; image->horizontal_siting = horizontal_siting; image->vertical_siting = vertical_siting; + image->imported_dmabuf = true; *error = __DRI_IMAGE_ERROR_SUCCESS; return image; |