[RFC 0/2] Cleaning up DXTn support patches in Staging

Kyle Devir kyle.devir at mykolab.com
Fri Mar 30 07:17:52 CDT 2018


This is my first stab at helping a FOSS project, in a middle of a rough spot in life, so please don't mind my awkward wordiness. :)

libtxc_dxtn has now been depreciated due to the functionality now being merged into Mesa a while ago now. Some distros, including Arch, have completely removed the library in response to this.

Given that adding proper DXTn support without libtxc_dxtn feels out of my league for now, I thought I might as well clean up the useless code, and additionally add the needed code from Mesa in a file called dxtn.h. In Mesa, the code is also in header file, used by internal Mesa functions. I'm not sure just yet how to turn this into something that just uses GL more directly, but that'll be a something I'll be starting to research soon.

For now, this minor cleanup might be suitable for Staging, but eventually, I plan to get this into mainline, which will need to be a lot tidier than it currently is.

Throw any suggestions at me that you think will help. :)

Kyle Devir (2):
  wined3d: implement DXTn compression support
  d3dx9_36: implement DXTn compression support

 dlls/d3dx9_24/Makefile.in     |   2 +-
 dlls/d3dx9_25/Makefile.in     |   2 +-
 dlls/d3dx9_26/Makefile.in     |   2 +-
 dlls/d3dx9_27/Makefile.in     |   2 +-
 dlls/d3dx9_28/Makefile.in     |   2 +-
 dlls/d3dx9_29/Makefile.in     |   2 +-
 dlls/d3dx9_30/Makefile.in     |   2 +-
 dlls/d3dx9_31/Makefile.in     |   2 +-
 dlls/d3dx9_32/Makefile.in     |   2 +-
 dlls/d3dx9_33/Makefile.in     |   2 +-
 dlls/d3dx9_34/Makefile.in     |   2 +-
 dlls/d3dx9_35/Makefile.in     |   2 +-
 dlls/d3dx9_36/Makefile.in     |   2 +-
 dlls/d3dx9_36/surface.c       | 100 ++++-
 dlls/d3dx9_36/tests/surface.c |   8 +-
 dlls/d3dx9_37/Makefile.in     |   2 +-
 dlls/d3dx9_38/Makefile.in     |   2 +-
 dlls/d3dx9_39/Makefile.in     |   2 +-
 dlls/d3dx9_40/Makefile.in     |   2 +-
 dlls/d3dx9_41/Makefile.in     |   2 +-
 dlls/d3dx9_42/Makefile.in     |   2 +-
 dlls/d3dx9_43/Makefile.in     |   2 +-
 dlls/wined3d/Makefile.in      |   1 +
 dlls/wined3d/dxtn.c           | 435 +++++++++++++++++++
 dlls/wined3d/dxtn.h           | 987 ++++++++++++++++++++++++++++++++++++++++++
 dlls/wined3d/surface.c        | 153 +++++++
 dlls/wined3d/wined3d.spec     |   7 +
 dlls/wined3d/wined3d_main.c   |   1 +
 include/wine/wined3d.h        |  13 +
 29 files changed, 1714 insertions(+), 31 deletions(-)
 create mode 100644 dlls/wined3d/dxtn.c
 create mode 100644 dlls/wined3d/dxtn.h

-- 
2.16.3




More information about the wine-devel mailing list