diff options
author | Brian Salomon <bsalomon@google.com> | 2018-06-23 15:17:27 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-25 17:55:45 +0000 |
commit | ff168d9258e0101826a8072b4ee077c3d2aa7258 (patch) | |
tree | c8338ce3ffb83b18575785a3bd98b2607e59bb1a /src/gpu/GrPathRendering.cpp | |
parent | 721e63727f38b9c7664a173ab475d7c7a58cd8a8 (diff) |
Put GrPrimitiveProcessor/GrGeometryProcessor before GrPipeline in param lists.
We were inconsistent about which order these were in. Having the processor first
will make the parameter order more logical for an upcoming change. Also, the primitive
processor comes logically before the pipeline.
Change-Id: I3968c5e4e6dff01f9c4ad311eb1795b3c7580ff5
Reviewed-on: https://skia-review.googlesource.com/137228
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrPathRendering.cpp')
-rw-r--r-- | src/gpu/GrPathRendering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrPathRendering.cpp b/src/gpu/GrPathRendering.cpp index 2da1d2fb31..1af220cd24 100644 --- a/src/gpu/GrPathRendering.cpp +++ b/src/gpu/GrPathRendering.cpp @@ -49,8 +49,8 @@ void GrPathRendering::stencilPath(const StencilPathArgs& args, const GrPath* pat this->onStencilPath(args, path); } -void GrPathRendering::drawPath(const GrPipeline& pipeline, - const GrPrimitiveProcessor& primProc, +void GrPathRendering::drawPath(const GrPrimitiveProcessor& primProc, + const GrPipeline& pipeline, // Cover pass settings in pipeline. const GrStencilSettings& stencilPassSettings, const GrPath* path) { @@ -58,5 +58,5 @@ void GrPathRendering::drawPath(const GrPipeline& pipeline, if (GrXferBarrierType barrierType = pipeline.xferBarrierType(*fGpu->caps())) { fGpu->xferBarrier(pipeline.renderTarget(), barrierType); } - this->onDrawPath(pipeline, primProc, stencilPassSettings, path); + this->onDrawPath(primProc, pipeline, stencilPassSettings, path); } |