Add flag for window rectangles to GrRenderTarget
authorcsmartdalton <csmartdalton@google.com>
Wed, 10 Aug 2016 18:09:07 +0000 (11:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Aug 2016 18:09:07 +0000 (11:09 -0700)
commitf9635999a4aa8810d04e8ef04594a9fbcc061e3d
tree07e43ef173ca41adc6ceec7ade2f1dd2669cfbf6
parent4ab47e087ecfc82f070cbbaef4d9eb562d3fd163
Add flag for window rectangles to GrRenderTarget

Adds a flag to GrRenderTarget that indicates whether it can be used
with window rectangles. Also attempts to clean up some of the mixed
samples API.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2225303002

Review-Url: https://codereview.chromium.org/2225303002
14 files changed:
include/gpu/GrDrawContext.h
include/gpu/GrRenderTarget.h
include/gpu/GrTypes.h
include/private/GrInstancedPipelineInfo.h
include/private/GrRenderTargetProxy.h
src/gpu/GrRenderTarget.cpp
src/gpu/GrRenderTargetPriv.h
src/gpu/GrRenderTargetProxy.cpp
src/gpu/gl/GrGLGpu.cpp
src/gpu/gl/GrGLRenderTarget.cpp
src/gpu/gl/GrGLRenderTarget.h
src/gpu/vk/GrVkRenderTarget.cpp
tests/ProxyTest.cpp
tools/gpu/GrTest.cpp