Leif Delgass wrote:
> On Mon, 8 Jul 2002, Brian Paul wrote:
>>
>>The driver should assume the second case.  swrast->Driver.SetReadBuffer()
>>will get called for the first case, as needed.
> 
> I missed this comment before.  If we assume the second case, we'd change
> the ReadBuffer (mmesa->readOffset in the driver) whenever
> ctx->Driver.SetDrawBuffer() is called, right?  And you're saying that
> swrast->Driver.SetReadBuffer() will be called to change to the real
> ReadBuffer for glReadPixels, right?  Would Mesa then call
> ctx->Driver.SetDrawBuffer() again to set the state back to ReadBuffer =
> DrawBuffer for software rendering?

Yes.

-Brian




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to