st/egl: make native_buffer interface typed
authorChia-I Wu <olv@lunarg.com>
Fri, 24 Jun 2011 04:30:35 +0000 (13:30 +0900)
committerChia-I Wu <olv@lunarg.com>
Fri, 24 Jun 2011 07:49:27 +0000 (16:49 +0900)
commitfebf5e4147612641fc23f202d5813958bee3af13
tree5342ab5aa4f1f96d373173c5610311cbe639ad12
parent875a1f8960bbbb56fda291f19b1f119fc23b17fe
st/egl: make native_buffer interface typed

Use a typed struct to describe the native buffer and let the backends
map the native buffer to winsys_handle for
resource_from_handle/resource_to_handle.
src/gallium/state_trackers/egl/common/egl_g3d_image.c
src/gallium/state_trackers/egl/common/native_buffer.h
src/gallium/state_trackers/egl/common/native_helper.c
src/gallium/state_trackers/egl/common/native_helper.h
src/gallium/state_trackers/egl/drm/native_drm.c
src/gallium/state_trackers/egl/wayland/native_drm.c