Commit Graph

894 Commits

Author SHA1 Message Date
Christian Costa b3ad91f699 d3dx9_36: Improve FIXMEs and TRACEs for font. 2010-04-02 10:45:28 +02:00
Christian Costa c1f6857636 d3dx9_36: Improve FIXMEs and TRACEs for sprite. 2010-04-02 10:45:25 +02:00
Christian Costa cf2315bd52 d3dx9_36: Implement D3DXCreateLine and add stubbed interface for ID3DXLine + tests. 2010-04-02 10:45:22 +02:00
Christian Costa 60f736af87 d3dx9_36: Add stub for D3DXLoadVolumeFromMemory. 2010-04-01 18:12:27 +02:00
Matteo Bruni 18c6f23a94 d3dx9: Implement a basic bytecode writer.
Now the shader assembler is structurally complete and it correctly
assembles one trivial shader program.
2010-03-30 15:52:57 +02:00
Matteo Bruni 95afbeadf5 d3dx9: Implement D3DXAssembleShader function, really basic shader assembler.
Currently it only accepts a minimal subset of the syntax (e.g. just an
instruction and two register types supported) and doesn't produce any
real output (i.e. shader bytecode).
2010-03-30 15:52:57 +02:00
Matteo Bruni 7545416133 d3dx9: Partial implementation of D3DXAssembleShader function.
This only executes the preprocessing pass. No parsing of the shader yet.
2010-03-30 15:52:56 +02:00
Mikhail Maroukhine adf09ce66e d3dx9_36: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:12:36 +02:00
Christian Costa 39b60870ff d3dx9_36: Implement D3DXCreateEffectEx and make D3DXCreateEffect use it. 2010-03-25 10:01:32 +01:00
Christian Costa 947fe3a564 d3dx9_36: Add stub for D3DXCreateEffectCompiler. 2010-03-25 10:01:28 +01:00
Christian Costa 978d51b29c d3dx9_36: Remove useless includes. 2010-03-25 10:01:20 +01:00
Christian Costa b5f7ca9ed9 d3dx9_36: Implement D3DXCreateEffectPool and ID3DXEffectPool interface. 2010-03-25 10:01:16 +01:00
Christian Costa 4082920c3a d3dx9_36: Add stubbed interface for ID3DXEffect. 2010-03-22 12:16:15 +01:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Francois Gouget 381d73e423 d3dx9_36: Add a trailing '\n' to a TRACE(). 2010-03-22 10:48:23 +01:00
Christian Costa 62981582dd d3dx9_36: Add stub for D3DXCreateEffect. 2010-03-19 14:31:33 +01:00
Christian Costa 8da1d69c22 d3dx9_36: Use %u to print unsigned integer. 2010-03-19 13:17:31 +01:00
Christian Costa 312aa4996e d3dx9_36: Fix method name. 2010-03-19 13:17:20 +01:00
Christian Costa 441ee39495 d3dx9_36: Add missing GetSamplerIndex method to ID3DXConstantTable. 2010-03-19 13:17:08 +01:00
Christian Costa 70b79445f6 d3dx9_36: Implement ID3DXConstantTableImpl_GetDesc + tests. 2010-03-19 13:16:06 +01:00
Christian Costa c090624fbc d3dx9_36: Add stub for D3DXCreateTextureFromFileInMemoryEx. 2010-03-17 16:12:23 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Henri Verbeet a8b76781bf d3dx9_36: Not implementing an interface is not an internal error. 2010-03-15 15:55:26 +01:00
Henri Verbeet d85730c8e3 d3dx9_36: ID3DXBuffer is a base interface for ID3DXConstantTable. 2010-03-15 15:55:19 +01:00
Christian Costa e6d540d5c8 d3dx9_36/tests: Fix contant table header in ctab data. 2010-03-15 13:19:08 +01:00
Christian Costa c29f186fe0 d3dx9_36: Rename variables in D3DXGetShaderConstantTable(Ex) to match naming convention used in the file. 2010-03-15 13:18:44 +01:00
Christian Costa 6dfe16fc48 d3dx9_36: Avoid dereferencing null pointers in trace (spotted by Paul Vriens). 2010-03-04 12:30:21 +01:00
Christian Costa a942fe6fd7 d3dx9_36: Remove useless HEAP_ZERO_MEMORY flag (spotted by Henri Verbeet). 2010-03-02 11:14:38 +01:00
Christian Costa 4072edc111 d3dx9_36: Find, store and enable retreival of CTAB comment data in shader (based on code from Luis Busquets). 2010-03-01 14:03:00 +01:00
Christian Costa ea50ef8e08 d3dx9_36: Implement D3DXFindShaderComment (based on code from Luis Busquets) + tests. 2010-03-01 13:57:01 +01:00
Christian Costa 66d66f2e22 d3dx9_36: Implement stubbed ID3DXConstantTable interface. 2010-03-01 13:56:14 +01:00
Christian Costa 88b2892a59 d3dx9_36: Add stub for D3DXGetShaderConstantTableEx. Implement D3DXGetShaderConstantTable. 2010-02-22 12:37:17 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Christian Costa 6b6db0dcb2 d3dx9_36: Improve some stubs. 2010-02-15 12:50:45 +01:00
Christian Costa 82d7054085 d3dx9_36: Implement D3DXCreateTexture. 2010-02-15 12:50:42 +01:00
Christian Costa 8f63f180c9 d3dx9_36: Add stub for D3DXCompileShader. 2010-02-11 14:38:44 +01:00
David Adam 202f826d02 d3dx9/tests: 1 must be a float. 2009-12-22 14:12:43 +01:00
David Adam 3ff4d07c40 d3dx9/tests: Check a relative error instead of an absolute error. 2009-12-15 11:45:09 +01:00
Matteo Bruni c6af1f5cd4 d3dx9: Add D3DXAssembleShader tests. 2009-10-27 13:57:31 +01:00
Matteo Bruni cbcf699856 d3dx9: D3DXAssembleShaderFromResource implementation. 2009-10-19 14:46:55 +02:00
Matteo Bruni c31121dd35 d3dx9: D3DXAssembleShader and D3DXAssembleShaderFromFile stubs. 2009-10-19 14:46:40 +02:00
Tony Wasserka 7f8e4e275d d3dx9: Add tests for ARGB pixel format conversion in D3DXLoadSurfaceFromMemory. 2009-10-16 17:32:46 +02:00
Tony Wasserka 56e86b3df1 d3dx9: Implement converting and copying ARGB surface data in D3DXLoadSurfaceFromMemory. 2009-10-16 17:32:37 +02:00
Alexandre Julliard fa6ffb4d5d Fix empty function prototypes. 2009-10-07 12:24:53 +02:00
Francois Gouget 74b5da9a47 d3dx9_36: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:51:29 +02:00
David Adam 9ec5d4388d d3dx9: Add forgotten copyrights. 2009-07-21 10:46:32 +02:00
David Adam 94c7ab72f5 d3dx9: Fix D3DXMatrixStack_RotateAxisLocal to make tests pass in Windows. 2009-07-20 12:18:26 +02:00
David Adam 02758ea8f8 d3dx9: Fix D3DXMatrixStack_RotateAxis to make tests pass in Windows. 2009-07-20 12:18:21 +02:00
David Adam 0729e91e21 d3dx9: Fix D3DXMatrixStack_MultMatrixLocal to make tests pass in Windows. 2009-07-20 12:18:15 +02:00
David Adam 3b6cbaeb03 d3dx9: Fix D3DXMatrixStack_MultMatrix to make tests pass in Windows. 2009-07-20 12:18:09 +02:00
David Adam c88860a221 d3dx9: Fix D3DXMatrixStack_LoadMatrix to make tests pass in Windows. 2009-07-20 12:18:02 +02:00
David Adam 8823decbd4 d3dx9: Fix D3DXVec4Normalize to make tests pass in Windows. 2009-07-20 12:17:53 +02:00
David Adam 878bcb519c d3dx9: Fix D3DXVec3TransformCoord to make tests pass in Windows. 2009-07-20 12:17:47 +02:00
David Adam e37aff31b4 d3dx9: Fix D3DXVec2TransformCoord to make tests pass in Windows. 2009-07-20 12:17:39 +02:00
David Adam 0788ac38ab d3dx9: Fix D3DXQuaternionNormalize to make tests pass in Windows. 2009-07-17 12:37:43 +02:00
David Adam 831d6b5886 d3dx9: Fix D3DXQuaternionInverse to make tests pass in Windows. 2009-07-17 12:37:36 +02:00
David Adam f24bf3e4bd d3dx9: Remove a failing test in Windows. 2009-07-16 12:48:06 +02:00
David Adam a3634e2ca3 d3dx9: Fix D3DXQuaternionToAxisAngle to make tests pass in Windows. 2009-07-16 12:48:02 +02:00
David Adam 5dfa6955ee d3dx9: Remove the useless d3dx8 import. 2009-07-13 10:54:26 +02:00
David Adam e5753acee5 d3dx9: Merge d3dx8 math tests into d3dx9. 2009-07-13 10:54:10 +02:00
David Adam 39fdb9ffde d3dx9: Clean-up the spec file. 2009-07-13 10:53:57 +02:00
David Adam d1c2d2a4f8 d3dx9: Merge d3dx8 math into d3dx9. 2009-07-13 10:53:15 +02:00
David Adam 35ada0dc2d d3dx9: Merge d3dx8 mesh tests into d3dx9. 2009-07-13 10:52:02 +02:00
David Adam 40c6cf77ce d3dx9: Merge d3dx8 mesh into d3dx9. 2009-07-13 10:51:51 +02:00
David Adam de5090c51c d3dx9: Merge d3dx8 core into d3dx9. 2009-07-13 10:51:26 +02:00
David Adam bd7421cd6d d3dx9: Fix the prototype of some functions. 2009-07-13 10:50:42 +02:00
David Adam de0b3b21d5 d3dx9_36: Fix the sprite tests to make them pass in Windows. 2009-07-06 14:35:25 +02:00
David Adam db41287844 d3dx9_36: Fix tests to make them pass in Windows. 2009-07-06 14:35:25 +02:00
Tony Wasserka 3db6a67160 d3dx9: Add tests for D3DXLoadSurfaceFromSurface. 2009-06-26 14:39:55 +02:00
Tony Wasserka be8afaff68 d3dx9: Add tests for D3DXLoadSurfaceFromMemory. 2009-06-26 14:39:50 +02:00
Tony Wasserka a144e4ac48 d3dx9: Add tests for D3DXLoadSurfaceFromFileInMemory. 2009-06-26 14:39:45 +02:00
Tony Wasserka e8c7a474ed d3dx9: Add tests for D3DXLoadSurfaceFromResource. 2009-06-26 14:39:40 +02:00
Tony Wasserka 345fc8a965 d3dx9: Add tests for D3DXLoadSurfaceFromFile. 2009-06-26 14:39:35 +02:00
Tony Wasserka 9777bb1bec d3dx9: Implement D3DXLoadSurfaceFromSurface. 2009-06-26 14:39:21 +02:00
Tony Wasserka db29bfc386 d3dx9: Add a stub for D3DXLoadSurfaceFromMemory. 2009-06-26 14:39:07 +02:00
Tony Wasserka 88cea6c1cd d3dx9: Implement D3DXLoadSurfaceFromResource. 2009-06-26 14:38:45 +02:00
Tony Wasserka 2a9c43fb35 d3dx9: Implement D3DXLoadSurfaceFromFile. 2009-06-26 14:38:35 +02:00
Tony Wasserka 818223e75e d3dx9: Add a stub for D3DXLoadSurfaceFromFileInMemory. 2009-06-26 14:38:24 +02:00
Tony Wasserka 0ac20c4bd3 d3dx9: Add tests for basic ID3DXFont functions. 2009-06-24 11:32:09 +02:00
Tony Wasserka 5dd6371345 d3dx9: Implement ID3DXFont_GetTextMetrics. 2009-06-24 11:31:49 +02:00
Tony Wasserka 9733856f90 d3dx9: Implement ID3DXFont_GetDC. 2009-06-24 11:31:42 +02:00
Tony Wasserka 05843d4770 d3dx9: Implement ID3DXFont_GetDesc. 2009-06-24 11:31:09 +02:00
Tony Wasserka e36028b4df d3dx9: Implement ID3DXFont_GetDevice. 2009-06-24 11:31:02 +02:00
Tony Wasserka 823ec93b39 d3dx9: Improve parameter validation in D3DXCreateFont and D3DXCreateFontIndirect. 2009-06-24 11:30:54 +02:00
Henri Verbeet 68f20f157e d3dx9_36: Add a test for D3DXGetDeclVertexSize(). 2009-06-19 13:52:54 +02:00
Henri Verbeet 56c8a82a04 d3dx9_36: Implement D3DXGetDeclVertexSize(). 2009-06-19 13:52:50 +02:00
Tony Wasserka e6ece9ee4a d3dx9: Test return codes of the D3DXGetImageInfo functions. 2009-06-05 15:19:56 +02:00
Tony Wasserka f193889815 d3dx9: Redirect D3DXGetImageInfo functions to the FromFileInMemory variant. 2009-06-02 12:03:08 +02:00
Tony Wasserka 32d2be575e d3dx9: Add utility functions for loading files and resources into memory. 2009-06-02 12:02:16 +02:00
Tony Wasserka bf353f180d d3dx9: Add stubs for the D3DXGetImageInfo function group. 2009-05-26 15:37:35 +02:00
Tony Wasserka 3b9332a41d d3dx9: Recognize the D3DXSPRITE_DO_NOT_ADDREF_TEXTURE flag. 2009-03-10 12:57:14 +01:00
Tony Wasserka 02e43a5276 d3dx9: Recognize the D3DXSPRITE_DONOTSAVESTATE flag. 2009-03-10 12:56:53 +01:00
Tony Wasserka f9cf3ab1a0 d3dx9: Add ID3DXSprite tests. 2009-03-09 13:28:55 +01:00
Tony Wasserka bdd55d0875 d3dx9: Implement ID3DXSprite_OnLostDevice/OnResetDevice. 2009-03-04 13:06:38 +01:00
Tony Wasserka ceac557f59 d3dx9: ID3DXSprite: Move vdecl creation to ID3DXSprite_Begin. 2009-03-02 15:03:01 +01:00
Tony Wasserka f975d4bfa7 d3dx9: Implement ID3DXSprite_Get/SetTransform. 2009-03-02 15:02:56 +01:00
David Adam ca469499bb d3dx9_36: Implement D3DXGetFVFVertexSize. 2009-02-11 15:56:02 +01:00
David Adam e5425fc17b d3dx9_36: Implement D3DXComputeBoundingSphere. 2009-02-11 15:56:02 +01:00
David Adam 00d14355db d3dx9_36: Implement D3DXComputeBoundingBox. 2009-02-11 15:56:02 +01:00
Francois Gouget eda0ec3fd2 d3dx9_36: The d3dx debug channel is unused so remove it. 2009-02-09 13:16:06 +01:00
David Adam 496bc4d1b4 d3dx8: Implement D3DXGetFVFVertexSize. 2009-02-06 14:54:02 +01:00
David Adam 55d6f07e31 d3dx9_36: Remove useless traces. 2009-02-04 12:26:33 +01:00
David Adam 8716c62c6e d3dx9_36: Implement D3DXIntersectTri. 2009-02-03 14:19:44 +01:00
David Adam b8eb4cf861 d3dx8: Implement D3DXIntersectTri. 2009-02-03 14:17:04 +01:00
David Adam 3f1a7abf48 d3dx9_36: Fix failing tests in Windows. 2009-02-02 15:21:44 +01:00
David Adam be964897aa d3dx9: Fix falling tests in native windows. 2009-01-13 16:17:02 +01:00
David Adam e1fefd57e7 d3dx9_36/test: Remove an unconsistent test. 2009-01-12 13:10:43 +01:00
Andrew Talbot c8e9c57927 d3dx9_36: Remove unused Wine debug channel. 2008-12-18 13:37:26 +01:00
Alexandre Julliard 2822e966a3 d3d9_36: Make a function static. 2008-12-04 12:47:11 +01:00
Francois Gouget 90b04c7b93 d3dx9_36/tests: Fix compilation on systems that don't support nameless unions. 2008-11-17 15:08:55 +01:00
David Adam 09c6caea06 d3dx8: Implement D3DXMatrixTransformation2D. 2008-11-13 14:21:04 +01:00
David Adam 4f1d5c26d1 d3dx8: Implement D3DXMatrixAffineTransformation2D. 2008-11-13 14:20:41 +01:00
Tony Wasserka 5d4e081026 d3dx9: Implement ID3DXSprite_GetDevice. 2008-11-10 13:27:50 +01:00
Tony Wasserka 67dadeb7c8 d3dx9: Implement ID3DXSprite_Flush. 2008-11-10 13:27:45 +01:00
Tony Wasserka 6fae43c0c8 d3dx9: Implement ID3DXSprite_Begin/End. 2008-11-10 13:27:41 +01:00
Tony Wasserka edae5d545e d3dx9: Implement ID3DXSprite_Draw. 2008-11-07 11:43:47 +01:00
Tony Wasserka d0fd93ef92 d3dx9: Implement D3DXCreateSprite. 2008-11-07 11:43:07 +01:00
Francois Gouget 9a13920696 d3dx9_36: Fix compilation on systems that don't support nameless unions. 2008-09-15 11:23:51 +02:00
Luis C. Busquets Pérez 54d920ae91 d3dx9: Add tests for D3DXMatrixDecompose. 2008-09-12 13:40:43 +02:00
Luis C. Busquets Pérez 0af9415a4f d3dx9: Implement D3DXMatrixDecompose. 2008-09-12 13:40:33 +02:00
Henri Verbeet 978b0b4784 d3dx9: Improve a few TRACEs. 2008-08-25 11:39:22 +02:00
Luis C. Busquets Pérez d9d8288508 d3dx9: Avoid assignment in D3DXGetVertexShaderProfile. 2008-08-05 14:09:36 +02:00
Luis C. Busquets Pérez 9b572170da d3dx9: Implementation of D3DXGetVertexShaderProfile. 2008-08-04 15:41:15 +02:00
Luis C. Busquets Pérez 457efd55d0 d3dx9: Implementation of D3DXGetPixelShaderProfile. 2008-08-04 15:40:52 +02:00
Tony Wasserka 112effb160 d3dx9: Add stubs for the ID3DXSprite functions. 2008-07-30 12:43:51 +02:00
Francois Gouget eb16f43bdf Add some API documentation stubs to make winapi_check happy. 2008-07-28 11:34:45 +02:00
Philip Nilsson 6de5bdb0f7 d3dx9: Use UINT instead of unsigned int where appropriate. 2008-07-25 14:09:15 +02:00
Philip Nilsson d36df763c7 d3dx9: Implement D3DXPlaneTransformArray. 2008-07-25 14:09:15 +02:00
Luis Busquets e42d932c85 d3dx9: Add a test for D3DXGetShaderVersion(). 2008-07-21 12:57:36 +02:00
Luis Busquets fb70f818b7 d3dx9: Implement D3DXGetShaderVersion(). 2008-07-21 12:57:24 +02:00
Luis Busquets 9e2b04893c d3dx9: Add a test for D3DXGetShaderSize(). 2008-07-16 19:56:24 +02:00
Luis Busquets 9a93a49174 d3dx9: Implement D3DXGetShaderSize(). 2008-07-16 19:56:19 +02:00
Louis Lenders efb90c7fee d3dx9_*: Add version resources. 2008-06-23 19:58:04 +02:00
Philip Nilsson b67290b99a d3dx9/tests: Test the D3DXVec*Array functions. 2008-03-21 12:52:54 +01:00
Philip Nilsson 0457333f55 d3dx9: Implement the D3DXVec*Array functions. 2008-03-21 12:52:19 +01:00
Francois Gouget 304b415284 Assorted spelling fixes. 2008-03-19 11:21:27 +01:00
Tony Wasserka e84b8b23f8 d3dx9: Add stubs for the ID3DXFont functions. 2008-03-15 11:06:13 +01:00
Alexandre Julliard 41f36c49e0 makefiles: Support non-standard import lib names in the global dll rules. 2008-03-06 11:54:03 +01:00
Tony Wasserka 459b92a009 d3dx9: Implement D3DXDebugMute. 2008-03-05 19:26:28 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Tony Wasserka 0b5ae28061 d3dx9_36: Create d3dx9 importlib. 2008-03-04 20:51:12 +01:00
Tony Wasserka 4f148c28a1 d3dx9: Implement D3DXCheckVersion. 2008-03-04 20:50:11 +01:00
Tony Wasserka 7dec20d84a d3dx9: Implement D3DXGetDriverLevel. 2008-02-19 14:39:56 +01:00
Tony Wasserka 87fefc7ef4 d3dx9: Start implementation of d3dx9_36. 2008-01-16 12:45:17 +01:00