On 2011/08/03 14:20:27, junov wrote: > Why are we exposing this? It is a well ...
13 years, 3 months ago
(2011-08-03 14:41:52 UTC)
#4
On 2011/08/03 14:20:27, junov wrote:
> Why are we exposing this? It is a well known slow path in the drivers.
> We should not touch it with a ten foot pole. Draw textured quads
> instead.
>
I don't follow. This fn doesn't draw anything; it just maps the gl_FragData[] to
an FBO's color buffers.
I need to set the draw buffer to none on a FBO with no color attachment to make
it FBO complete (in order to clear a stencil buffer).
Oh, I mistook it for glDrawPixels. Carry on. On Wed, Aug 3, 2011 at 10:41 ...
13 years, 3 months ago
(2011-08-03 14:43:24 UTC)
#5
Oh, I mistook it for glDrawPixels. Carry on.
On Wed, Aug 3, 2011 at 10:41 AM, <bsalomon@google.com> wrote:
> On 2011/08/03 14:20:27, junov wrote:
>>
>> Why are we exposing this? It is a well known slow path in the drivers.
>> We should not touch it with a ten foot pole. Draw textured quads
>> instead.
>
>
> I don't follow. This fn doesn't draw anything; it just maps the
> gl_FragData[] to an FBO's color buffers.
>
> I need to set the draw buffer to none on a FBO with no color attachment
> to make it FBO complete (in order to clear a stencil buffer).
>
> http://codereview.appspot.com/4841046/
>
Issue 4841046: Add glDrawBuffer(s) to GrGLInterface
(Closed)
Created 13 years, 3 months ago by bsalomon
Modified 13 years, 3 months ago
Reviewers: TomH, junov
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0