Haiku: Add Gallium winsys and target code

Graphics / Mesa 3D Graphics Library / Mesa - Alexander von Gluck IV [unixzen.com] - 22 May 2013 14:31 UTC

- We generate a static library for Haiku Gallium targets as our port system combines the compiled rendering code into a modular ar for each module (for example, our port system combines llvm libsoftpipe.a libllvmpipe.a into a single ar for the Haiku build system. I'd like the Gallium hgl target scons build system to do this some day, however how is beyond me at the moment. This is a first step.

6d20e25 Haiku: Add Gallium winsys and target code
src/gallium/SConscript | 10 ++
src/gallium/targets/haiku-softpipe/SConscript | 21 +++
.../targets/haiku-softpipe/haiku-softpipe.c | 65 +++++++
.../targets/haiku-softpipe/haiku-softpipe.h | 36 ++++
src/gallium/winsys/sw/hgl/SConscript | 25 +++
src/gallium/winsys/sw/hgl/bitmap_wrapper.cpp | 134 ++++++++++++++
src/gallium/winsys/sw/hgl/bitmap_wrapper.h | 59 ++++++
src/gallium/winsys/sw/hgl/hgl_sw_winsys.c | 187 ++++++++++++++++++++
src/gallium/winsys/sw/hgl/hgl_sw_winsys.h | 52 ++++++
9 files changed, 589 insertions(+)

Upstream: cgit.freedesktop.org


  • Share