st: add ST_FLUSH_WAIT to st_context_flush()
authorCharmaine Lee <charmainel@vmware.com>
Sat, 18 Feb 2017 09:19:23 +0000 (01:19 -0800)
committerCharmaine Lee <charmainel@vmware.com>
Sat, 18 Feb 2017 17:36:42 +0000 (09:36 -0800)
commitd793b54c4e921a8560a6aac6b9949f2784a5dc73
tree053ee3d9b088ec30d676c22be525112cb193aab6
parentb71e6538a8dcd51a8e9760df61764972020dfff7
st: add ST_FLUSH_WAIT to st_context_flush()

When st_context_flush() is called with ST_FLUSH_WAIT,
the function will return after the fence is completed.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/include/state_tracker/st_api.h
src/mesa/state_tracker/st_manager.c