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

Issue 6135044: Clamp requested MSAA sample count to GL_MAX_SAMPLES (Closed)

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

Patch Set 1 #

Patch Set 2 : make sure GL_MAX_SAMPLES is legal before querying it #

Total comments: 4

Patch Set 3 : move sample count max to gl caps #

Patch Set 4 : revert GrDrawTarget.h #

Patch Set 5 : remove extra newline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M src/gpu/gl/GrGLCaps.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5
bsalomon
Otherwise glRenderbufferMultisampleStorage fails.
12 years, 6 months ago (2012-04-27 13:32:10 UTC) #1
TomH
http://codereview.appspot.com/6135044/diff/2001/src/gpu/gl/GrGpuGL.cpp File src/gpu/gl/GrGpuGL.cpp (right): http://codereview.appspot.com/6135044/diff/2001/src/gpu/gl/GrGpuGL.cpp#newcode287 src/gpu/gl/GrGpuGL.cpp:287: // TODO: probe once at startup, rather than once ...
12 years, 6 months ago (2012-04-27 13:51:51 UTC) #2
bsalomon
http://codereview.appspot.com/6135044/diff/2001/src/gpu/gl/GrGpuGL.cpp File src/gpu/gl/GrGpuGL.cpp (right): http://codereview.appspot.com/6135044/diff/2001/src/gpu/gl/GrGpuGL.cpp#newcode287 src/gpu/gl/GrGpuGL.cpp:287: // TODO: probe once at startup, rather than once ...
12 years, 6 months ago (2012-04-27 14:15:16 UTC) #3
TomH
LGTM.
12 years, 6 months ago (2012-04-27 14:24:19 UTC) #4
bsalomon
12 years, 6 months ago (2012-04-27 14:43:01 UTC) #5
Closed r3777
Sign in to reply to this message.

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