From: Pauli Nieminen <[email protected]> Based on previous review comments I updated the patches.
Main change is the code to track the client life explicitly from Christopher. I tough that DRI2DrawableRef held same information but it can't practically used. That modification required quite some changes in other parts. The change also increments info structure version number and changes the interface towards drivers so that it is possible to have same driver running after and before the change if driver supports this version of DRI2. I also included the minor improvements ideas from Christopher. Christopher James Halse Rogers (2): DRI2: Reference count buffers across SwapBuffers DRI2: Track clients' outstanding swap requests. Pauli Nieminen (8): DRI2: Free DRI2 drawable references in DRI2DestroyDrawable dri2: Refactor interface to take DRI2DrawablePtr dri2: Change driver interface to support DRI2Drawable dri2: Add reference counting to DRI2 dri2: Keep DRI2Drawable resource allocated until creator frees it dri2: Send events only to known clients dri2: copy front to fake front in SwapBuffers glx: Cleanup DRI2Drawable glx/glxdri2.c | 29 ++- hw/xfree86/dri2/dri2.c | 482 ++++++++++++++++++++++++++++++++------------- hw/xfree86/dri2/dri2.h | 95 ++++++++-- hw/xfree86/dri2/dri2ext.c | 117 +++++++----- 4 files changed, 513 insertions(+), 210 deletions(-) _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
