]> icculus.org git repositories - dana/openbox.git/commit
draw the root pixmap, and bind the glxpixmap to the texture only once
authorDana Jansens <danakj@orodu.net>
Sun, 27 Jun 2010 17:46:47 +0000 (13:46 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 27 Jun 2010 21:17:58 +0000 (17:17 -0400)
commit6cc7dde768887f341a8e66a5db510844349aee7d
treebdc23a044f33f8f0c7e69d667167f51ee1f9f6b6
parent424a752999119a18d8e25bdb75342f0c5617a211
draw the root pixmap, and bind the glxpixmap to the texture only once

NOTE: derek please check my use of glTexEnvi (it seems to be working but idk)
root pixmap comes from _XROOTPMAP_ID and ESETROOT_PMAP_ID
the glxpixmap only needs to be bound to the texture once after the glxpixmap
 is created, so do that rather than every time we draw the texture.
added create_glx_pixmap(), bind_glx_pixmap(), and destroy_glx_pixmap()
 functions in composite.c to help wth this process
added a "bound" variable to ObWindow that tracks if the glxpixmap was
 successfully bound to the texture, so when we destroy the glxpixmap, we can
 tell if we should unbind/release it from the texture
obt/prop.c
obt/prop.h
openbox/composite.c
openbox/composite.h
openbox/event.c
openbox/screen.c
openbox/window.h