OSDN Git Service

[dri2] Add tail pointer to reemitDrawableInfo callback.
authorKristian Høgsberg <krh@redhat.com>
Tue, 4 Mar 2008 00:08:26 +0000 (19:08 -0500)
committerKristian Høgsberg <krh@redhat.com>
Tue, 4 Mar 2008 00:16:20 +0000 (19:16 -0500)
commit3d608c7a2d451b862ae19b1e01d7299b2c46fe78
tree34ce532a5287a39ce714a46d2afd495ae79f6b58
parent4f7a75cc8a6cee7763b2d92e3d34858c3de7bd4f
[dri2] Add tail pointer to reemitDrawableInfo callback.

When the DRI doesn't parse the event buffer for a while, the X server
may overwrite data that the driver didn't get a chance to look at.  The
reemitDrawableInfo callback requests that the X server reemit all info
for the specified drawable.  To make use of this, the drive needs to know
the new tail pointer so it know where to start reading from.
include/GL/internal/dri_interface.h
src/mesa/drivers/dri/common/dri_util.c