Hello, The patch avoids a glthread sync for pixel transfer operations from/to PBO.
Initial patch was based on regular expression. This new version uses XML attributes as suggest by Timothy. Besides it marks the memory pointer as a constant parameter. Otherwise it will trigger a memcpy from PBO offset. PS: Timothy you can discard the patch that I sent you on your old collabora mail. I forgot to update my alias ;) Gregory Hainaut (1): mesa glthread: allow asynchronous pixel transfer operation when a buffer is bound src/mapi/glapi/gen/ARB_direct_state_access.xml | 16 +++++++-------- src/mapi/glapi/gen/ARB_robustness.xml | 2 +- src/mapi/glapi/gen/gl_API.dtd | 10 +++++---- src/mapi/glapi/gen/gl_API.xml | 28 +++++++++++++------------- src/mapi/glapi/gen/gl_marshal.py | 25 ++++++++++++++++++++++- src/mapi/glapi/gen/marshal_XML.py | 19 ++++++++++++----- src/mesa/main/glthread.h | 10 +++++++++ src/mesa/main/marshal.c | 16 ++++++++++++--- 8 files changed, 90 insertions(+), 36 deletions(-) -- 2.1.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev