Re: [Xmame] xf86_dga2.c and deprecated DGA function

2002-01-26 Thread Shyouzou Sugitani
Fernand Albarr wrote: Here is a small patch that replace a call to a DGA1 function with the matching DGA2 version. Thanks. - we are in an initialization routine, I suppose we don't care when the location adjustement will be done, am I missing something here ? But there is no other

Re: [Xmame] xf86_dga2.c and deprecated DGA function

2002-01-26 Thread Shyouzou Sugitani
My idea: - In xf86_dga2_create_display() replace XDGASetViewport(); with xf86_dga_fix_viewport = 1;. - In xf86_dga2_update_display() check xf86ctx.modes-viewportFlags and use XDGAFlipImmediate or XDGAFlipRetrace with XDGAGetViewportStatus(). Attached patch is an implementation of

Re: [Xmame] xf86_dga2.c and deprecated DGA function

2002-01-26 Thread Shyouzou Sugitani
Attached patch is an implementation of my idea, but not tested. Attached is a correct(tested) patch. Shyouzou Sugitani [EMAIL PROTECTED] [EMAIL PROTECTED] --- src/unix/video-drivers/xf86_dga2.c.dist Sun Jan 27 01:08:30 2002 +++ src/unix/video-drivers/xf86_dga2.c

Re: [Xmame] xf86_dga2.c and deprecated DGA function

2002-01-26 Thread Fernand Albarracin
On Sat 26 Jan 2002 at 17:49:36 +0900, Shyouzou Sugitani wrote: - we are in an initialization routine, I suppose we don't care when the location adjustement will be done, am I missing something here ? Hmmm, what I didn't know at that point is that the code didn't perform any location