Revert of Fix mixed samples stencil clip (patchset #5 id:80001 of https://codereview...
authorcdalton <cdalton@nvidia.com>
Tue, 10 Nov 2015 20:49:06 +0000 (12:49 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 Nov 2015 20:49:06 +0000 (12:49 -0800)
commitd472792a72c0c433a205d42a73e0b77d65f8d76f
treec574d4c1a4b4a1e3e2f275da22cd4346beb41662
parent091f60c2a0e4504c017b8a67ff96a0e829519b14
Revert of Fix mixed samples stencil clip (patchset #5 id:80001 of https://codereview.chromium.org/1431593006/ )

Reason for revert:
Co-centered sample locations are not needed to do stencil clip with mixed samples.

Original issue's description:
> Fix mixed samples stencil clip
>
> Fixes rendering bugs and nondeterminism in gm.
>
> Before, mixed samples stencil clip would try to infer whether the draw
> wanted co-centered sample locations from within GrGLGpu, which caused
> various errors. This change reworks it so the draw itself can request
> the co-centered sample locations when it knows it will need them.
>
> Also reduces framebuffer binds by moving the code that enables
> GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS into flushRenderTarget.
>
> Committed: https://skia.googlesource.com/skia/+/14184d5567b58085b6d8a6375796d405056f7f73

TBR=bsalomon@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1407063011
15 files changed:
include/gpu/GrCaps.h
src/gpu/GrCaps.cpp
src/gpu/GrClipMaskManager.cpp
src/gpu/GrClipMaskManager.h
src/gpu/GrDrawTarget.cpp
src/gpu/GrDrawTarget.h
src/gpu/GrPipeline.cpp
src/gpu/GrPipeline.h
src/gpu/gl/GrGLCaps.cpp
src/gpu/gl/GrGLCaps.h
src/gpu/gl/GrGLGpu.cpp
src/gpu/gl/GrGLGpu.h
src/gpu/gl/GrGLPathRendering.cpp
src/gpu/gl/GrGLRenderTarget.cpp
src/gpu/gl/GrGLRenderTarget.h