Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Issue 2339203002: Stop flattening GrCoordTransforms in parent GrFragmentProcessors. (Closed)

Created:
4 years, 3 months ago by bsalomon
Modified:
4 years, 3 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Stop flattening GrCoordTransforms in parent GrFragmentProcessors. This changes moves to a model that iterates over GrCTs in a GrFP hierarchy when inserting transformations by GrGLSLPrimitiveProcessors. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2339203002 Committed: https://skia.googlesource.com/skia/+/d91237ee051523f439238042674ade99207fe4a6 Committed: https://skia.googlesource.com/skia/+/a624bf3d1cb454c1959c5bbbf23a3afdfa3481f3

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 8

Patch Set 3 : Address comments #

Patch Set 4 : Fix issue of taking ref to a temporary #

Unified diffs Side-by-side diffs Delta from patch set Stats (+439 lines, -405 lines) Patch
M include/gpu/GrFragmentProcessor.h View 1 2 6 chunks +45 lines, -12 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.cpp View 4 chunks +5 lines, -13 lines 0 comments Download
M src/gpu/GrFragmentProcessor.cpp View 4 chunks +40 lines, -9 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 7 chunks +13 lines, -24 lines 0 comments Download
M src/gpu/GrPathProcessor.cpp View 1 4 chunks +33 lines, -44 lines 0 comments Download
M src/gpu/GrProgramDesc.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/batches/GrAAConvexPathRenderer.cpp View 3 chunks +4 lines, -11 lines 0 comments Download
M src/gpu/batches/GrAnalyticRectBatch.cpp View 3 chunks +6 lines, -11 lines 0 comments Download
M src/gpu/batches/GrMSAAPathRenderer.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/batches/GrPLSPathRenderer.cpp View 7 chunks +17 lines, -36 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 9 chunks +12 lines, -28 lines 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.cpp View 3 chunks +4 lines, -11 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 8 chunks +12 lines, -25 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldGeoProc.cpp View 1 2 9 chunks +12 lines, -10 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 2 chunks +3 lines, -8 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentProcessor.h View 1 2 5 chunks +28 lines, -4 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentProcessor.cpp View 1 2 3 4 chunks +32 lines, -21 lines 0 comments Download
M src/gpu/glsl/GrGLSLGeometryProcessor.h View 4 chunks +5 lines, -27 lines 0 comments Download
M src/gpu/glsl/GrGLSLGeometryProcessor.cpp View 1 chunk +62 lines, -51 lines 0 comments Download
M src/gpu/glsl/GrGLSLPrimitiveProcessor.h View 6 chunks +51 lines, -21 lines 0 comments Download
M src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp View 1 chunk +13 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.h View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.cpp View 7 chunks +21 lines, -21 lines 0 comments Download
M src/gpu/instanced/InstanceProcessor.cpp View 2 chunks +5 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkPipelineState.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M tests/PrimitiveProcessorTest.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
bsalomon
I'd recommend looking at the GLSL processor base class headers first. The next step is ...
4 years, 3 months ago (2016-09-14 15:23:07 UTC) #3
robertphillips
This is all I have from a first pass. I'm going to have to take ...
4 years, 3 months ago (2016-09-15 20:44:31 UTC) #4
bsalomon
https://codereview.chromium.org/2339203002/diff/20001/include/gpu/GrFragmentProcessor.h File include/gpu/GrFragmentProcessor.h (right): https://codereview.chromium.org/2339203002/diff/20001/include/gpu/GrFragmentProcessor.h#newcode136 include/gpu/GrFragmentProcessor.h:136: /** On 2016/09/15 20:44:30, robertphillips wrote: > or a ...
4 years, 3 months ago (2016-09-15 20:55:52 UTC) #5
robertphillips
lgtm
4 years, 3 months ago (2016-09-16 15:01:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2339203002/40001
4 years, 3 months ago (2016-09-19 15:17:17 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/d91237ee051523f439238042674ade99207fe4a6
4 years, 3 months ago (2016-09-19 15:37:01 UTC) #11
bsalomon
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2351753002/ by bsalomon@google.com. ...
4 years, 3 months ago (2016-09-19 16:26:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2339203002/60001
4 years, 3 months ago (2016-09-20 15:29:29 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 16:12:50 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/a624bf3d1cb454c1959c5bbbf23a3afdfa3481f3

Powered by Google App Engine
This is Rietveld 408576698