[Mesa-dev] [PATCH 0/3] Sync Object changes for gles3conform

Jordan Justen jordan.l.justen at intel.com
Tue Dec 4 15:55:01 PST 2012


* main/set.c provides support for tracking a set of pointers.
* Prevent crashes when an invalid sync object pointer is sent
  to sync object functions.
  * Valid pointers are now tracked via a main/set.c instance.
* Change error value generated when an invalid sync object is
  used. (GL_INVALID_OPERATION => GL_INVALID_VALUE)

Eric Anholt (1):
  mesa: add set support (stores a set of pointers)

Jordan Justen (2):
  main/syncobj: return GL_INVALID_VALUE for invalid sync objects
  mesa: validate that sync objects were created by mesa

 src/mesa/SConscript     |    1 +
 src/mesa/main/mtypes.h  |    6 +-
 src/mesa/main/set.c     |  349 +++++++++++++++++++++++++++++++++++++++++++++++
 src/mesa/main/set.h     |   94 +++++++++++++
 src/mesa/main/shared.c  |   12 +-
 src/mesa/main/syncobj.c |   31 +++--
 src/mesa/sources.mak    |    1 +
 7 files changed, 475 insertions(+), 19 deletions(-)
 create mode 100644 src/mesa/main/set.c
 create mode 100644 src/mesa/main/set.h

-- 
1.7.10.4



More information about the mesa-dev mailing list