From 4f38dcd97410d0a58be19cb5c6dfbee51a3b7561 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 11 Nov 2010 00:09:09 +0800 Subject: gallium: Add st_context_iface::share to st_api. It will be used to implement wglShareLists. Fill st_context_iface::copy for glXCopyContext as well. --- src/gallium/include/state_tracker/st_api.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gallium/include') diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index c73a53db33..565a09614a 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -348,6 +348,12 @@ struct st_context_iface void (*copy)(struct st_context_iface *stctxi, struct st_context_iface *stsrci, unsigned mask); + /** + * Used to implement wglShareLists. + */ + boolean (*share)(struct st_context_iface *stctxi, + struct st_context_iface *stsrci); + /** * Look up and return the info of a resource for EGLImage. * -- cgit v1.2.3