diff options
author | Marek Olšák <[email protected]> | 2011-03-05 20:32:28 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-03-08 23:52:37 +0100 |
commit | 5257a6dbc65d742e6d0fcf4278a4157b2f39fdf7 (patch) | |
tree | 6f70f3640ef7cb55bf5f7d94f52b11e4c550fb38 /src/mesa/state_tracker/st_context.c | |
parent | 5ef807c0361ed73d598619918b1e16aab0de3044 (diff) |
st/mesa: implement ARB_sync
The ServerWaitSync implementation matches Intel's driver.
The extension is advertised when pipe_screen::fence_finish is set.
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 7a19f35bbf5..60972e07de8 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -51,6 +51,7 @@ #include "st_cb_texture.h" #include "st_cb_xformfb.h" #include "st_cb_flush.h" +#include "st_cb_syncobj.h" #include "st_cb_strings.h" #include "st_cb_viewport.h" #include "st_atom.h" @@ -292,6 +293,7 @@ void st_init_driver_functions(struct dd_function_table *functions) st_init_viewport_functions(functions); st_init_xformfb_functions(functions); + st_init_syncobj_functions(functions); functions->UpdateState = st_invalidate_state; } |