Commit Graph

221 Commits

Author SHA1 Message Date
Rico Schüller f658aabfd5 d3dx9: Crop the input in ID3DXBaseEffect::SetBool(). 2012-05-30 17:17:57 +02:00
Rico Schüller fcb5b6c32c d3dx9: Use param->bytes for copying the data in ID3DXBaseEffect::SetValue(). 2012-04-18 17:40:10 +02:00
Henri Verbeet 2b1da8c77f d3dx9: Don't return a pointer to the implementation in ID3DXBaseEffectImpl_QueryInterface(). 2012-04-13 10:48:56 +02:00
Henri Verbeet cdc2c53158 d3dx9: Don't return a pointer to the implementation in ID3DXEffectImpl_QueryInterface(). 2012-04-12 20:37:00 +02:00
Henri Verbeet 86b14209a0 d3dx9: Don't return a pointer to the implementation in ID3DXEffectCompilerImpl_QueryInterface(). 2012-04-12 20:36:57 +02:00
Henri Verbeet 6e05c14154 d3dx9: Don't return a pointer to the implementation in ID3DXEffectPoolImpl_QueryInterface(). 2012-04-11 18:14:50 +02:00
Rico Schüller 9273ac0286 d3dx9: Use a loop in get_vector(). 2011-12-22 17:19:16 +01:00
Rico Schüller ed700553e0 d3dx9: Simplify ID3DXBaseEffect::SetInt(). 2011-12-22 17:19:16 +01:00
Rico Schüller 940b50b2d8 d3dx9: Implement ID3DXBaseEffect::SetValue(). 2011-12-14 17:54:45 +01:00
Rico Schüller 165afd63ce d3dx9: Implement ID3DXBaseEffect::SetVectorArray(). 2011-12-14 17:54:45 +01:00
Rico Schüller 67591832a3 d3dx9: Implement ID3DXBaseEffect::SetVector(). 2011-12-14 17:54:45 +01:00
Rico Schüller e2b1f0cce9 d3dx9: Implement ID3DXBaseEffect::GetVector(). 2011-12-14 17:54:45 +01:00
Rico Schüller 90415ebdfa d3dx9: Implement ID3DXBaseEffect::SetMatrixTranspose(). 2011-12-01 14:18:51 +01:00
Rico Schüller 1e0f04e5cf d3dx9: Implement ID3DXBaseEffect::SetMatrixTransposeArray(). 2011-12-01 14:18:48 +01:00
Rico Schüller 84f158025b d3dx9: Implement ID3DXBaseEffect::SetMatrixArray(). 2011-11-29 13:55:40 +01:00
Rico Schüller cebdbb34ac d3dx9: Implement ID3DXBaseEffect::SetMatrix(). 2011-11-29 13:55:35 +01:00
Rico Schüller 0ca1efc578 d3dx9: Implement ID3DXBaseEffect::SetBoolArray(). 2011-11-29 13:55:28 +01:00
Rico Schüller 4b42b11303 d3dx9: Implement ID3DXBaseEffect::SetBool(). 2011-11-29 13:55:16 +01:00
Rico Schüller bb6f22d10e d3dx9: Implement ID3DXBaseEffect::SetIntArray(). 2011-11-28 16:40:51 +01:00
Rico Schüller 7998195f1c d3dx9: Implement ID3DXBaseEffect::SetInt(). 2011-11-28 16:40:51 +01:00
Rico Schüller d3ed67434e d3dx9: Implement ID3DXBaseEffect::SetFloatArray(). 2011-11-28 16:40:51 +01:00
Rico Schüller db6cf95a24 d3dx9: Implement ID3DXBaseEffect::SetFloat(). 2011-11-28 16:40:51 +01:00
Rico Schüller aaa593c094 d3dx9: Handle a special case in ID3DXBaseEffect::GetInt(). 2011-11-28 16:40:51 +01:00
Rico Schüller f7a4cabb46 d3dx9: Add count to trace in ID3DXBaseEffect::GetMatrixArray(). 2011-11-16 17:18:21 +01:00
Rico Schüller 7b902d2278 d3dx9: Allow setting texture to NULL. 2011-11-16 17:18:18 +01:00
Rico Schüller 5bd3c9161c d3dx9: Improve argument check in ID3DXBaseEffect::GetBool/Int/Float(). 2011-11-16 17:18:14 +01:00
Francois Gouget f87745d497 d3dx9_36: Fix compilation on systems that don't support nameless unions. 2011-07-24 12:33:27 +02:00
Rico Schüller 6865dac3fa d3dx9: Implement ID3DXBaseEffect::GetMatrixTransposeArray(). 2011-07-21 15:36:38 +02:00
Rico Schüller 75836b4789 d3dx9: Implement ID3DXBaseEffect::GetMatrixArray(). 2011-07-21 15:36:38 +02:00
Rico Schüller e9dc6c34a9 d3dx9: Fix ID3DXBaseEffect::GetFloat(). 2011-07-21 15:36:38 +02:00
Rico Schüller 6a2be190cd d3dx9: Implement ID3DXBaseEffect::GetMatrixTranspose(). 2011-07-21 15:36:38 +02:00
Rico Schüller 2731912c5a d3dx9: Implement ID3DXBaseEffect::GetVectorArray(). 2011-07-21 15:36:38 +02:00
Rico Schüller 66a820683e d3dx9: Implement ID3DXBaseEffect::GetMatrix(). 2011-07-20 19:23:05 +02:00
Rico Schüller f56af02f8c d3dx9: Introduce get_valid_parameter(). 2011-07-20 19:23:05 +02:00
Rico Schüller b0f2a49f42 d3dx9: Implement ID3DXBaseEffect::SetTexture(). 2011-07-20 19:23:05 +02:00
Rico Schüller 340643af30 d3dx9: Parse elements in d3dx9_parse_resource(). 2011-07-13 18:39:56 +02:00
Rico Schüller 7e7549abc5 d3dx9: Handle ST_PARAMETER in d3dx9_parse resource(). 2011-07-01 14:39:37 +02:00
Rico Schüller 05eef50e22 d3dx9: Handle ST_FXLC in d3dx9_parse_resource(). 2011-07-01 14:39:37 +02:00
Rico Schüller 32bba812df d3dx9: Fix ID3DXEffect::SetStateManager(). 2011-06-28 16:52:28 -05:00
Rico Schüller bc59705aca d3dx9: Implement ID3DXEffect::EndPass(). 2011-06-27 13:32:14 -05:00
Rico Schüller b7919e65fd d3dx9: Implement ID3DXEffect::SetTechnique(). 2011-06-27 13:32:07 -05:00
Rico Schüller 69c3b4baf6 d3dx9: Implement ID3DXEffect::GetCurrentTechnique(). 2011-06-27 13:31:59 -05:00
Rico Schüller fb6c973b4b d3dx9: Implement ID3DXEffect::BeginPass(). 2011-06-27 13:31:49 -05:00
Rico Schüller a63be635fc d3dx9: Implement ID3DXEffect::Begin(). 2011-06-27 13:31:36 -05:00
Rico Schüller f37302ed8a d3dx9: Fix light range spelling. 2011-06-27 13:31:20 -05:00
Gerald Pfeifer c69331c84a d3dx9_36: Fix the return value in error cases in d3dx9_parse_resource. 2011-06-16 11:17:28 +02:00
Rico Schüller 86d381a56b d3dx9: Parse resources in the effect parser. 2011-06-14 16:03:23 +02:00
Marcus Meissner 6c902b4201 d3dx9_36: Moved param NULL a bit forward (Coverity). 2011-06-13 11:31:49 +02:00
Rico Schüller 90154979a0 d3dx9: Implement ID3DXBaseEffect::GetBoolArray(). 2011-06-09 13:27:59 +02:00
Rico Schüller a93b40f0fc d3dx9: Implement ID3DXBaseEffect::GetIntArray(). 2011-06-09 13:27:56 +02:00
Rico Schüller ecf37efd82 d3dx9: Implement ID3DXBaseEffect::GetFloatArray(). 2011-06-09 13:27:53 +02:00
Rico Schüller 4f55c9eab1 d3dx9: Improve effect sampler parsing. 2011-06-08 17:15:52 +02:00
Rico Schüller 93ff2c319e d3dx9: Start effect state parsing. 2011-05-27 17:53:37 +02:00
Rico Schüller 7f426a51d1 d3dx9: Pass objects to functions instead of using the base effect in the parameter. 2011-05-25 17:54:40 +02:00
Rico Schüller 088ed09e94 d3dx9: Pass the device directly to d3dx9_parse_data(). 2011-05-25 17:54:35 +02:00
Rico Schüller 0858dee303 d3dx9: Parse effect samplers. 2011-05-20 12:44:05 +02:00
Rico Schüller e9c4e501f4 d3dx9: Fix copy and paste mistake in ID3DXBaseEffect::GetPassDesc(). 2011-05-17 12:04:12 +02:00
Rico Schüller b7b9db00e3 d3dx9: Remove some checks for defines argument in D3DXCreateEffect* functions. 2011-05-17 12:04:11 +02:00
Rico Schüller 041a651431 d3dx9: Implement ID3DXBaseEffect::GetTexture(). 2011-05-13 17:57:12 +02:00
Rico Schüller ca5b8e11cc d3dx9: Parse effect textures. 2011-05-13 17:57:05 +02:00
Rico Schüller ae2c6a164f d3dx9: Improve get_parameter_by_name(). 2011-05-13 17:57:02 +02:00
Rico Schüller 72d3ee3ab6 d3dx9: Implement ID3DXEffect::GetStateManager(). 2011-05-11 18:02:22 +02:00
Rico Schüller cd121b10d6 d3dx9: Implement ID3DXEffect::SetStateManager(). 2011-05-11 18:02:18 +02:00
Rico Schüller 3ef0a28faf d3dx9: Implement ID3DXBaseEffect::GetFloat(). 2011-05-06 15:18:20 +02:00
Rico Schüller 033439908d d3dx9: Implement ID3DXBaseEffect::GetInt(). 2011-05-06 15:18:19 +02:00
Rico Schüller 7f3ce799de d3dx9: Implement ID3DXBaseEffect::GetBool(). 2011-05-06 15:18:19 +02:00
Rico Schüller 18e4876245 d3dx9: Implement ID3DXBaseEffect::GetDesc() partially. 2011-05-06 15:18:19 +02:00
Rico Schüller 1ffad65698 d3dx9: Implement ID3DXBaseEffect::GetAnnotationByName(). 2011-05-05 11:46:45 +02:00
Rico Schüller 7858a6f8e6 d3dx9: Implement ID3DXBaseEffect::GetAnnotation(). 2011-05-05 11:46:41 +02:00
Rico Schüller f0da0f8066 d3dx9: Implement ID3DXBaseEffect::GetParameterBySemantic(). 2011-05-05 11:46:36 +02:00
Rico Schüller 35bff043f2 d3dx9: Implement ID3DXBaseEffect::GetVertexShader(). 2011-05-04 20:42:33 +02:00
Rico Schüller 59abf094cf d3dx9: Implement ID3DXBaseEffect::GetPixelShader(). 2011-05-04 20:42:33 +02:00
Rico Schüller f3f59d2cf8 d3dx9: Implement ID3DXBaseEffect::GetString(). 2011-05-03 19:34:29 +02:00
Rico Schüller 46b3727df3 d3dx9: Implement ID3DXBaseEffect::GetValue(). 2011-05-03 19:34:29 +02:00
Rico Schüller a5fbbbe4a9 d3dx9: Fix flags for annotation structures. 2011-04-26 15:31:28 +02:00
Rico Schüller 03204e99b7 d3dx9: Improve get_parameter_by_name(). 2011-04-26 15:31:27 +02:00
Rico Schüller dbfc4dfc8d d3dx9: Improve ID3DXBaseEffect::GetParameter(). 2011-04-26 15:31:27 +02:00
Francois Gouget b383111574 d3dx9_36: Make some is_valid_xxx() functions static. 2011-04-22 10:45:05 +02:00
Rico Schüller f296fe68ff d3dx9: Implement ID3DXBaseEffect::GetParameterElement(). 2011-04-21 16:53:41 +02:00
Rico Schüller 1ae414bc64 d3dx9: Implement ID3DXBaseEffect::GetParameterDesc(). 2011-04-21 16:53:40 +02:00
Rico Schüller b483ab8200 d3dx9: Implement ID3DXBaseEffect::GetParameterByName(). 2011-04-21 16:53:27 +02:00
Rico Schüller 0a23fc7b29 d3dx9: Implement ID3DXBaseEffect::GetPassByName(). 2011-04-20 16:32:10 +02:00
Rico Schüller 2e2b3c775b d3dx9: Implement ID3DXBaseEffect::GetPass(). 2011-04-20 16:32:06 +02:00
Rico Schüller f284dc77f2 d3dx9: Implement ID3DXBaseEffect::GetPassDesc(). 2011-04-20 16:32:02 +02:00
Rico Schüller 8afc8dc0c7 d3dx9: Fix ID3DXEffect*::GetVectorArray() forward. 2011-04-20 16:31:58 +02:00
Rico Schüller fa608e247a d3dx9: Implement ID3DXBaseEffect::GetTechniqueByName(). 2011-04-18 17:01:00 +02:00
Rico Schüller 6f824e171c d3dx9: Implement ID3DXBaseEffect::GetTechnique(). 2011-04-18 17:00:52 +02:00
Rico Schüller e798d0016b d3dx9: Implement ID3DXBaseEffect::GetParameter(). 2011-04-18 17:00:44 +02:00
Rico Schüller d64eb4699f d3dx9: Implement ID3DXBaseEffect::GetTechniqueDesc(). 2011-04-18 17:00:37 +02:00
Rico Schüller 4482ca41d0 d3dx9: Fix d3dx9_parse_effect_typedef for D3DXPC_STRUCT. 2011-04-18 16:59:40 +02:00
Rico Schüller 8ec21524ec d3dx9: Parse effect pass and technique. 2011-04-13 14:13:53 +02:00
Rico Schüller 4dcb3ea325 d3dx9: Make some functions inline. 2011-04-13 14:13:53 +02:00
Rico Schüller 0f10e1b344 d3dx9: Parse value data. 2011-04-12 12:50:19 +02:00
Rico Schüller 53d0a02c20 d3dx9: Parse name and semantics. 2011-04-12 12:50:15 +02:00
Rico Schüller e4a0ef69f5 d3dx9: Parse effect type D3DXPC_STRUCT. 2011-04-12 12:50:10 +02:00
Rico Schüller 20dc97296b d3dx9: Parse effect parameter type definition. 2011-04-12 12:50:06 +02:00
Francois Gouget 18e0e8c4c7 d3dx9_36: Make get_parameter_{handle,struct}() static. 2011-04-11 12:07:11 +02:00
Rico Schüller 9a7720fc1d d3dx9: Start effect parameter parsing. 2011-04-07 13:50:56 +02:00
Rico Schüller 651e044590 d3dx9: Fix return values. 2011-04-07 13:50:48 +02:00
Rico Schüller 41e34d77c5 d3dx9: Don't zero memory when it will be overridden. 2011-03-30 14:56:33 +02:00
Rico Schüller dccbfe32ad d3dx9: ID3DXEffect::QueryInterface() does not support IID_ID3DXBaseEffect. 2011-03-29 18:05:47 +02:00
Rico Schüller adbfae9b2a d3dx9: Implement ID3DXEffect::GetDevice(). 2011-03-29 18:05:42 +02:00
Rico Schüller 96192306a0 d3dx9: Implement ID3DXEffect::GetPool(). 2011-03-29 18:05:38 +02:00
Rico Schüller 27209e6097 d3dx9: Fix some style issues. 2011-03-29 18:05:34 +02:00
Rico Schüller 2f3e9673a1 d3dx9: Add ID3DXEffectCompiler interface. 2011-03-29 18:05:29 +02:00
Rico Schüller 0dff8dd3ce d3dx9: Forward ID3DXEffect to ID3DXBaseEffect. 2011-03-29 18:05:18 +02:00
Rico Schüller aaa06cfba4 d3dx9: Add ID3DXBaseEffect interface. 2011-03-29 18:02:03 +02:00
Rico Schüller eb1faf6155 d3dx9: Handle pool and device in ID3DXEffect. 2011-03-29 17:48:37 +02:00
Rico Schüller bb88fada4b d3dx9: Use size of variable instead of type. 2011-03-29 17:48:19 +02:00
Rico Schüller be43a5c414 d3dx9: Fix HeapAlloc size in D3DXCreateEffectPool. 2011-03-29 17:48:10 +02:00
Rico Schüller 0dc91c4975 d3dx9_36: Start effect parsing. 2011-03-15 17:14:07 +01:00
Michael Stefaniuc b88e09e221 d3dx9_36: COM cleanup for the ID3DXEffectPool iface. 2011-01-27 14:14:55 +01:00
Michael Stefaniuc 03321ad0fb d3dx9_36: COM cleanup for the ID3DXEffect iface. 2011-01-27 14:14:51 +01:00
Owen Rudge 00eb092e4d d3dx9: Implement CreateEffectFromFile/Resource functions. 2010-05-18 08:47:38 +02:00
Owen Rudge b3523a447c d3dx9: Implement D3DXCreateEffectCompilerFromFile/Resource. 2010-05-18 08:47:35 +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
Christian Costa 62981582dd d3dx9_36: Add stub for D3DXCreateEffect. 2010-03-19 14:31:33 +01:00