[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 3/5] wined3d: Introduce "context_apply_state()" to setup a
From:       Stefan_Dösinger <stefandoesinger () gmx ! at>
Date:       2009-12-28 19:56:58
Message-ID: BECDFC75-8E52-4D50-B746-13CF18325863 () gmx ! at
[Download RAW message or body]


Am 28.12.2009 um 11:32 schrieb Henri Verbeet:

> 2009/12/28 Stefan Dösinger <stefandoesinger@gmx.at>:
> > The patch looks ok to me, but out of curiosity: Do you intend to make this \
> > function available to other wined3d code like context_acquire is, or is the main \
> > motivation of the patch to tidy up the context_acquire() function? 
> I'll probably kill the "usage" argument to context_acquire() at some
> point, yeah.
This might be useful in some places, although currently I can only think of the \
non-fbo-blit swapchain present blit(which could be dealt with in other ways maybe).

Keep in mind though that context_apply_state only works properly if the context is \
current, and that might make it somewhat awkward to use because callers have to \
acquire the context first.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic