Comment 34 for bug 927168

Revision history for this message
In , Jfonseca-e (jfonseca-e) wrote :

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.