egl: Add a egl state_tracker that use Gallium
authorJakob Bornecrantz <wallbraker@gmail.com>
Sun, 18 Jan 2009 14:36:47 +0000 (15:36 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sun, 18 Jan 2009 14:40:12 +0000 (15:40 +0100)
commit7047f1755f88d6b1f424904e692edbd03a9d190b
treeb993987c2199b5019ba855c4a0d1fa4901bff2d1
parenta874cf37ee2a792991819cad2cb73e3d2ddc87a3
egl: Add a egl state_tracker that use Gallium

This works on top Gallium and KMS. The only thing that
does not work currently is swap buffers for shown mesa
screens. So the only fun thing this will produce is a
white screen.

The driver wishing to us the state_tracker needs to
implement the intrace as define in drm_api.h located
in gallium/include/state_tracker. And also have a
working KMS implementation.
src/gallium/include/state_tracker/drm_api.h [new file with mode: 0644]
src/gallium/state_trackers/egl/Makefile [new file with mode: 0644]
src/gallium/state_trackers/egl/egl_context.c [new file with mode: 0644]
src/gallium/state_trackers/egl/egl_surface.c [new file with mode: 0644]
src/gallium/state_trackers/egl/egl_tracker.c [new file with mode: 0644]
src/gallium/state_trackers/egl/egl_tracker.h [new file with mode: 0644]
src/gallium/state_trackers/egl/egl_visual.c [new file with mode: 0644]