[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.
This commit is contained in:
@@ -424,8 +424,9 @@ struct __DRIcoreDRI2ExtensionRec {
|
||||
* specified drawable in the DRI2 event buffer.
|
||||
*
|
||||
* \param draw the drawable for which to request info
|
||||
* \param tail the new event buffer tail pointer
|
||||
*/
|
||||
void (*reemitDrawableInfo)(__DRIdrawable *draw);
|
||||
void (*reemitDrawableInfo)(__DRIdrawable *draw, unsigned int *tail);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user