egl: Use reference counting to replace IsLinked or IsBound.
authorChia-I Wu <olv@lunarg.com>
Sat, 23 Oct 2010 04:52:26 +0000 (12:52 +0800)
committerChia-I Wu <olv@lunarg.com>
Sat, 23 Oct 2010 07:26:28 +0000 (15:26 +0800)
commitd19afc57fe49816f3f3290410e0124d326577be2
tree8d90c500c91f8c2e703a05259c85406d4261c3ed
parentdc4f845c37a8446de19036e24fd397a0aa864c02
egl: Use reference counting to replace IsLinked or IsBound.

Remove all _egl<Res>IsLinked and _egl<Res>IsBound.  Update
_eglBindContext and drivers to do reference counting.
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/glx/egl_glx.c
src/egl/main/eglapi.c
src/egl/main/eglcontext.c
src/egl/main/eglcontext.h
src/egl/main/eglimage.h
src/egl/main/eglsurface.h
src/egl/main/eglsync.h
src/gallium/state_trackers/egl/common/egl_g3d_api.c