IIUC the compiz-core patch
https://i116412274.restricted.launchpadlibrarian.net/116412274/2c4b2354-00dc-11e2-a4a9-002481e91f22.txt?token=60HdnFNMGFc5zJXJwfwH9pN2wg6pmXxn
the fix consisted of not calling glXBindTexImageEXT when
XGetGeometry (dpy, pixmap, ...)
returns false.
https://www.opengl.org/registry/specs/EXT/texture_from_pixmap.txt does say that
"Currently, only pixmaps can be bound to textures. If <draw> is not a valid GLXPixmap, then a GLXBadPixmap error is generated."
so indeed this should be handled better.
This technically is a bug in st/dri though.
IIUC the compiz-core patch
https:/ /i116412274. restricted. launchpadlibrar ian.net/ 116412274/ 2c4b2354- 00dc-11e2- a4a9-002481e91f 22.txt? token=60HdnFNMG Fc5zJXJwfwH9pN2 wg6pmXxn
the fix consisted of not calling glXBindTexImageEXT when
XGetGeometry (dpy, pixmap, ...)
returns false.
https:/ /www.opengl. org/registry/ specs/EXT/ texture_ from_pixmap. txt does say that
"Currently, only pixmaps can be bound to textures. If <draw> is not a
valid GLXPixmap, then a GLXBadPixmap error is generated."
so indeed this should be handled better.
This technically is a bug in st/dri though.