Re: [PATCH weston 1/9] gl-renderer: support format and modifier queries

2016-11-21 Thread Daniel Stone
Hi Varad, On 17 November 2016 at 11:55, Varad Gautam wrote: > @@ -1847,6 +1851,69 @@ import_dmabuf(struct gl_renderer *gr, > } > > static bool > +gl_renderer_query_dmabuf_formats(struct weston_compositor *wc, > + int **formats, int *num_formats) > +{ > + stru

Re: [PATCH weston 1/9] gl-renderer: support format and modifier queries

2016-11-21 Thread Daniel Stone
On 21 November 2016 at 20:07, Daniel Stone wrote: > On 17 November 2016 at 11:55, Varad Gautam wrote: >> +static bool >> +gl_renderer_query_dmabuf_modifiers(struct weston_compositor *wc, int format, >> + uint64_t **modifiers, >> +

[PATCH weston 1/9] gl-renderer: support format and modifier queries

2016-11-17 Thread Varad Gautam
From: Varad Gautam EGL_EXT_image_dma_buf_import_modifiers allows querying the formats and modifiers supported by the platform. expose these to the compositor. Signed-off-by: Varad Gautam --- libweston/compositor.h | 7 libweston/gl-renderer.c| 84 +