opengl: Sync a dibsection to its pixmap before drawing to it via opengl

Huw D M Davies h.davies1 at physics.ox.ac.uk
Tue Jan 31 11:28:00 CST 2006


On Sun, Jan 29, 2006 at 07:45:39PM +0100, Lionel Ulmer wrote:
> On Fri, Jan 27, 2006 at 03:48:00PM +0000, Huw D M Davies wrote:
> >         Huw Davies <huw at codeweavers.com>
> >         opengl: Sync a dibsection to its pixmap before drawing to it via opengl
> 
> Was some benchmarks done to see if this change negatively impacted the
> performance of applications doing only 'in-window' drawings (e.g. games) and
> not 'in-dib' drawings ?

In a word, 'no'.  However it shouldn't be too bad, the 'in-window' path
calls glXGetCurrentContext, get_context_from_GLXContext and
GetObjectType.  The first and last of these should be quick, as should
the second unless there are loads of contexts floating about.

Huw.



More information about the wine-devel mailing list