Question on Conformance Test

2011-04-26 Thread James McKenzie
All: I am writing a conformance test for the richedit function EM_FINDWORDBREAK. I realize that WindowsNT 4.0 is our base configuration and most of the values process the same. However, a couple of values process differently for Windows NT 4.0/Windows2000, WindowsXP/Windows2003 and Windows

Re: wined3d/state: Treat unrecognized D3DZBUFFERTYPEs as WINED3DZB_TRUE.

2011-04-26 Thread Henri Verbeet
Nope.

Re: wined3d: Track when the FBO is dirty. (try 4)

2011-04-26 Thread Stefan Dösinger
On Wednesday 27 April 2011 01:19:51 Stefan Dösinger wrote: > On Tuesday 26 April 2011 19:35:06 Adam Martinson wrote: > > -FIXME("Unrecognized D3DZBUFFERTYPE value %#x.\n", > > +WARN("treating unrecognized D3DZBUFFERTYPE value %#x as > > WINED3DZB_TRUE.\n", > > >

Re: wined3d: Track when the FBO is dirty. (try 4)

2011-04-26 Thread Stefan Dösinger
On Tuesday 26 April 2011 19:35:06 Adam Martinson wrote: > -FIXME("Unrecognized D3DZBUFFERTYPE value %#x.\n", > +WARN("treating unrecognized D3DZBUFFERTYPE value %#x as WINED3DZB_TRUE.\n", > stateblock->state.render_states[WINED3DRS_ZENABLE]); > +

Re: wined3d/query: Add support for timestamp queries.

2011-04-26 Thread Stefan Dösinger
I think timestamp queries are supposed to return GPU-side timestamps. Otherwise I don't see the point in adding a complex d3d query around QueryPerformanceFrequency. There's GL_ARB_timer_query which looks like it does what you need. signature.asc Description: This is a digitally signed message

Re: wined3d/query: Add support for timestamp queries.

2011-04-26 Thread Henri Verbeet
On 26 April 2011 19:35, Adam Martinson wrote: > +#include "d3d10.h" I don't think so.

Re: wined3d: Track when the FBO is dirty. (try 4)

2011-04-26 Thread Henri Verbeet
This is mostly the same as the previous version.

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

2011-04-26 Thread Dylan Smith
On Tue, Apr 26, 2011 at 4:15 PM, Michael Mc Donnell wrote: > > > Completely unimplemented: > > - ConvertPointRepsToAdjacency > > - ConvertAdjacencyToPointReps > > - UpdateSemantics > > Ok so I can still work on ConvertPointRepsToAdjacency and > ConvertAdjacencyToPointReps? > > Yes. I had no plans

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

2011-04-26 Thread Michael Mc Donnell
On Tue, Apr 26, 2011 at 6:34 AM, Dylan Smith wrote: > On Sun, Mar 20, 2011 at 1:09 PM, Michael Mc Donnell > wrote: >> I would like implement some of the missing mesh functions in Wine's >> D3DX9 for Google Summer of Code 2011. I would like to implement the >> following functions: >>  - CloneMesh

Re: winealsa.drv: Add mmdevapi driver.

2011-04-26 Thread Andrew Eikum
On 04/26/2011 11:26 AM, Andrew Eikum wrote: dump_fmt +TRACE("cbSize: %u\n", fmt->cbSize); Old Wine code contains several comments about never ever reading cbSize in the WAVE_FORMAT_PCM case because it's a potential read past the structure and may cause a segmentation fault. Is it not a

Re: winealsa.drv: Add mmdevapi driver.

2011-04-26 Thread Andrew Eikum
Thanks for your comments, Jörg. On 04/26/2011 06:00 AM, joerg-cyril.hoe...@t-systems.com wrote: +fmt->Format.nSamplesPerSec = 41100; +fmt->nSamplesPerSec != 41100&& 44100. IIRC, there was an error exactly like this somewhere in the old drivers. Silly typo. Thanks. But wh

Re: [PATCH 3/4] dsound: Implement capture buffer based on mmdevapi, try 2

2011-04-26 Thread Andrew Eikum
It would be nice if you used more descriptive variable names. For example: +struct IDirectSoundCaptureBufferImpl +{ +DWORD buf_size; +DWORD pos; What units are these sizes and positions in? Frames? Bytes? Time? What position is being represented here, read, write, or something else? Us

Re: cmd: handle spaces in directory names in del /s

2011-04-26 Thread Alexandre Julliard
Dan Kegel writes: > @@ -771,13 +771,16 @@ BOOL WCMD_delete (WCHAR *command, BOOL expectDir) { > > DIRECTORY_STACK *nextDir; > WCHAR subParm[MAX_PATH]; > +static const WCHAR quoteW[] = { '"', 0 }; > > /* Work out search paramet

Re: requesting review and/or testing for directsound changes

2011-04-26 Thread Stefan Dösinger
Hi, I did some testing with the shiny new sound code. I tested with and without pulseaudio, with current dsound, native(win7) dsound and your precompiled binary. Pulseaudio + current code: Sound effects are sometimes garbled or partially played, but are on time and not repeated No Pulseaudio +

Re: dinput/tests: Initial tests for Action Mapping. Added some tests for the creation of a DirectInput8 Interface and a dummy call of EnumDevicesBySemantics.

2011-04-26 Thread Lucas Zawacki
Good point. I'll create the dinput8 tests and move those there. 2011/4/26 Vitaliy Margolen : > On 04/25/2011 05:14 PM, Austin English wrote: >> >> On Sun, Apr 24, 2011 at 18:12, Lucas Fialho Zawacki >>  wrote: >> >> Howdy Lucas, >> >>> +    hr = CoCreateInstance(&CLSID_DirectInput8, 0, 1,&IID_IDir

Re: dinput/tests: Initial tests for Action Mapping. Added some tests for the creation of a DirectInput8 Interface and a dummy call of EnumDevicesBySemantics.

2011-04-26 Thread Vitaliy Margolen
On 04/25/2011 05:14 PM, Austin English wrote: On Sun, Apr 24, 2011 at 18:12, Lucas Fialho Zawacki wrote: Howdy Lucas, +hr = CoCreateInstance(&CLSID_DirectInput8, 0, 1,&IID_IDirectInput8A, (LPVOID*)&pDI); +if (hr == DIERR_OLDDIRECTINPUTVERSION || +hr == DIERR_BETADIRECTINPUTVE

Re: d3dx9_36: Fix uninitialized variable warnings.

2011-04-26 Thread Nicolas Le Cam
2011/4/26 Matteo Bruni : > 2011/4/26 Nicolas Le Cam : >> msdn tells us to use 0 to disable colorkey [1]. Let me know if you >> think it isn't the correct things to do. >> >> [1] http://msdn.microsoft.com/en-us/library/bb172902%28v=vs.85%29.aspx >> >> -- >> Nicolas Le Cam >> > > Argh, this was alrea

Re: d3dx9_36: Fix uninitialized variable warnings.

2011-04-26 Thread Matteo Bruni
2011/4/26 Nicolas Le Cam : > msdn tells us to use 0 to disable colorkey [1]. Let me know if you > think it isn't the correct things to do. > > [1] http://msdn.microsoft.com/en-us/library/bb172902%28v=vs.85%29.aspx > > -- > Nicolas Le Cam > Argh, this was already spotted by Gerald Pfeifer some time

winealsa.drv: Add mmdevapi driver.

2011-04-26 Thread Joerg-Cyril.Hoehle
Andrew, +fmt->Format.nSamplesPerSec = 41100; +fmt->nSamplesPerSec != 41100 && 44100. IIRC, there was an error exactly like this somewhere in the old drivers. But why does your IsFormatSupported only accept 48kHz, 44.1, 22.050, etc.? Do the native drivers behave like this? Is

requesting review and/or testing for directsound changes

2011-04-26 Thread Maarten Lankhorst
Hi all, with http://repo.or.cz/w/wine/multimedia.git and http://repo.or.cz/w/openal-soft.git you should be able to get the benefits of openal-soft's mixer while continuing to use whatever driver you want for mmdevapi. As a result directsound will only support openal-soft, but multi channel is