[Mesa-dev] [PATCH] Faster glthread with persistant PBO

Gregory Hainaut gregory.hainaut at gmail.com
Fri Mar 17 09:25:36 UTC 2017


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



More information about the mesa-dev mailing list