Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5905)

Issue 4841046: Add glDrawBuffer(s) to GrGLInterface (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by bsalomon
Modified:
13 years, 3 months ago
Reviewers:
junov, TomH
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M gpu/include/GrGLInterface.h View 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/src/GrGLInterface.cpp View 2 chunks +9 lines, -2 lines 0 comments Download
M gpu/src/android/GrGLDefaultInterface_android.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/src/mac/GrGLDefaultInterface_mac.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/src/mesa/GrGLDefaultInterface_mesa.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/src/unix/GrGLDefaultInterface_unix.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/src/win/GrGLDefaultInterface_win.cpp View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5
bsalomon
Needed to re-land r2026. Have to set draw buffer to none on the fbo used ...
13 years, 3 months ago (2011-08-02 17:51:31 UTC) #1
TomH
LGTM
13 years, 3 months ago (2011-08-02 17:56:40 UTC) #2
junov
Why are we exposing this? It is a well known slow path in the drivers. ...
13 years, 3 months ago (2011-08-03 14:20:27 UTC) #3
bsalomon
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
junov
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/
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b