From: joshualitt Date: Wed, 16 Sep 2015 15:55:21 +0000 (-0700) Subject: minor cleanup X-Git-Tag: submit/tizen/20180928.044319~840 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d08d44c68f65c71c9fdbbdda601119d87a7beb6;p=platform%2Fupstream%2FlibSkiaSharp.git minor cleanup TBR= BUG=skia: Review URL: https://codereview.chromium.org/1348773003 --- diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp index 93647d6a56..1d7b71f605 100644 --- a/src/gpu/GrPipeline.cpp +++ b/src/gpu/GrPipeline.cpp @@ -96,7 +96,6 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args, const GrFragmentProcessor* fp = builder.getColorFragmentProcessor(i); pipeline->fFragmentProcessors[currFPIdx].reset(fp); usesLocalCoords = usesLocalCoords || fp->usesLocalCoords(); - fp->gatherCoordTransforms(&pipeline->fCoordTransforms); } for (int i = firstCoverageProcessorIdx; i < builder.numCoverageFragmentProcessors(); @@ -104,7 +103,6 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args, const GrFragmentProcessor* fp = builder.getCoverageFragmentProcessor(i); pipeline->fFragmentProcessors[currFPIdx].reset(fp); usesLocalCoords = usesLocalCoords || fp->usesLocalCoords(); - fp->gatherCoordTransforms(&pipeline->fCoordTransforms); } // Setup info we need to pass to GrPrimitiveProcessors that are used with this GrPipeline. diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h index db1415524d..b7e8b1f80d 100644 --- a/src/gpu/GrPipeline.h +++ b/src/gpu/GrPipeline.h @@ -140,10 +140,6 @@ public: bool readsFragPosition() const { return fReadsFragPosition; } - const SkTArray& coordTransforms() const { - return fCoordTransforms; - } - private: GrPipeline() { /** Initialized in factory function*/ } @@ -187,9 +183,6 @@ private: // This value is also the index in fFragmentProcessors where coverage processors begin. int fNumColorProcessors; - SkSTArray<8, const GrCoordTransform*, true> fCoordTransforms; - GrProgramDesc fDesc; - typedef SkRefCnt INHERITED; };