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

2006-02-01 Thread Alexandre Julliard
Huw D M Davies <[EMAIL PROTECTED]> writes: > --- a/dlls/opengl32/wgl.c > +++ b/dlls/opengl32/wgl.c > @@ -54,7 +54,8 @@ enum x11drv_escape_codes > X11DRV_END_EXPOSURES, /* end graphics exposures */ > X11DRV_GET_DCE, /* get the DCE pointer */ > X11DRV_SET_DCE,

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

2006-01-31 Thread Huw D M Davies
On Sun, Jan 29, 2006 at 07:45:39PM +0100, Lionel Ulmer wrote: > On Fri, Jan 27, 2006 at 03:48:00PM +, Huw D M Davies wrote: > > Huw Davies <[EMAIL PROTECTED]> > > opengl: Sync a dibsection to its pixmap before drawing to it via > > opengl > >

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

2006-01-29 Thread Lionel Ulmer
On Fri, Jan 27, 2006 at 03:48:00PM +, Huw D M Davies wrote: > Huw Davies <[EMAIL PROTECTED]> > 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 app

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

2006-01-27 Thread Alexandre Julliard
Huw D M Davies <[EMAIL PROTECTED]> writes: > +void enter_gl(void) > +{ > +GLXContext gl_ctx; > +Wine_GLContext *ctx; > +enum x11drv_escape_codes escape = X11DRV_SYNC_PIXMAP; > + > +wine_tsx11_lock_ptr(); /* unlock in LEAVE_GL */ > +gl_ctx = glXGetCurrentContext(); > +if(!gl