Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Issue 1666563003: Add support for GL_EXT_raster_multisample (Closed)

Created:
4 years, 10 months ago by Chris Dalton
Modified:
4 years, 10 months ago
Reviewers:
egdaniel, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add support for GL_EXT_raster_multisample Updates the GrGLGpu to call glRasterSamplesEXT when multisample is enabled for a mixed sampled render target, but the stencil test is not active. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1666563003 Committed: https://skia.googlesource.com/skia/+/af8bc7d7a4fb1fbbc15bb0881a360ff0d7551ea2

Patch Set 1 #

Total comments: 3

Patch Set 2 : whitespace #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : remove rasterMultisampleSupport #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -14 lines) Patch
M include/gpu/GrCaps.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrCaps.cpp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 1 chunk +10 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 2 chunks +5 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 7 chunks +35 lines, -9 lines 0 comments Download
M src/gpu/gl/GrGLPathRendering.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
Chris Dalton
https://codereview.chromium.org/1666563003/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1666563003/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode2722 src/gpu/gl/GrGLGpu.cpp:2722: void GrGLGpu::flushHWAAState(GrRenderTarget* rt, bool useHWAA, bool stencilEnabled) { I'm ...
4 years, 10 months ago (2016-02-03 18:16:47 UTC) #3
egdaniel
https://codereview.chromium.org/1666563003/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1666563003/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode2748 src/gpu/gl/GrGLGpu.cpp:2748: SkASSERT(rt->numStencilSamples() <= this->caps()->maxRasterSamples()); If I recall, when we set ...
4 years, 10 months ago (2016-02-03 18:40:49 UTC) #4
Chris Dalton
Come to think of it, maybe we ought to just clamp MAX_SAMPLES. The real world ...
4 years, 10 months ago (2016-02-03 18:54:26 UTC) #5
Chris Dalton
Added a clamp.
4 years, 10 months ago (2016-02-03 22:12:03 UTC) #6
egdaniel
this lgtm. Brian thoughts?
4 years, 10 months ago (2016-02-03 22:33:09 UTC) #7
bsalomon
lgtm https://codereview.chromium.org/1666563003/diff/40001/include/gpu/GrCaps.h File include/gpu/GrCaps.h (right): https://codereview.chromium.org/1666563003/diff/40001/include/gpu/GrCaps.h#newcode227 include/gpu/GrCaps.h:227: int maxRasterSamples() const { Maybe this could be ...
4 years, 10 months ago (2016-02-04 21:30:02 UTC) #8
Chris Dalton
Thanks for the suggestion, I think this is looking a lot better.
4 years, 10 months ago (2016-02-04 22:39:00 UTC) #9
bsalomon
On 2016/02/04 22:39:00, Chris Dalton wrote: > Thanks for the suggestion, I think this is ...
4 years, 10 months ago (2016-02-05 13:12:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1666563003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666563003/60001
4 years, 10 months ago (2016-02-05 17:05:58 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 17:35:23 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/af8bc7d7a4fb1fbbc15bb0881a360ff0d7551ea2

Powered by Google App Engine
This is Rietveld 408576698