On Fri, Jan 27, 2006 at 03:48:00PM +0000, Huw D M Davies wrote:
Huw Davies <huw@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 ?
Lionel (in catch-up mode after coming back from vacation so sorry if this point was already raised later in the week :-) )
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@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.