[Mesa-dev] [PATCH] Haiku: Add Gallium winsys and target code

Brian Paul brianp at vmware.com
Wed May 22 09:20:18 PDT 2013


On 05/21/2013 03:10 PM, Alexander von Gluck IV wrote:
> * 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.
> ---
>   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(+)
>   create mode 100644 src/gallium/targets/haiku-softpipe/SConscript
>   create mode 100644 src/gallium/targets/haiku-softpipe/haiku-softpipe.c
>   create mode 100644 src/gallium/targets/haiku-softpipe/haiku-softpipe.h
>   create mode 100644 src/gallium/winsys/sw/hgl/SConscript
>   create mode 100644 src/gallium/winsys/sw/hgl/bitmap_wrapper.cpp
>   create mode 100644 src/gallium/winsys/sw/hgl/bitmap_wrapper.h
>   create mode 100644 src/gallium/winsys/sw/hgl/hgl_sw_winsys.c
>   create mode 100644 src/gallium/winsys/sw/hgl/hgl_sw_winsys.h
>

Looks OK to me.

Reviewed-by: Brian Paul <brianp at vmware.com>




More information about the mesa-dev mailing list