ccpr: Remove local matrix data from path instances
authorChris Dalton <csmartdalton@google.com>
Tue, 22 May 2018 19:09:48 +0000 (13:09 -0600)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 22 May 2018 19:34:46 +0000 (19:34 +0000)
commit1c5489412de12ab9afdbc0085e65418ca8753b43
treec153d1e151f6ea23dec4f51fb58ed935e42e213e
parent91dfa3b571f1048d70033385de2c0c8b4a07373f
ccpr: Remove local matrix data from path instances

Uses the built-in local matrix code instead trying to bake it into the
path instance data. If we find a case that can benefit from this type
of optimization in the future, we can use something like a texel
buffer and send in all of the coord transform data -- not just the
local matrix.

Bug: skia:
Change-Id: I194bc9e4f83e588f8aa93a1a4d40097475d84977
Reviewed-on: https://skia-review.googlesource.com/129332
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
src/gpu/GrFragmentProcessor.cpp
src/gpu/GrFragmentProcessor.h
src/gpu/ccpr/GrCCDrawPathsOp.cpp
src/gpu/ccpr/GrCCDrawPathsOp.h
src/gpu/ccpr/GrCCPathProcessor.cpp
src/gpu/ccpr/GrCCPathProcessor.h
src/gpu/ccpr/GrCCPerFlushResources.h