egl: Make surfaces and contexts resources.
authorChia-I Wu <olvaffe@gmail.com>
Sun, 24 Jan 2010 12:32:34 +0000 (20:32 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 24 Jan 2010 12:38:16 +0000 (20:38 +0800)
commitecb3b3102a3022e31cf9d75ae099eddbe298517f
tree70d5476f2d46c8444b74625bedcd588e2e765ae6
parent7abf42626fe8552cf898652134f3767e591614ab
egl: Make surfaces and contexts resources.

Turn _EGLSurface and _EGLContext into _EGLResource so that they can be
managed uniformly.
src/egl/main/eglapi.c
src/egl/main/eglcontext.c
src/egl/main/eglcontext.h
src/egl/main/eglcurrent.c
src/egl/main/egldisplay.c
src/egl/main/egldisplay.h
src/egl/main/eglsurface.c
src/egl/main/eglsurface.h
src/gallium/state_trackers/egl/common/egl_g3d.c