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

Issue 6005043: Add support for GL_NV_framebuffer_multisample_coverage (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by bsalomon
Modified:
12 years, 5 months ago
Reviewers:
robertphillips, TomH
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : unix #

Patch Set 3 : cleanup #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -22 lines) Patch
M include/gpu/gl/GrGLDefines.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M include/gpu/gl/GrGLInterface.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.h View 1 2 4 chunks +44 lines, -0 lines 7 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 5 chunks +68 lines, -2 lines 4 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 4 chunks +47 lines, -20 lines 1 comment Download
M src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6
bsalomon
http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGpuGL.cpp File src/gpu/gl/GrGpuGL.cpp (left): http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGpuGL.cpp#oldcode1131 src/gpu/gl/GrGpuGL.cpp:1131: if (samples > 1) { Using 1 rather than ...
12 years, 5 months ago (2012-04-11 14:21:52 UTC) #1
robertphillips
LGTM w/ minor comments
12 years, 5 months ago (2012-04-11 14:46:47 UTC) #2
robertphillips
http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.cpp File src/gpu/gl/GrGLCaps.cpp (right): http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.cpp#newcode218 src/gpu/gl/GrGLCaps.cpp:218: int max = (fMSAACoverageModes.end() - 1)->fCoverageSampleCnt; I'm surprised we ...
12 years, 5 months ago (2012-04-11 14:47:03 UTC) #3
bsalomon
http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.cpp File src/gpu/gl/GrGLCaps.cpp (right): http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.cpp#newcode218 src/gpu/gl/GrGLCaps.cpp:218: int max = (fMSAACoverageModes.end() - 1)->fCoverageSampleCnt; On 2012/04/11 14:47:03, ...
12 years, 5 months ago (2012-04-11 15:01:18 UTC) #4
TomH
LGTM. The coalescence of the several RenderbufferStorageMultisample calls is appreciated. No mac-specific NativeInterface support? http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.cpp ...
12 years, 5 months ago (2012-04-11 15:39:59 UTC) #5
bsalomon
12 years, 5 months ago (2012-04-11 18:16:59 UTC) #6
The mac doesn't support this extension (even on 10.7 with the 3.2 core profile).

Closed with r3651

http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.cpp
File src/gpu/gl/GrGLCaps.cpp (right):

http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.cpp#newco...
src/gpu/gl/GrGLCaps.cpp:165: #include "SkTSearch.h"
On 2012/04/11 15:39:59, TomH wrote:
> Is there a reason not to have this at the top of the file?

I suppose not... I'll move it up before check in.

http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.h
File src/gpu/gl/GrGLCaps.h (right):

http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.h#newcode36
src/gpu/gl/GrGLCaps.h:36: // Color samples are the subset of coverage samples
that have data:
On 2012/04/11 15:39:59, TomH wrote:
> This comment isn't quite clear.
(Tom and I discussed a rewrite in person).

http://codereview.appspot.com/6005043/diff/3011/src/gpu/gl/GrGLCaps.h#newcode139
src/gpu/gl/GrGLCaps.h:139: * Reports the type of coverage sample AA support.
On 2012/04/11 15:39:59, TomH wrote:
> Tautological comment?
yes
Sign in to reply to this message.

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