[EMAIL PROTECTED] wrote:
> As list administrator, your authorization is requested for the
> following mailing list posting:
> 
>     List:    Mesa3d-dev@lists.sourceforge.net
>     From:    [EMAIL PROTECTED]
>     Subject: Re: [Mesa3d-dev] glXSwapBuffers
>     Reason:  Post by non-member to a members-only list
> 
> At your convenience, visit:
> 
>     https://lists.sourceforge.net/lists/admindb/mesa3d-dev
>         
> to approve or deny the request.
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> Re: [Mesa3d-dev] glXSwapBuffers
> From:
> Ulrich Czekalla <[EMAIL PROTECTED]>
> Date:
> Tue, 23 Jan 2007 07:05:21 -0500
> To:
> Brian Paul <[EMAIL PROTECTED]>
> 
> To:
> Brian Paul <[EMAIL PROTECTED]>
> CC:
> mesa3d-dev@lists.sourceforge.net
> 
> 
> On Mon, Jan 22, 2007 at 12:42:52PM -0700, Brian Paul wrote:
>> The viewport and scissor box are NOT supposed to effect SwapBuffers.  
>> I'm very suprised to hear that NVIDIA does what you say.
>>
> 
> Hmmm that's not what I wanted to hear ;-) 
> 
>> One work around would be this:
>>
>> glReadBuffer(GL_BACK);
>> glDrawBuffer(GL_FRONT);
>> glCopyPixels(0, 0, w, h, GL_COLOR);
>>
> 
> Yes I thought of this but I'm concerned it will be too slow. 
> 
> We also considered writing a glX extension to allow us to specify an offset
> and clip region that would allow us to override the window position and
> size reported to gl/glx.
> 
> We're still hoping we can achieve the same thing by overriding various
> gl/wgl calls without incurring a significant performance hit.

There is a Mesa extension, GLX_MESA_copy_sub_buffer that lets you swap 
(copy, actually) a sub-region, but I don't recall off-hand if the 
hardware drivers support it.  The glCopyPixels approach should work with 
_any_ OpenGL implementation.

-Brian

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to