Re: Vertex Buffer Objects for WineD3D

2006-06-13 Thread Stefan Dösinger
It will be better to move VBO creation and binding on vertexbuffer.c. (its why GetMemory didn't provide VBO id before, no need for that) Have you planned to use ti for index buffers too ? That was my first idea(just bind the vertex buffer in GetMemory and return the offset), but the problem is

Re: Vertex Buffer Objects for WineD3D

2006-06-12 Thread Stefan Dösinger
Hi, This is an updated version of the VBO patch. The main difference is the integration with IWineD3DDevice::ProcessVertices which gives a nice performance boost for Half-Life 1 and propably Anarchy Online(not tested yet). What is missing is work with vertex shaders(awaiting the download of

Re: Vertex Buffer Objects for WineD3D

2006-06-12 Thread Raphael
On Monday 12 June 2006 13:40, Stefan Dösinger wrote: Hi, This is an updated version of the VBO patch. The main difference is the integration with IWineD3DDevice::ProcessVertices which gives a nice performance boost for Half-Life 1 and propably Anarchy Online(not tested yet). It will be

Vertex Buffer Objects for WineD3D

2006-06-09 Thread Stefan Dösinger
Hi, In the last days I've been working on using the OpenGL vertex buffer objects extension for IWineD3DVertexBuffer. The aims of this were: * Store geometry data in the hardware for more efficient rendering * Convert the colors and rhw values on upload and get rid of drawStridedSlow The result