st/dri/sw: Implement texture_from_pixmap
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Fri, 9 Sep 2011 08:12:23 +0000 (10:12 +0200)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Wed, 2 Nov 2011 14:43:27 +0000 (15:43 +0100)
commit98aa2a8f725e44aec8bd998fe436a134e94f13bb
tree90adc91f3a3528d91d398605843cc6a22d3b4c30
parent0a2afcb754c9d291f13650732a6a40aac1a019f2
st/dri/sw: Implement texture_from_pixmap

This is a cleanup of commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c.

Update tex buffer using a dri_drawable hook from implemented in sw/drisw.c.
This saves us the duplication of dri_drawable.c.

CC: Stuart Abercrombie <sabercrombie@chromium.org>
CC: Stéphane Marchesin <marcheu@chromium.org>
src/gallium/state_trackers/dri/common/dri_drawable.c
src/gallium/state_trackers/dri/common/dri_drawable.h
src/gallium/state_trackers/dri/drm/dri2.c
src/gallium/state_trackers/dri/sw/drisw.c