diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-08-22 02:12:21 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-08-22 02:16:02 +0100 |
commit | a3e59b9d06bcad6b1ab741ee659a4db0d119d5ef (patch) | |
tree | 6a53bcf79c3e19d91b46aa9f09b0621d768d9d47 /src/gallium/state_trackers/dri/dri_drawable.h | |
parent | 6237ac2412b08a3b6239203be69ce542335ae47e (diff) | |
download | external_mesa3d-a3e59b9d06bcad6b1ab741ee659a4db0d119d5ef.zip external_mesa3d-a3e59b9d06bcad6b1ab741ee659a4db0d119d5ef.tar.gz external_mesa3d-a3e59b9d06bcad6b1ab741ee659a4db0d119d5ef.tar.bz2 |
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.
Diffstat (limited to 'src/gallium/state_trackers/dri/dri_drawable.h')
-rw-r--r-- | src/gallium/state_trackers/dri/dri_drawable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/dri_drawable.h b/src/gallium/state_trackers/dri/dri_drawable.h index dfd0b87..eaf0b95 100644 --- a/src/gallium/state_trackers/dri/dri_drawable.h +++ b/src/gallium/state_trackers/dri/dri_drawable.h @@ -46,6 +46,8 @@ struct dri_drawable unsigned attachments[8]; unsigned num_attachments; + boolean is_pixmap; + __DRIbuffer old[8]; unsigned old_num; unsigned old_w; |