[5/5] WineD3D: Implement buffer subrange mapping with GL_APPLE_flush_buffer_range

Henri Verbeet hverbeet at gmail.com
Wed Dec 16 07:39:43 CST 2009

2009/12/16 Stefan Dösinger <stefan at codeweavers.com>:
> Actually, since we're not going to Unmap-flush and PreLoad() the buffer(its either-or), I can use the same data structure for the stack and list(or well, dynamic array). I just have to watch out not to remove elements in any place in unlock that affects DOUBLEBUFFER buffers.
Sounds fragile, but I'm willing to wait and see what the final patch looks like.

> Here is what I have so far. Completely untested, and the flushing is not yet integrated.
Yeah, it has some issues :-)

For what it's worth, I think I prefer offset/size over start/len, but
I guess that's completely subjective.

More information about the wine-devel mailing list