Store clipped bounds on GrOp rather than in parallel in GrRenderTargetOpList.
authorBrian Salomon <bsalomon@google.com>
Mon, 6 Mar 2017 17:02:34 +0000 (12:02 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 6 Mar 2017 18:16:28 +0000 (18:16 +0000)
commit9e50f7b11e9a9d3dc23c924bbb0f0b85c6f1d6cb
tree0bf1604c5ee4980a08eb0fd8b2b0b33d1be4814e
parent488f0d674811ae038d34ece9d59c2824ebd4df8f
Store clipped bounds on GrOp rather than in parallel in GrRenderTargetOpList.

When the op is recorded we update its bounds to incorporate both clipping and aa bloat.

Change-Id: Ia205e058ebeda5fcdb2cd5e9b8a30a4972672b14
Reviewed-on: https://skia-review.googlesource.com/9233
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
20 files changed:
gm/beziereffects.cpp
src/gpu/GrRenderTargetOpList.cpp
src/gpu/GrRenderTargetOpList.h
src/gpu/GrTextureOpList.cpp
src/gpu/instanced/InstancedRendering.cpp
src/gpu/instanced/InstancedRendering.h
src/gpu/ops/GrAtlasTextOp.cpp
src/gpu/ops/GrClearOp.h
src/gpu/ops/GrClearStencilClipOp.h
src/gpu/ops/GrCopySurfaceOp.h
src/gpu/ops/GrDefaultPathRenderer.cpp
src/gpu/ops/GrDiscardOp.h
src/gpu/ops/GrDrawPathOp.cpp
src/gpu/ops/GrDrawPathOp.h
src/gpu/ops/GrMSAAPathRenderer.cpp
src/gpu/ops/GrMeshDrawOp.cpp
src/gpu/ops/GrMeshDrawOp.h
src/gpu/ops/GrOp.cpp
src/gpu/ops/GrOp.h
src/gpu/ops/GrStencilPathOp.h