Re: [PATCH xserver 11/11] glamor: Stop holding on to the EGLImage for textures.

2015-11-09 Thread Michel Dänzer
On 07.11.2015 05:52, Eric Anholt wrote: > We used to cache the EGLImage to be able to return an fd again faster, > but now we keep the gbm bo on hand to do so. > > One concern might be if the early destruction of the EGLImage meant > orphaning. However, the EGL_KHR_image_base spec text says: > >

[PATCH xserver 11/11] glamor: Stop holding on to the EGLImage for textures.

2015-11-06 Thread Eric Anholt
We used to cache the EGLImage to be able to return an fd again faster, but now we keep the gbm bo on hand to do so. One concern might be if the early destruction of the EGLImage meant orphaning. However, the EGL_KHR_image_base spec text says: Once destroyed, may not be used to create any