Re: dx9 and shaders

2006-02-09 Thread H. Verbeet
On 09/02/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: > What is the relevant difference between HeapAlloc and VirtualAlloc? I've read > the msdn pages, and I couldn't find anything that would make a crucial > difference for a bitmap. VirtualAlloc allocates / reserves entire pages. 0x7dfa is p

Re: dx9 and shaders

2006-02-09 Thread Stefan Dösinger
Hi, > I'm not sure you can do that like that. lock.pBits is allocated with > HeapAlloc, and it looks like DIB_CreateDIBSection expects memory > allocated with VirtualAlloc, judging by a quick look at the code and > the commit comment here: You could be right with this: I've checked in ddraw, and it

Re: dx9 and shaders

2006-02-08 Thread H. Verbeet
On 03/02/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: > If you have any ideas why GetDC fails, please tell me > trace:d3d_surface:IWineD3DSurfaceImpl_LockRect returning memory > 0x7dfa0020, pitch(4096) dirtyfied(1) > First chance exception: page fault on read access to 0x7dfa in 32-bit cod

Re: dx9 and shaders

2006-02-03 Thread Stefan Dösinger
> Have you got a diff against a current tree anywhere? I can't promise > I'll be of any help, but I wouldn't mind taking a look sometime when I > can find the time. A small test program might be usefull as well. I have attached a diff with my getDC implementation against the current tree, and a t

Re: dx9 and shaders

2006-02-02 Thread Stefan Dösinger
Hi, > Have you got a diff against a current tree anywhere? I can't promise > I'll be of any help, but I wouldn't mind taking a look sometime when I > can find the time. A small test program might be usefull as well. I have a test program, and I can provide a diff with my d3d7 tomorrow. However, I

Re: dx9 and shaders

2006-02-02 Thread Roderick Colenbrander
On Tuesday 31 January 2006 21:26, Roderick Colenbrander wrote: > There's some initial shader stuff in wine but not sure how well it works. I > don't know what the status on it is as we haven't heard anything from the > guy who was working on this. He was also working on moving the d3d8 code > over

Re: dx9 and shaders

2006-02-02 Thread H. Verbeet
On 01/02/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: > As for my ddraw/d3d7 work: I have ddraw working fine(but not Opengl > accellerated), and D3D rendering is working basically. However, I am still > stuck on IWineD3DSurface::GetDC / IWineD3DSurface::ReleaseDC, and they are > show stoppers for

Re: dx9 and shaders

2006-02-01 Thread Molle Bestefich
Stefan Dösinger wrote: > However, I am still stuck on > IWineD3DSurface::GetDC / IWineD3DSurface::ReleaseDC, > and they are show stoppers for d3d7 games. Here's the relevant post. http://article.gmane.org/gmane.comp.emulators.wine.devel/38533/ Unfortunately I'm of no use wrt. that, but thought I'

Re: dx9 and shaders

2006-02-01 Thread Tom Wickline
On 2/1/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: > Hi, > > Here is a (probably outdated) link: > > > > http://wiki.winehq.org/DirectX-ToDo > In my eyes this list is quite up to date. I need to update the [DirectSound] section to reflect that full duplex support has been added. Other than that

Re: dx9 and shaders

2006-02-01 Thread Stefan Dösinger
Hi, > Here is a (probably outdated) link: > > http://wiki.winehq.org/DirectX-ToDo In my eyes this list is quite up to date. Out of curiosity, does anyone know what happened to Oliver? I haven't heard from him since quite a long time :( As for my ddraw/d3d7 work: I have ddraw working fine(but not

Re: dx9 and shaders

2006-02-01 Thread Raphael
Hi all, Shaders (in wined3d) support is almost complete (minor some bugs) for : - vs 2.1 for Vertex Shader - ps 1.3 for pixel Shader Oliver have successfully merged d3d8 code into wined3d but software emulatlion for VS seems broken Anyway we don't have the code to support GLSL (or NV_shader)

Re: dx9 and shaders

2006-01-31 Thread Aric . Cyr
Roderick Colenbrander gmx.net> writes: > > > Is there a TODO or similar documentation on D3D8 & 9 for Wine? I don't > > necessarily have much background in DirectX. Last time I used it was > > when DirectX 3.0 was brand spanking new and was all the rave. I'm > > willing to work, but don't know w

Re: dx9 and shaders

2006-01-31 Thread Roderick Colenbrander
> Is there a TODO or similar documentation on D3D8 & 9 for Wine? I don't > necessarily have much background in DirectX. Last time I used it was > when DirectX 3.0 was brand spanking new and was all the rave. I'm > willing to work, but don't know where to start and am limited on time > available to

Re: dx9 and shaders

2006-01-31 Thread Coleman Kane
On Tue, 2006-01-31 at 21:26 +0100, Roderick Colenbrander wrote: > There's some initial shader stuff in wine but not sure how well it works. I > don't know what the status on it is as we haven't heard anything from the guy > who was working on this. He was also working on moving the d3d8 code over

Re: dx9 and shaders

2006-01-31 Thread Roderick Colenbrander
There's some initial shader stuff in wine but not sure how well it works. I don't know what the status on it is as we haven't heard anything from the guy who was working on this. He was also working on moving the d3d8 code over to wined3d. If you have time to help out, all help is usefull :) One

dx9 and shaders

2006-01-31 Thread Coleman Kane
Hi, What is the status on Shader support for DX9 in the latest WINE cvs, and the future projections of support in this area? I am working on a transition project, and am curious how far off support for this is in the WINE project, and perhaps where work needs to be done. Are there any people orga