<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I decided to improve builtin d3dx9_36 library with support of more file formats, texture formats, volume textures.<div>The original test gives the result:</div><div>——</div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">$ wine c:/tests/d3dx9_36_test.exe.so texture</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:win:EnumDisplayDevicesW ((null),0,0x32f4e8,0x00000000), stub!</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:177: Tests skipped: Hardware only supports pow2 textures</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:244: Tests skipped: Skipping some tests, npot2 textures unsupported</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:584: Test marked todo: Returned format 861165636, expected 21</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:615: Tests skipped: No D3DUSAGE_AUTOGENMIPMAP support for volume textures</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:682: Tests skipped: Hardware only supports pow2 textures</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:d3dx:D3DXFillTexture Unsupported texture format 0x31545844</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1198: Test marked todo: D3DXFillTexture returned 0x8876086c, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Unrecognized file format, returning failure.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:d3dx:D3DXLoadSurfaceFromMemory Format conversion missing 0x35545844 -> 0x35545844</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Texture filtering failed.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1501: Test failed: D3DXCreateTextureFromFileInMemory returned 0x80004001, expected 0.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:d3dx:D3DXLoadSurfaceFromMemory Format conversion missing 0x33545844 -> 0x33545844</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Texture filtering failed.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1529: Test failed: D3DXCreateTextureFromFileInMemory returned 0x80004001, expected 0.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:d3dx:D3DXCreateCubeTextureFromFileInMemoryEx Generation of mipmaps for compressed pixel formats is not supported yet.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1732: Test marked todo: GetLevelCount returned 1, expected 3</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1788: Test marked todo: D3DXCreateVolumeTextureFromFileInMemory returned 0x8876086c, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1862: Test succeeded inside todo block: D3DXSaveTextureToFileInMemory returned 0, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1868: Test succeeded inside todo block: D3DXGetImageInfoFromFileInMemory returned 0, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1870: Test succeeded inside todo block: Got width 256, expected 256</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1871: Test succeeded inside todo block: Got height 256, expected 256</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1872: Test marked todo: Got miplevels 1, expected 9</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1873: Test succeeded inside todo block: Got resource type 0x3, expected 0x3</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1874: Test succeeded inside todo block: Got file format 0x4, expected 0x4</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1934: Test succeeded inside todo block: D3DXSaveTextureToFileInMemory returned 0, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1940: Test succeeded inside todo block: D3DXGetImageInfoFromFileInMemory returned 0, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1942: Test succeeded inside todo block: Got width 256, expected 256</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1943: Test succeeded inside todo block: Got height 256, expected 256</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1944: Test marked todo: Got miplevels 1, expected 9</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1945: Test marked todo: Got resource type 0x3, expected 0x5</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1946: Test succeeded inside todo block: Got file format 0x4, expected 0x4</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fixme:d3dx:D3DXSaveTextureToFileInMemory Volume textures supported only to dds file format</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1963: Test marked todo: D3DXSaveTextureToFileInMemory returned 0x80004001, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1981: Test succeeded inside todo block: D3DXSaveTextureToFileInMemory returned 0, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1987: Test succeeded inside todo block: D3DXGetImageInfoFromFileInMemory returned 0, expected 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1989: Test succeeded inside todo block: Got width 256, expected 256</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1990: Test succeeded inside todo block: Got height 256, expected 256</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1991: Test succeeded inside todo block: Got depth 256, expected 256</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1992: Test succeeded inside todo block: Got miplevels 9, expected 9</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1993: Test succeeded inside todo block: Got resource type 0x4, expected 0x4</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture.c:1994: Test succeeded inside todo block: Got file format 0x4, expected 0x4</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">texture: 744 tests executed (8 marked as todo, 21 failures), 4 skipped.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Wineskin Command Line Wine Test</div></div><div>——</div><div>Adding DXTN compression support will improve the result. For now I made a stub for the conversion function</div><div></div></body></html>