egl: Replace IsBound by a pointer to the binding.
authorChia-I Wu <olvaffe@gmail.com>
Mon, 3 Aug 2009 17:34:37 +0000 (11:34 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 3 Aug 2009 17:34:37 +0000 (11:34 -0600)
commit07ee01365a8bddf6f50821ecd585784498a25ff0
tree2d788bcf6cc919b85698080f7e0a8cf447feff59
parent27148ccaba9ceee44a3d9fb4649f4a953b3062a7
egl: Replace IsBound by a pointer to the binding.

IsBound tells if a context or surface is current.  What it does not tell
is, to which thread a context is current, or to which context a surface
is current.  This commit replaces IsBound by a pointer to the binding
thread or context.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
12 files changed:
src/egl/drivers/demo/demo.c
src/egl/drivers/dri/egldri.c
src/egl/drivers/glx/egl_glx.c
src/egl/drivers/xdri/egl_xdri.c
src/egl/main/eglcontext.c
src/egl/main/eglcontext.h
src/egl/main/eglsurface.c
src/egl/main/eglsurface.h
src/gallium/state_trackers/egl/egl_context.c
src/gallium/state_trackers/egl/egl_surface.c
src/gallium/winsys/egl_xlib/egl_xlib.c
src/mesa/drivers/dri/fb/fb_egl.c