egl: Use the link functions to manage resources.
authorChia-I Wu <olvaffe@gmail.com>
Fri, 17 Jul 2009 17:53:03 +0000 (11:53 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Jul 2009 17:53:03 +0000 (11:53 -0600)
commitcca31340b5a9c0b941946753a31236c7201ca87c
treecdd0c35eb777b16cd8dcd3d9442d0e9861acc07f
parent18457cb263e3e062e12314e7b3d5c81a7f2ba048
egl: Use the link functions to manage resources.

This commit uses the newly introduced link functions to manage EGL
contexts and surfaces.  As a result of this, the API for drivers are
changed.  All drivers are updated for the change.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
14 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/eglglobals.h
src/egl/main/eglscreen.c
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