Re: [Mesa-dev] dd_function_table::Clear()

2012-01-19 Thread Dee Sharpe
On 1/19/2012 11:07 AM, Brian Paul wrote: No. The _ColorDrawBuffers[] array is indexed by an integer between 0 and _NumColorDrawBuffers-1. The contents of the array is updated by calls to glDrawBuffer() or glDrawBuffersARB(). If you specifically want the front-left buffer you'd use: ctx->Dra

Re: [Mesa-dev] dd_function_table::Clear()

2012-01-19 Thread Brian Paul
On 01/19/2012 09:58 AM, Dee Sharpe wrote: On 1/18/2012 11:19 AM, Brian Paul wrote: On 01/18/2012 09:01 AM, Dee Sharpe wrote: While implementing Clear() for a platform, which buffers in GLContext need to be cleared out of the list of: DrawBuffer ReadBuffer WinSysDrawBuffer WinSysReadBuffer Or

Re: [Mesa-dev] dd_function_table::Clear()

2012-01-19 Thread Dee Sharpe
On 1/18/2012 11:19 AM, Brian Paul wrote: On 01/18/2012 09:01 AM, Dee Sharpe wrote: While implementing Clear() for a platform, which buffers in GLContext need to be cleared out of the list of: DrawBuffer ReadBuffer WinSysDrawBuffer WinSysReadBuffer Or do they all need to be cleared? Clearing

Re: [Mesa-dev] dd_function_table::Clear()

2012-01-18 Thread Brian Paul
On 01/18/2012 09:01 AM, Dee Sharpe wrote: While implementing Clear() for a platform, which buffers in GLContext need to be cleared out of the list of: DrawBuffer ReadBuffer WinSysDrawBuffer WinSysReadBuffer Or do they all need to be cleared? Clearing effects "draw" buffers, not "read" buffer

[Mesa-dev] dd_function_table::Clear()

2012-01-18 Thread Dee Sharpe
While implementing Clear() for a platform, which buffers in GLContext need to be cleared out of the list of: DrawBuffer ReadBuffer WinSysDrawBuffer WinSysReadBuffer Or do they all need to be cleared? A. Demetrious Sharpe ___ mesa-dev mailing list mesa