[Mesa-dev] [PATCH 12/14] nine: Add state tracker nine for Direct3D9

David Heidelberger david.heidelberger at ixit.cz
Mon Oct 20 05:37:55 PDT 2014


From: Joakim Sindholt <opensource at zhasha.com>

Work of Joakim Sindholt (zhasha) and Christoph Bumiller (chrisbmr).
DRI3 port done by Axel Davy (mannerov).

Signed-off-by: David Heidelberger <david.heidelberger at ixit.cz>
---
 configure.ac                                       |   29 +-
 include/D3D9/d3d9.h                                | 1858 +++++++++++
 include/D3D9/d3d9caps.h                            |  387 +++
 include/D3D9/d3d9types.h                           | 1797 ++++++++++
 include/d3dadapter/d3dadapter9.h                   |  101 +
 include/d3dadapter/drm.h                           |   44 +
 include/d3dadapter/present.h                       |  137 +
 src/gallium/Makefile.am                            |    4 +
 src/gallium/state_trackers/nine/Makefile.am        |   44 +
 src/gallium/state_trackers/nine/README             |   79 +
 src/gallium/state_trackers/nine/adapter9.c         | 1076 ++++++
 src/gallium/state_trackers/nine/adapter9.h         |  134 +
 .../state_trackers/nine/authenticatedchannel9.c    |   78 +
 .../state_trackers/nine/authenticatedchannel9.h    |   65 +
 src/gallium/state_trackers/nine/basetexture9.c     |  504 +++
 src/gallium/state_trackers/nine/basetexture9.h     |  138 +
 src/gallium/state_trackers/nine/cryptosession9.c   |  115 +
 src/gallium/state_trackers/nine/cryptosession9.h   |   86 +
 src/gallium/state_trackers/nine/cubetexture9.c     |  274 ++
 src/gallium/state_trackers/nine/cubetexture9.h     |   79 +
 src/gallium/state_trackers/nine/device9.c          | 3441 ++++++++++++++++++++
 src/gallium/state_trackers/nine/device9.h          |  797 +++++
 src/gallium/state_trackers/nine/device9ex.c        |  363 +++
 src/gallium/state_trackers/nine/device9ex.h        |  147 +
 src/gallium/state_trackers/nine/device9video.c     |   62 +
 src/gallium/state_trackers/nine/device9video.h     |   57 +
 src/gallium/state_trackers/nine/guid.c             |   66 +
 src/gallium/state_trackers/nine/guid.h             |   36 +
 src/gallium/state_trackers/nine/indexbuffer9.c     |  218 ++
 src/gallium/state_trackers/nine/indexbuffer9.h     |   88 +
 src/gallium/state_trackers/nine/iunknown.c         |  126 +
 src/gallium/state_trackers/nine/iunknown.h         |  153 +
 src/gallium/state_trackers/nine/nine_debug.c       |  104 +
 src/gallium/state_trackers/nine/nine_debug.h       |  135 +
 src/gallium/state_trackers/nine/nine_defines.h     |   55 +
 src/gallium/state_trackers/nine/nine_dump.c        |  813 +++++
 src/gallium/state_trackers/nine/nine_dump.h        |   52 +
 src/gallium/state_trackers/nine/nine_ff.c          | 2213 +++++++++++++
 src/gallium/state_trackers/nine/nine_ff.h          |   32 +
 src/gallium/state_trackers/nine/nine_helpers.c     |  100 +
 src/gallium/state_trackers/nine/nine_helpers.h     |  176 +
 src/gallium/state_trackers/nine/nine_lock.c        | 3319 +++++++++++++++++++
 src/gallium/state_trackers/nine/nine_lock.h        |   51 +
 src/gallium/state_trackers/nine/nine_pdata.h       |   45 +
 src/gallium/state_trackers/nine/nine_pipe.c        |  410 +++
 src/gallium/state_trackers/nine/nine_pipe.h        |  568 ++++
 src/gallium/state_trackers/nine/nine_quirk.c       |   49 +
 src/gallium/state_trackers/nine/nine_quirk.h       |   36 +
 src/gallium/state_trackers/nine/nine_shader.c      | 2959 +++++++++++++++++
 src/gallium/state_trackers/nine/nine_shader.h      |  142 +
 src/gallium/state_trackers/nine/nine_state.c       | 1489 +++++++++
 src/gallium/state_trackers/nine/nine_state.h       |  234 ++
 .../state_trackers/nine/nineexoverlayextension.c   |   46 +
 .../state_trackers/nine/nineexoverlayextension.h   |   49 +
 src/gallium/state_trackers/nine/pixelshader9.c     |  172 +
 src/gallium/state_trackers/nine/pixelshader9.h     |   82 +
 src/gallium/state_trackers/nine/query9.c           |  358 ++
 src/gallium/state_trackers/nine/query9.h           |   83 +
 src/gallium/state_trackers/nine/resource9.c        |  230 ++
 src/gallium/state_trackers/nine/resource9.h        |  107 +
 src/gallium/state_trackers/nine/stateblock9.c      |  533 +++
 src/gallium/state_trackers/nine/stateblock9.h      |   71 +
 src/gallium/state_trackers/nine/surface9.c         |  711 ++++
 src/gallium/state_trackers/nine/surface9.h         |  181 +
 src/gallium/state_trackers/nine/swapchain9.c       |  857 +++++
 src/gallium/state_trackers/nine/swapchain9.h       |  130 +
 src/gallium/state_trackers/nine/swapchain9ex.c     |  108 +
 src/gallium/state_trackers/nine/swapchain9ex.h     |   59 +
 src/gallium/state_trackers/nine/texture9.c         |  315 ++
 src/gallium/state_trackers/nine/texture9.h         |   75 +
 src/gallium/state_trackers/nine/vertexbuffer9.c    |  223 ++
 src/gallium/state_trackers/nine/vertexbuffer9.h    |   76 +
 .../state_trackers/nine/vertexdeclaration9.c       |  518 +++
 .../state_trackers/nine/vertexdeclaration9.h       |   89 +
 src/gallium/state_trackers/nine/vertexshader9.c    |  177 +
 src/gallium/state_trackers/nine/vertexshader9.h    |   89 +
 src/gallium/state_trackers/nine/volume9.c          |  605 ++++
 src/gallium/state_trackers/nine/volume9.h          |  141 +
 src/gallium/state_trackers/nine/volumetexture9.c   |  253 ++
 src/gallium/state_trackers/nine/volumetexture9.h   |   75 +
 src/gallium/targets/d3dadapter9/Makefile.am        |   79 +
 src/gallium/targets/d3dadapter9/drm.c              |  309 ++
 src/gallium/targets/d3dadapter9/getproc.c          |   51 +
 83 files changed, 32416 insertions(+), 1 deletion(-)
 create mode 100644 include/D3D9/d3d9.h
 create mode 100644 include/D3D9/d3d9caps.h
 create mode 100644 include/D3D9/d3d9types.h
 create mode 100644 include/d3dadapter/d3dadapter9.h
 create mode 100644 include/d3dadapter/drm.h
 create mode 100644 include/d3dadapter/present.h
 create mode 100644 src/gallium/state_trackers/nine/Makefile.am
 create mode 100644 src/gallium/state_trackers/nine/README
 create mode 100644 src/gallium/state_trackers/nine/adapter9.c
 create mode 100644 src/gallium/state_trackers/nine/adapter9.h
 create mode 100644 src/gallium/state_trackers/nine/authenticatedchannel9.c
 create mode 100644 src/gallium/state_trackers/nine/authenticatedchannel9.h
 create mode 100644 src/gallium/state_trackers/nine/basetexture9.c
 create mode 100644 src/gallium/state_trackers/nine/basetexture9.h
 create mode 100644 src/gallium/state_trackers/nine/cryptosession9.c
 create mode 100644 src/gallium/state_trackers/nine/cryptosession9.h
 create mode 100644 src/gallium/state_trackers/nine/cubetexture9.c
 create mode 100644 src/gallium/state_trackers/nine/cubetexture9.h
 create mode 100644 src/gallium/state_trackers/nine/device9.c
 create mode 100644 src/gallium/state_trackers/nine/device9.h
 create mode 100644 src/gallium/state_trackers/nine/device9ex.c
 create mode 100644 src/gallium/state_trackers/nine/device9ex.h
 create mode 100644 src/gallium/state_trackers/nine/device9video.c
 create mode 100644 src/gallium/state_trackers/nine/device9video.h
 create mode 100644 src/gallium/state_trackers/nine/guid.c
 create mode 100644 src/gallium/state_trackers/nine/guid.h
 create mode 100644 src/gallium/state_trackers/nine/indexbuffer9.c
 create mode 100644 src/gallium/state_trackers/nine/indexbuffer9.h
 create mode 100644 src/gallium/state_trackers/nine/iunknown.c
 create mode 100644 src/gallium/state_trackers/nine/iunknown.h
 create mode 100644 src/gallium/state_trackers/nine/nine_debug.c
 create mode 100644 src/gallium/state_trackers/nine/nine_debug.h
 create mode 100644 src/gallium/state_trackers/nine/nine_defines.h
 create mode 100644 src/gallium/state_trackers/nine/nine_dump.c
 create mode 100644 src/gallium/state_trackers/nine/nine_dump.h
 create mode 100644 src/gallium/state_trackers/nine/nine_ff.c
 create mode 100644 src/gallium/state_trackers/nine/nine_ff.h
 create mode 100644 src/gallium/state_trackers/nine/nine_helpers.c
 create mode 100644 src/gallium/state_trackers/nine/nine_helpers.h
 create mode 100644 src/gallium/state_trackers/nine/nine_lock.c
 create mode 100644 src/gallium/state_trackers/nine/nine_lock.h
 create mode 100644 src/gallium/state_trackers/nine/nine_pdata.h
 create mode 100644 src/gallium/state_trackers/nine/nine_pipe.c
 create mode 100644 src/gallium/state_trackers/nine/nine_pipe.h
 create mode 100644 src/gallium/state_trackers/nine/nine_quirk.c
 create mode 100644 src/gallium/state_trackers/nine/nine_quirk.h
 create mode 100644 src/gallium/state_trackers/nine/nine_shader.c
 create mode 100644 src/gallium/state_trackers/nine/nine_shader.h
 create mode 100644 src/gallium/state_trackers/nine/nine_state.c
 create mode 100644 src/gallium/state_trackers/nine/nine_state.h
 create mode 100644 src/gallium/state_trackers/nine/nineexoverlayextension.c
 create mode 100644 src/gallium/state_trackers/nine/nineexoverlayextension.h
 create mode 100644 src/gallium/state_trackers/nine/pixelshader9.c
 create mode 100644 src/gallium/state_trackers/nine/pixelshader9.h
 create mode 100644 src/gallium/state_trackers/nine/query9.c
 create mode 100644 src/gallium/state_trackers/nine/query9.h
 create mode 100644 src/gallium/state_trackers/nine/resource9.c
 create mode 100644 src/gallium/state_trackers/nine/resource9.h
 create mode 100644 src/gallium/state_trackers/nine/stateblock9.c
 create mode 100644 src/gallium/state_trackers/nine/stateblock9.h
 create mode 100644 src/gallium/state_trackers/nine/surface9.c
 create mode 100644 src/gallium/state_trackers/nine/surface9.h
 create mode 100644 src/gallium/state_trackers/nine/swapchain9.c
 create mode 100644 src/gallium/state_trackers/nine/swapchain9.h
 create mode 100644 src/gallium/state_trackers/nine/swapchain9ex.c
 create mode 100644 src/gallium/state_trackers/nine/swapchain9ex.h
 create mode 100644 src/gallium/state_trackers/nine/texture9.c
 create mode 100644 src/gallium/state_trackers/nine/texture9.h
 create mode 100644 src/gallium/state_trackers/nine/vertexbuffer9.c
 create mode 100644 src/gallium/state_trackers/nine/vertexbuffer9.h
 create mode 100644 src/gallium/state_trackers/nine/vertexdeclaration9.c
 create mode 100644 src/gallium/state_trackers/nine/vertexdeclaration9.h
 create mode 100644 src/gallium/state_trackers/nine/vertexshader9.c
 create mode 100644 src/gallium/state_trackers/nine/vertexshader9.h
 create mode 100644 src/gallium/state_trackers/nine/volume9.c
 create mode 100644 src/gallium/state_trackers/nine/volume9.h
 create mode 100644 src/gallium/state_trackers/nine/volumetexture9.c
 create mode 100644 src/gallium/state_trackers/nine/volumetexture9.h
 create mode 100644 src/gallium/targets/d3dadapter9/Makefile.am
 create mode 100644 src/gallium/targets/d3dadapter9/drm.c
 create mode 100644 src/gallium/targets/d3dadapter9/getproc.c



More information about the mesa-dev mailing list