Re: [PATCH weston] gl-renderer: Keep track of the GL format used for SHM buffers

2014-04-07 Thread Kristian Høgsberg
On Mon, Apr 07, 2014 at 03:01:01PM +0100, Neil Roberts wrote: > Jason Ekstrand wrote: > > > We may still have a problem if the client changes buffer formats > > mid-stream. Say it starts out with RGB565 to save memory but latter > > decides it wants alpha so it switches to ARGB. We should > >

[PATCH weston] gl-renderer: Keep track of the GL format used for SHM buffers

2014-04-07 Thread Neil Roberts
Jason Ekstrand wrote: > We may still have a problem if the client changes buffer formats > mid-stream. Say it starts out with RGB565 to save memory but latter > decides it wants alpha so it switches to ARGB. We should > probably detect this and make sure glTexImage2D gets called again to > res