Ken Thomases
3ade58b0b9
winecoreaudio: Change to faster non-recursive mutex.
2006-12-21 12:00:49 +01:00
Ken Thomases
d5975872af
winecoreaudio: Push notify of completions from render callback to message thread.
...
Rather than have the Audio Unit render callback traverse the queue of wave
headers looking for complete ones, and sending a message to the message thread
for each one it finds, just send one message to tell the message thread to do
that work itself. The render callback is called in a real-time priority
thread and is expected to return as quickly as possible.
2006-12-21 12:00:36 +01:00
Ken Thomases
e24533cb6d
winecoreaudio: Remove more mutexes from around Audio Unit calls.
2006-12-21 12:00:20 +01:00
Ken Thomases
0bb13dd31c
winecoreaudio: Report when the render callback is just providing silence.
2006-12-21 12:00:09 +01:00
Ken Thomases
82fff94c33
winecoreaudio: Lift mutex lock/unlock out of wodHelper_PlayPtrNext to caller.
2006-12-21 11:59:53 +01:00
Ken Thomases
bdbe803cb6
winecoreaudio: Leave audio unit running, except when waveout device paused.
2006-12-21 11:45:36 +01:00
Ken Thomases
aef21c19c1
winecoreaudio: Eliminate unnecessary variable, unreachable code, unused retval.
2006-12-21 11:45:11 +01:00
Ken Thomases
7cecf7a40a
winecoreaudio: Inline & eliminate the specializations of wodHelper_BeginWaveHdr.
2006-12-21 11:44:42 +01:00
Ken Thomases
be4a17876d
winecoreaudio: Specialize wodHelper_BeginWaveHdr for its two callers and simplify.
...
wodHelper_PlayPtrNext is only called when state == WINE_WS_PLAYING. Also, it
clears dwPartialOffset itself.
wodWrite only calls wodHelper_BeginWaveHdr[Write] with a non-NULL lpWaveHdr
parameter. wodWrite is not called from the Audio Unit render callback, so it
can use Wine debug channels.
2006-12-21 11:43:21 +01:00
Ken Thomases
551f7d94a3
winecoreaudio: Simplify handling of BEGIN+ENDLOOP wave headers.
2006-12-21 11:42:48 +01:00
Ken Thomases
91c5ec9616
winecoreaudio: Extract wodHelper_CheckForLoopBegin() from wodHelper_BeginWaveHdr().
...
This refactoring prepares the ground for subsequent refactoring of
wodHelper_BeginWaveHdr.
2006-12-21 11:42:28 +01:00
Ken Thomases
a6da8f212d
winecoreaudio: Create port for sending messages to the callback thread only once.
2006-12-21 11:42:12 +01:00
Ken Thomases
23bb112b10
winecoreaudio: Control the fprintf's by the Wine debug channel on/off settings.
2006-12-21 11:42:05 +01:00
Günther Brammer
8485eb02dc
ddraw: Add a test for IDirectDrawSurface_SetColorKey.
2006-12-21 11:25:05 +01:00
Huw Davies
42d372eb4a
gdi32: Actually create the Wine fonts key if it doesn't exist.
2006-12-21 11:25:00 +01:00
Juan Lang
c2da099e29
kernel32: Suppress an unneeded warning.
2006-12-21 11:24:56 +01:00
Alex Villacís Lasso
4a4effe3f7
oleaut32: VarBstrFromCy - Remove use of sprintfW by converting a CY
...
into a DECIMAL instead of a double as an intermediate step.
2006-12-21 11:24:48 +01:00
Chris Robinson
ed21935479
d3d: Fix adapter mode enumeration and filtering.
2006-12-20 17:58:34 +01:00
Christoph Frick
e4a6562937
dinput: Drop magic int.
2006-12-20 17:41:09 +01:00
Christoph Frick
b0eb9d0b89
dinput: Set the correct size for the old dinput joystick.
...
This also reverts my previous patch as this is the real cause for the
problems with Grand Prix Legends.
2006-12-20 17:40:17 +01:00
Stefan Dösinger
df97fd3e46
wined3d: Reinstall the nvrc texture unit mapping.
2006-12-20 17:09:40 +01:00
Stefan Dösinger
a008003ccc
wined3d: Catch nop pixel shader changes.
2006-12-20 17:09:29 +01:00
Stefan Dösinger
22e2a5aca5
wined3d: Add pixel shaders to the state table.
2006-12-20 17:09:21 +01:00
Stefan Dösinger
8365b2819a
wined3d: Catch nop sampler changes.
2006-12-20 17:09:08 +01:00
Stefan Dösinger
666b507766
wined3d: Move samplers to the state table.
2006-12-20 17:07:56 +01:00
Stefan Dösinger
2d1aeb4382
wined3d: Add empty sampler entries to the state table.
2006-12-20 17:07:47 +01:00
Stefan Dösinger
7f973c9375
wined3d: Catch nop SetTextureStageState calls.
2006-12-20 17:07:37 +01:00
Stefan Dösinger
557b1fa477
wined3d: Make WINED3DTSS_CONSTANT a nogl state.
2006-12-20 17:07:19 +01:00
Stefan Dösinger
63a8c3c408
wined3d: Make a WINED3DTSS_RESULTARG stub.
2006-12-20 17:07:11 +01:00
Stefan Dösinger
aec9f1143b
wined3d: Make WINED3DTSS_TEXTURETRANSFORMFLAGS a nogl state.
2006-12-20 17:07:02 +01:00
Stefan Dösinger
1021f64474
wined3d: Add a WINED3DTSS_BUMPENVLOFFSET stub.
2006-12-20 17:06:51 +01:00
Stefan Dösinger
72a4f6e1cf
wined3d: Add a WINED3DTSS_BUMPENVSCALE stub.
2006-12-20 17:06:35 +01:00
Stefan Dösinger
4e5314011b
wined3d: Move WINED3DTSS_TEXCOORDINDEX to the state table.
2006-12-20 17:06:24 +01:00
Stefan Dösinger
bd6a6ad2c0
wined3d: Move WINED3DTSS_ALPHAOP to the state table.
2006-12-20 17:06:10 +01:00
Stefan Dösinger
762af471e8
wined3d: Move WINED3DTSS_COLOROP to the state table.
2006-12-20 17:06:00 +01:00
Stefan Dösinger
251f1eea7a
wined3d: Do not enable the texture dimensions in BindTexture.
2006-12-20 17:05:51 +01:00
Stefan Dösinger
569a2fa7c0
wined3d: Add empty texture stage states to the state table.
2006-12-20 17:05:40 +01:00
Stefan Dösinger
1e264e5dd4
wined3d: Temporary disable nvrc junk texture skipping.
2006-12-20 17:05:11 +01:00
Alexandre Julliard
d56b3c10c4
shell32: Don't hardcode the system32 directory in registered classes.
2006-12-20 17:05:02 +01:00
Alexandre Julliard
2a1dc15790
ntdll: Fix the libdl refcount when loading the same builtin twice.
2006-12-20 15:54:27 +01:00
Francois Gouget
1d6db94ee2
kernel32/tests: Test loading and unloading of builtin dlls.
2006-12-20 15:48:22 +01:00
Kai Blin
6055c667e9
ws2_32: ws_sockaddr_u2ws should zero the sockaddr_in.sin_zero field.
2006-12-20 15:47:31 +01:00
Vitaliy Margolen
938657b1c1
dinput: Warp mouse in exclusive cooperation mode only.
2006-12-20 14:12:49 +01:00
Vitaliy Margolen
546c7a502d
dinput: Use GetCursorPos() to calculate relative mouse movements.
2006-12-20 14:12:42 +01:00
Rob Shearman
e236edb91e
ole32: Send a causality ID in the ORPCTHIS header for a call.
...
Use the causality ID to determine whether this is a top-level or a
nested (called-back) call for the purposes of IMessageFilter::HandleInComingCall.
2006-12-20 12:41:01 +01:00
Rob Shearman
4fa03831a5
ole32: Reset the message filter at the end of the message filter test.
2006-12-20 12:40:46 +01:00
Rob Shearman
a089e57983
ole32: Pass in the IID and IUnknown* of the object being executed to the server notification and message filter functions.
2006-12-20 12:40:38 +01:00
Rob Shearman
9208eef55c
ole32: Call the message filter for incoming calls.
2006-12-20 12:40:30 +01:00
Rob Shearman
c0a25d3565
ole32: Call ServerNotify for channel hooks.
...
Store the SChannelHookCallInfo structure in the message state.
2006-12-20 12:40:03 +01:00
Rob Shearman
5788ee9f05
ole32: Implement CoRegisterChannelHook and call channel hook methods on the client side.
2006-12-20 12:39:50 +01:00
Rob Shearman
1dc5dec6e6
ole32: Marshal the ORPCTHIS structure prefixed to the client data when doing ORPC calls.
...
This is done by putting the ORPCTHIS data into the buffer when calling
IRpcChannelBuffer::GetBuffer on the client side and then storing the
amount we increased the buffer in a structure stored in the Handle
field. This is done to present the correct Buffer pointer to the proxy
so that it writes its data after the ORPCTHIS data.
Unmarshal the data on the server side (during RPC_ExecuteCall) and make
sure the data is consistent according to NDR rules. Also add several
checks on the unmarshaled data that are specified by the DCOM draft
specification.
2006-12-20 12:36:43 +01:00
H. Verbeet
e4fc45e0fe
wined3d: Allow wined3d to handle multiple render targets.
2006-12-20 12:32:30 +01:00
H. Verbeet
299c1e62bf
wined3d: Allow the FBO code to handle multiple render targets.
2006-12-20 12:32:13 +01:00
H. Verbeet
577dbb578b
wined3d: Move storing the render target from ActiveRender to SetRenderTarget.
...
Use the render target index rather than hardcoding 0.
2006-12-20 12:31:57 +01:00
H. Verbeet
8355b1a501
wined3d: Allow the device to store multiple render targets.
2006-12-20 12:31:40 +01:00
Alexandre Julliard
e5477b35f4
ntdll: Fixed typo in map_image.
2006-12-20 12:31:20 +01:00
Roderick Colenbrander
c026faaeed
winex11.drv: pbuffer detection.
2006-12-20 12:31:04 +01:00
Ulrich Czekalla
b2f33ffbbb
winex11.drv: Don't crash when called with a NULL gl context.
2006-12-20 12:30:49 +01:00
Huw Davies
7329144c58
gdi32: Improve the fontconfig filtering hack so that Mac suitcase fonts get through.
2006-12-20 12:28:00 +01:00
Andrew Talbot
3d41200797
gdi32: Remove unused function.
2006-12-20 12:27:55 +01:00
Rob Shearman
307ab51793
ole32: Fix the HMETAFILEPICT user marshaling test to use the size
...
derived from the return value of HMETAFILEPICT_UserMarshal instead of
the value returned by HMETAFILEPICT_UserSize, as the latter
over-estimates the size on Windows.
Remove some unnecessary casts.
2006-12-19 17:00:02 +01:00
Juris Smotrovs
00982465c4
user32: Extend the support for SWP_STATECHANGED for all windows.
2006-12-19 16:58:24 +01:00
Stefan Dösinger
f661a8287c
wined3d: Add WINED3DRS_STIPPLEPATTERNxy.
2006-12-19 16:53:44 +01:00
Stefan Dösinger
f154f543aa
wined3d: Fix a function name.
2006-12-19 16:53:37 +01:00
Stefan Dösinger
ff077ec621
wined3d: Add missing render state function.
2006-12-19 16:53:30 +01:00
Stefan Dösinger
062b6ffc5c
wined3d: Catch nop render state changes.
2006-12-19 16:53:18 +01:00
Stefan Dösinger
c83562af69
wined3d: Move render state applying to drawprim.
2006-12-19 16:53:07 +01:00
Stefan Dösinger
7532c759f1
wined3d: Add the state dirtification infrastructure.
2006-12-19 16:53:00 +01:00
Louis Lenders
6c04a187d2
msvcrt: Add _atoldbl.
2006-12-19 16:18:01 +01:00
Alex Villacís Lasso
f162ce45ad
oleaut32: Bypass conversion to string in R4/R8 -> DECIMAL conversion.
2006-12-19 14:09:44 +01:00
Vitaliy Margolen
7de64a3ab8
winex11drv: Return cached cursor_pos in GetCursorPos().
2006-12-19 12:39:08 +01:00
Hans Leidekker
84f0a03556
ws2_32: Implement the SIO_ADDRESS_LIST_QUERY ioctl.
2006-12-19 12:39:02 +01:00
Dmitry Timoshkov
5fc9ffd500
kernel32: Add a minimal PE image that XP is able to load.
2006-12-19 12:38:56 +01:00
James Hawkins
be59fb4e6d
msi: Enable cab compression and delete any resulting cabs using SHFileOperation.
2006-12-19 12:38:48 +01:00
James Hawkins
e1f76deedc
msi: Run the install tests from a temporary directory.
2006-12-19 12:09:07 +01:00
Clinton Stimpson
e0829eb70f
usp10: Implement ScriptStringCPtoX.
2006-12-18 12:19:53 +01:00
Clinton Stimpson
bdbab217c9
usp10: Implement ScriptStringXtoCP.
2006-12-18 12:18:48 +01:00
Clinton Stimpson
857e330e77
usp10: Implement ScriptStringFree.
2006-12-18 12:17:19 +01:00
Clinton Stimpson
b91eb5a110
usp10: Implement ScriptStringAnalyse.
2006-12-18 12:17:12 +01:00
Markus Amsler
d80dc79280
d3d9: Handle volume container in d3d9.
2006-12-18 12:08:08 +01:00
Markus Amsler
467b1dd3ad
d3d9: Handle surface container in d3d9.
2006-12-18 12:08:02 +01:00
Markus Amsler
87083c9d71
d3d8: Handle volume container in d3d8.
2006-12-18 12:07:54 +01:00
Markus Amsler
0531858146
d3d8: Handle surface container in d3d8.
2006-12-18 12:07:46 +01:00
Markus Amsler
73b5fb059f
d3d9: Fix implicit swap chain refcounting.
2006-12-18 12:07:38 +01:00
Markus Amsler
5e0fc62135
d3d: Callback infrastructure for implicit swap chain destruction in IWineD3DDevice.
2006-12-18 12:07:26 +01:00
Markus Amsler
f9f3ec2f00
d3d9: Fix implicit surface refcounting.
2006-12-18 12:07:09 +01:00
Markus Amsler
4ca9fccf31
wined3d: Remove IWineD3DVolume_GetContainerParent.
2006-12-18 12:02:28 +01:00
Markus Amsler
9b397ec2d5
wined3d: Remove IWineD3DSurface_GetContainerParent.
2006-12-18 12:02:17 +01:00
Markus Amsler
63e23995bc
d3d9: Handle volume refcount forwarding in d3d9.
2006-12-18 12:02:06 +01:00
Markus Amsler
04dcffe393
d3d9: Handle surface refcount forwarding in d3d9.
2006-12-18 12:01:58 +01:00
Markus Amsler
0bceec1be8
wined3d: Call the depth stencil destroy callback function.
2006-12-18 12:01:39 +01:00
James Hawkins
fdfb10e02b
msi: Update the text control when the selection path changes.
2006-12-18 12:01:18 +01:00
James Hawkins
6f3f2549c1
msi: Only cleanup event subscriptions of the dialog being closed.
2006-12-18 12:01:09 +01:00
Vitaliy Margolen
975d7ff292
dinput: Make mouse use axis mode flag set in base class. Add tests.
2006-12-18 12:01:05 +01:00
Vitaliy Margolen
7b07e4b563
dinput: Add handling of AXISMODE property to base device object.
2006-12-18 12:00:50 +01:00
Vitaliy Margolen
350c66fec2
dinput: Zero out returned information struct.
2006-12-18 12:00:43 +01:00
Vitaliy Margolen
1db55d2511
dinput: Don't return non existent keys.
2006-12-18 12:00:41 +01:00
Rob Shearman
c3b4fe3919
kernel32: Protect global alloc functions against integer overflows on the size parameter.
2006-12-18 11:54:54 +01:00
Rob Shearman
fb883d8687
ole32: Fix SetSize for HGLOBAL streams in the case of being out-of-memory.
2006-12-18 11:54:24 +01:00
Rob Shearman
fda6498284
ole32: Implement HMETAFILE and HMETAFILEPICT user marshaling functions and add tests for these.
2006-12-18 11:52:58 +01:00