dri2: release texture image.
authorJuan Zhao <juan.j.zhao@intel.com>
Sun, 9 Jan 2011 17:03:02 +0000 (12:03 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 9 Jan 2011 19:55:16 +0000 (14:55 -0500)
commite59fa4c46c8857f2e04447777dd197464c95b2cb
treedc08db1f93c23b4600f2071b7ddc985910a12052
parentfb9c6e681f91c986b7cbe2d6e9f6baceda00c415
dri2: release texture image.

Add release function for texture_from_pixmap extension.
Some platform need to release texture image for texture_from_pixmap
extension, add this interface for those platforms.
include/GL/internal/dri_interface.h
src/egl/drivers/dri2/egl_dri2.c
src/glx/dri2_glx.c