Remove most GrCoordTransform code
All coord transforms were identity, so this enshrines that
knowledge, then transitively removes a large amount of code.
Bug: skia:10416
Change-Id: Iae4af9ca21590bced1ce9fce3ab807f6cceaebd4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/300234
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
diff --git a/tools/gpu/TestOps.cpp b/tools/gpu/TestOps.cpp
index 1ef7420..e0a195f 100644
--- a/tools/gpu/TestOps.cpp
+++ b/tools/gpu/TestOps.cpp
@@ -46,10 +46,8 @@
class GLSLGP : public GrGLSLGeometryProcessor {
public:
void setData(const GrGLSLProgramDataManager& pdman,
- const GrPrimitiveProcessor& pp,
- const CoordTransformRange& transformRange) override {
+ const GrPrimitiveProcessor& pp) override {
const auto& gp = pp.cast<GP>();
- this->setTransformDataHelper(pdman, transformRange);
this->setTransform(pdman, fLocalMatrixUni, gp.fLocalMatrix);
}