Cherry-pick fix for GrAADistanceFieldPathRenderer bounds to M53.
authorbsalomon <bsalomon@google.com>
Mon, 18 Jul 2016 21:28:53 +0000 (14:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 18 Jul 2016 21:28:54 +0000 (14:28 -0700)
commit042215e3d5336a52245945eb790ce41fa79138b7
tree4089a217346ec07c82480c10e84deb810c04c914
parent74fa05791bddf1c0a58373b6006cbaa4bd44a2c0
Cherry-pick fix for GrAADistanceFieldPathRenderer bounds to M53.

-----------

Initialize fGammaCorrect in DF Path Renderer unit test

TBR=jvanverth@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2157933003

Review-Url: https://codereview.chromium.org/2157933003

Fix leak when DFPR fails to draw path

TBR=jvanverth@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2144283002

Review-Url: https://codereview.chromium.org/2144283002

Make GrBatchAtlas robust against attempts to add large rects.

Make GrAADistanceFieldPathRenderer robust against paths that in src space wind up being too large for the atlas.

BUG=chromium:627443
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2144663004

Review-Url: https://codereview.chromium.org/2144663004
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true

Review-Url: https://codereview.chromium.org/2160563004
src/gpu/GrBatchAtlas.cpp
src/gpu/GrBatchAtlas.h
src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
tests/DFPathRendererTest.cpp [new file with mode: 0644]