Re: [PATCH xserver] glamor: an FBO is not needed for Xv pixmaps

2017-04-21 Thread Eric Anholt
Olivier Fourdan writes: > It appears that on some hardware/diver combo such as nv30/nouveau, using > GL_ALPHA as format for 8-bit depth will cause an incomplete attachment > error (GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT) when trying to bind the > texture. > > As a result, the

[PATCH xserver] glamor: an FBO is not needed for Xv pixmaps

2017-04-21 Thread Olivier Fourdan
It appears that on some hardware/diver combo such as nv30/nouveau, using GL_ALPHA as format for 8-bit depth will cause an incomplete attachment error (GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT) when trying to bind the texture. As a result, the FBO is NULL and glamor segfaults when trying to access the