diff options
author | Chris Dalton <csmartdalton@google.com> | 2018-04-25 12:28:03 -0600 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-25 19:59:59 +0000 |
commit | 218c29453f9f8aea98afef45ced2c151fe326a0f (patch) | |
tree | a2f04ff3e4dd20dfc58146c990124bcc39a52bb2 /tools/viewer | |
parent | 25af671a3d7d790b31b085172952df3867337431 (diff) |
Remove the MSAA path renderer
Bug: skia:
Change-Id: Ib18bede613c8d27fd6326f655dc2d638e35870ff
Reviewed-on: https://skia-review.googlesource.com/123726
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'tools/viewer')
-rw-r--r-- | tools/viewer/Viewer.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp index 16a91fa08a..04426ffc7e 100644 --- a/tools/viewer/Viewer.cpp +++ b/tools/viewer/Viewer.cpp @@ -187,7 +187,6 @@ Viewer::Viewer(int argc, char** argv, void* platformData) gPathRendererNames[GpuPathRenderers::kDefault] = "Default Ganesh Behavior (best path renderer, not including CCPR)"; gPathRendererNames[GpuPathRenderers::kStencilAndCover] = "NV_path_rendering"; - gPathRendererNames[GpuPathRenderers::kMSAA] = "Sample shading"; gPathRendererNames[GpuPathRenderers::kSmall] = "Small paths (cached sdf or alpha masks)"; gPathRendererNames[GpuPathRenderers::kCoverageCounting] = "Coverage counting"; gPathRendererNames[GpuPathRenderers::kTessellating] = "Tessellating"; @@ -1328,9 +1327,6 @@ void Viewer::drawImGui() { if (ctx->caps()->shaderCaps()->pathRenderingSupport()) { prButton(GpuPathRenderers::kStencilAndCover); } - if (ctx->caps()->sampleShadingSupport()) { - prButton(GpuPathRenderers::kMSAA); - } prButton(GpuPathRenderers::kTessellating); prButton(GpuPathRenderers::kNone); } else { @@ -1667,9 +1663,6 @@ void Viewer::updateUIState() { if (ctx->caps()->shaderCaps()->pathRenderingSupport()) { prState[kOptions].append(gPathRendererNames[GpuPathRenderers::kStencilAndCover]); } - if (ctx->caps()->sampleShadingSupport()) { - prState[kOptions].append(gPathRendererNames[GpuPathRenderers::kMSAA]); - } prState[kOptions].append(gPathRendererNames[GpuPathRenderers::kTessellating]); prState[kOptions].append(gPathRendererNames[GpuPathRenderers::kNone]); } else { |