diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-04-16 05:55:33 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-04-16 14:53:25 -0700 |
commit | 22da7aa9d743deee198aaf6df5d370a446db9763 (patch) | |
tree | 0506426983d14e5606b0fd8c9323701dcde15a94 /hw | |
parent | f0006aa58f6cf7552a239e169ff6e7e4fda532f4 (diff) |
glx: Let the resource system destroy pixmaps
GLX pbuffers are implemented using a pixmap allocated by the server.
With the change to DRI2 to track DRI2 drawables as resources, we need to make
sure that every drawable we create a DRI2 drawable for has an XID. By
using the XID of the pbuffer, the resource system will automatically
reclaim the hidden pixmap and the DRI2 drawable when the pbuffer is
destroyed or the client exits.
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions