On 27 September 2013 13:05, Stefan Dösinger <stefandoesin...@gmail.com> wrote: > I think we should place comments like "This function is called through > the command stream" for all functions that are called through the CS, > similar to what we do for context activation. > Perhaps, I'm not sure. For that kind of comment to be useful it should have a clear set of implications, and I'm not sure it has that until we work out the details of the multi-threaded implementation.
> Also note that swapchain_gl_present contains calls to > wined3d_surface_blt and wined3d_device_clear that are going to cause > problems with the multithreaded CS. I have patches to remove them, so > feel free to ignore this problem for now. > Sure, this is just getting the basic infrastructure in place. I'm ignoring e.g. the RECT pointers that aren't necessarily valid after the present call finishes as well, until the actual multi-threaded implementation comes along.