From: Varad Gautam
allow creating EGLImages with dmabuf format modifiers when target is
EGL_LINUX_DMA_BUF_EXT for EGL_EXT_image_dma_buf_import_modifiers.
v2:
- clear modifier assembling and error label name (Eric Engestrom)
v3:
- remove goto jumps within switch-case (Emil Velikov)
- treat
From: Pekka Paalanen
Rather than hardcoding 3, use a #define. Makes it easier to bump this
later to 4.
Signed-off-by: Pekka Paalanen
Signed-off-by: Varad Gautam
Reviewed-by: Eric Engestrom
---
src/egl/drivers/dri2/egl_dri2.c | 8
src/egl/main/eglimage.h | 8 +---
2
From: Varad Gautam
these allow querying the driver for supported dmabuf formats and
modifiers.
v2: move to __DRIimageExtension version 16.
v3: return GLBoolean for error reporting, document params better.
Signed-off-by: Varad Gautam
---
include/GL/internal/dri_interface.h | 42
From: Varad Gautam
ask the driver for supported dmabuf formats
v2: rebase to master.
v3: return false on failure.
v4: use pscreen->is_format_supported instead of adding a new query.
(Lucas Stach)
Signed-off-by: Varad Gautam
---
src/gallium/state_trackers/dri/dri2.c |
From: Varad Gautam
allow egl clients to query the dmabuf formats supported on this platform.
v2: rebase to master.
v3: return EGL_FALSE upon failure.
Signed-off-by: Louis-Francis Ratté-Boulianne
Signed-off-by: Varad Gautam
---
src/egl/drivers/dri2/egl_dri2.c | 18 ++
src/egl
From: Varad Gautam
ask the driver for supported modifiers for a given format.
bump __DRIimageExtension to 16.
v2: move to __DRIimageExtension v16.
v3: fail if the supplied format is not supported by driver.
v4: purge PIPE_CAP_QUERY_DMABUF_ATTRIBS.
Signed-off-by: Varad Gautam
---
src/gallium
From: Varad Gautam
query and return supported dmabuf format modifiers for
EGL_EXT_image_dma_buf_import_modifiers.
v2: rebase to master.
v3: move format check to the driver instead of making format queries
from here and then checking.
Signed-off-by: Varad Gautam
---
src/egl/drivers/dri2
From: Varad Gautam
format modifiers tokens are driver specific, and hence, need to come
in from the driver. this allows drivers to be queried for supported
format modifiers for EGL_EXT_image_dma_buf_import_modifiers.
v2: rebase to master.
v3: drivers must return false on query failure.
v4: use
From: Varad Gautam
Signed-off-by: Varad Gautam
---
src/egl/drivers/dri2/egl_dri2.c | 6 ++
src/egl/main/eglapi.c | 1 +
2 files changed, 7 insertions(+)
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 7f0edf6..853b6e5 100644
--- a/src/egl
On Thu, May 11, 2017 at 10:26 PM, Ben Widawsky wrote:
> On 17-05-10 23:15:29, Varad Gautam wrote:
>>
>> From: Ben Widawsky
>>
>> Modifiers will be obtained or guessed by the client and passed in during
>> image creation/import.
>>
>> As of this pa
atch/155312/
complete tree, with the egl series:
https://git.collabora.com/cgit/user/varad/mesa.git/log/?h=egl-modifiers-v4
Signed-off-by: Varad Gautam
---
src/gallium/include/pipe/p_screen.h | 13 ++
src/gallium/state_trackers/dri/dri2.c | 80 ---
2 files
Hi Lucas,
On Fri, May 12, 2017 at 4:22 PM, Lucas Stach wrote:
> Hi Varad,
>
> Am Freitag, den 12.05.2017, 15:11 +0530 schrieb Varad Gautam:
>> gallium doesn't have a way to pass modifiers to the driver when creating
>> resources. we require this to sup
pf = PIPE_FORMAT_RGBX_UNORM;
> + break;
> case __DRI_IMAGE_FORMAT_ABGR:
> pf = PIPE_FORMAT_RGBA_UNORM;
>break;
Reviewed-by: Varad Gautam
> --
> 2.13.1.518.g3df882009-goog
>
> ___
> mesa-dev mailing list
Hi Ben,
On Wed, Jan 4, 2017 at 3:25 AM, Ben Widawsky wrote:
> On 16-11-24 20:50:37, Varad Gautam wrote:
>>
>> This is the second revision to the EGL_EXT_image_dma_buf_import_modifiers
>> [1]
>> series at [2], addressing the comments received. This diverges from v1
From: Varad Gautam
these allow querying the driver for supported dmabuf formats and
modifiers.
v2: move to __DRIimageExtension version 16.
Signed-off-by: Varad Gautam
---
include/GL/internal/dri_interface.h | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff
From: Varad Gautam
allow egl clients to query the dmabuf formats supported on this platform.
v2: rebase to master.
Signed-off-by: Louis-Francis Ratté-Boulianne
Signed-off-by: Varad Gautam
---
src/egl/drivers/dri2/egl_dri2.c | 17 +
src/egl/main/eglapi.c | 18
From: Varad Gautam
ask the driver for supported modifiers for a given format.
bump __DRIimageExtension to 16.
v2: move to __DRIimageExtension v16.
Signed-off-by: Varad Gautam
---
src/gallium/state_trackers/dri/dri2.c | 21 -
1 file changed, 20 insertions(+), 1 deletion
From: Varad Gautam
ask the driver for supported dmabuf formats
v2: rebase to master.
Signed-off-by: Varad Gautam
---
src/gallium/state_trackers/dri/dri2.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/src/gallium/state_trackers/dri/dri2.c
b/src/gallium/state_trackers
From: Varad Gautam
support importing dmabufs into DRIimage while taking format modifiers
in account, and bump __DRIimageExtension on gallium to version 15.
v2: move to __DRIimageExtension v15.
Signed-off-by: Varad Gautam
---
src/gallium/include/state_tracker/drm_driver.h | 2 ++
src/gallium
From: Varad Gautam
allows drivers to be queried for supported formats and format
modifiers for EGL_EXT_image_dma_buf_import_modifiers. drivers that
implement format/modifier queries must advertise these under
PIPE_CAP_QUERY_DMABUF_ATTRIBS.
v2: rebase to master.
Signed-off-by: Varad Gautam
From: Pekka Paalanen
add createImageFromDmaBufs2 function which accepts per-plane dmabuf
format modifiers.
v2: resolve DRIimage version conflict by moving
createImageFromDmaBufs2 to v15.
Signed-off-by: Pekka Paalanen
Signed-off-by: Varad Gautam
---
include/GL/internal/dri_interface.h
From: Varad Gautam
v2: check for both queryDmaBufFormats and queryDmaBufModifiers,
rebase to master.
Signed-off-by: Varad Gautam
---
src/egl/drivers/dri2/egl_dri2.c | 6 ++
src/egl/main/eglapi.c | 1 +
2 files changed, 7 insertions(+)
diff --git a/src/egl/drivers/dri2
From: Varad Gautam
query and return supported dmabuf format modifiers for
EGL_EXT_image_dma_buf_import_modifiers.
v2: rebase to master.
Signed-off-by: Varad Gautam
---
src/egl/drivers/dri2/egl_dri2.c | 47 +
src/egl/main/eglapi.c | 20
101 - 123 of 123 matches
Mail list logo