STATE_VDECL & friends

2011-06-17 Thread Stefan Dösinger
Hi, This is a brain core dump before going to bed for the other d3d developers. I did some testing concerning the vertexdeclaration, vertex shader, stream sources and pixel shader states. Currently the first 3 are hard linked, and the pixel shader is also tied to the vertex shader. I was intere

Re: limits on the number of events, windows and threads?

2011-06-17 Thread Ove Kaaven
Den 17. juni 2011 16:38, skrev joerg-cyril.hoe...@t-systems.com: > Hi, > > I vaguely remember reading about a quite low limit on the number of > event objects that a thread can hold because each one is said > to take up one bit in some 32 or 64 bit mask. You should probably clarify what you mean,

Re: winealsa: Avoid deadlock in AudioClient_Stop.

2011-06-17 Thread Andrew Eikum
Hi Jörg, Patch makes sense to me. I'll put together some patches for the other drivers, unless you beat me to it ;) Thanks, Andrew On 06/17/2011 10:13 AM, joerg-cyril.hoe...@t-systems.com wrote: Hi, my patch is not the final word about robust design. Consider what happens when DeleteTimerQ

Re: [1/7] server: Implement RegisterHotKey/UnregisterHotKey.

2011-06-17 Thread Vincent Povirk
I now have a test, and it turns out the docs are incorrect. After registering a new hotkey with the same id/hwnd as an existing hotkey, the old key combination no longer generates a WM_HOTKEY message, and the new one does, on all Windows versions that winetestbot tested. I'll send that after I fin

dead-lock free design

2011-06-17 Thread Joerg-Cyril.Hoehle
Hi, there are two guidelines that I identified while trying to prevent dead-locks with critical sections and access to uninitialiased memory in Wine. My latest patch shows both applications. http://www.winehq.org/pipermail/wine-patches/2011-June/103247.html 1. In callbacks, detect when it should

limits on the number of events, windows and threads?

2011-06-17 Thread Joerg-Cyril.Hoehle
Hi, I vaguely remember reading about a quite low limit on the number of event objects that a thread can hold because each one is said to take up one bit in some 32 or 64 bit mask. That was then invoked as a reason to allocate e.g. event or window objects for as short a time span as possible. Is

Re: GSoC-2011: Implement Missing Mesh Functions in Wine’s D3DX9

2011-06-17 Thread Michael Mc Donnell
On Fri, Jun 17, 2011 at 3:02 PM, Stefan Dösinger wrote: > On Friday 17 June 2011 14:27:55 Michael Mc Donnell wrote: >> Ok I've sent them to wine-patches. > They didn't make it through yet. Are you subscribed? (If you're not > subscribed, don't resend them yet, Newman will most likely let them thro

Re: GSoC-2011: Implement Missing Mesh Functions in Wine’s D3DX9

2011-06-17 Thread Stefan Dösinger
On Friday 17 June 2011 14:27:55 Michael Mc Donnell wrote: > Ok I've sent them to wine-patches. They didn't make it through yet. Are you subscribed? (If you're not subscribed, don't resend them yet, Newman will most likely let them through manually later today) signature.asc Description: This is

Re: GSoC-2011: Implement Missing Mesh Functions in Wine’s D3DX9

2011-06-17 Thread Michael Mc Donnell
On Fri, Jun 17, 2011 at 1:07 PM, Stefan Dösinger wrote: > On Friday 17 June 2011 12:14:59 Michael Mc Donnell wrote: >> Ok I've added WARN message for every case where it returns an error to >> the application. I've also reworded the WARN where it uses an invalid >> declaration but still must retur

Re: GSoC-2011: Implement Missing Mesh Functions in Wine’s D3DX9

2011-06-17 Thread Stefan Dösinger
On Friday 17 June 2011 12:14:59 Michael Mc Donnell wrote: > Ok I've added WARN message for every case where it returns an error to > the application. I've also reworded the WARN where it uses an invalid > declaration but still must return D3D_OK. Looks good! signature.asc Description: This is a d

Re: [1/7] server: Implement RegisterHotKey/UnregisterHotKey.

2011-06-17 Thread Alexandre Julliard
"Vincent Povirk" writes: > @@ -2632,6 +2632,29 @@ enum coords_relative > #define SET_USER_OBJECT_FLAGS 1 > > > +/* Register a hotkey */ > +@REQ(register_hotkey) > +user_handle_t window;/* handle to the window */ > +intid;/* hotkey identifier */ > +

Fwd: GSoC-2011: Implement Missing Mesh Functions in Wine’s D3DX9

2011-06-17 Thread Michael Mc Donnell
Hi Stefan sorry for the duplicate email. I forgot to also send it to wine-devel. On Fri, Jun 17, 2011 at 12:02 AM, Stefan Dösinger wrote: > On Thursday 16 June 2011 10:49:19 Michael Mc Donnell wrote: >> I've added the test you outlined. It shows you're correct that >> GetDeclaration only writes u