st/dri: Find out if the drawable is a pixmap
authorJakob Bornecrantz <jakob@vmware.com>
Sat, 22 Aug 2009 01:12:21 +0000 (02:12 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Sat, 22 Aug 2009 01:16:02 +0000 (02:16 +0100)
commita3e59b9d06bcad6b1ab741ee659a4db0d119d5ef
tree6a53bcf79c3e19d91b46aa9f09b0621d768d9d47
parent6237ac2412b08a3b6239203be69ce542335ae47e
st/dri: Find out if the drawable is a pixmap

Part of this code is disabled since no performance gains
where detected with it enabled.

This code only detects if it is a pixmap that it is
rendering to on the st/xorg DDX since it sets the fake
front to the same handle as front.
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/dri/dri_drawable.h