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

Issue 822423004: Move most of the transform logic into the primitive processors (Closed)

Created:
5 years, 11 months ago by joshua.litt
Modified:
5 years, 11 months ago
Reviewers:
joshualitt, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Move most of the transform logic into the primitive processors BUG=skia: Committed: https://skia.googlesource.com/skia/+/abb52a1a70a81915c6196e0fb3e9bcb05e8be14d

Patch Set 1 #

Patch Set 2 : more cleanup #

Patch Set 3 : clang warnings #

Patch Set 4 : more clang warnings #

Patch Set 5 : clang #

Patch Set 6 : more claenup #

Patch Set 7 : minor cleanups #

Patch Set 8 : external coords entirel internal #

Patch Set 9 : tiny update #

Total comments: 3

Patch Set 10 : more cleanup #

Total comments: 1

Patch Set 11 : broken #

Patch Set 12 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+916 lines, -928 lines) Patch
M gyp/gpu.gypi View 1 chunk +0 lines, -4 lines 0 comments Download
M include/gpu/GrFragmentProcessor.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +13 lines, -9 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +17 lines, -12 lines 0 comments Download
M src/gpu/GrGeometryProcessor.h View 1 2 3 4 5 6 7 8 9 10 8 chunks +21 lines, -8 lines 0 comments Download
M src/gpu/GrGeometryProcessor.cpp View 1 2 3 4 5 6 7 8 9 6 chunks +389 lines, -50 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 4 5 6 7 2 chunks +0 lines, -5 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 9 chunks +39 lines, -27 lines 0 comments Download
M src/gpu/GrProgramDesc.h View 1 2 3 4 5 6 7 2 chunks +1 line, -3 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -3 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 1 2 3 4 5 6 7 8 9 10 12 chunks +39 lines, -27 lines 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +13 lines, -9 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 1 2 3 4 5 6 7 8 9 10 12 chunks +30 lines, -20 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -3 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 chunks +43 lines, -34 lines 0 comments Download
M src/gpu/gl/GrGLCaps.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGeometryProcessor.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +126 lines, -17 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +15 lines, -64 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 4 5 8 chunks +38 lines, -146 lines 0 comments Download
M src/gpu/gl/GrGLProgramDataManager.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 5 6 7 4 chunks +1 line, -61 lines 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
D src/gpu/gl/builders/GrGLLegacyNvprProgramBuilder.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -30 lines 0 comments Download
D src/gpu/gl/builders/GrGLLegacyNvprProgramBuilder.cpp View 1 chunk +0 lines, -50 lines 0 comments Download
D src/gpu/gl/builders/GrGLNvprProgramBuilder.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -53 lines 0 comments Download
D src/gpu/gl/builders/GrGLNvprProgramBuilder.cpp View 1 chunk +0 lines, -78 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.h View 1 2 3 4 5 6 7 7 chunks +32 lines, -79 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 2 3 4 5 11 chunks +46 lines, -91 lines 0 comments Download
M src/gpu/gl/builders/GrGLVertexShaderBuilder.h View 2 chunks +2 lines, -6 lines 0 comments Download
M src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp View 1 chunk +8 lines, -37 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
joshualitt
Brian, the heart of this change is in GrGeometryProcessor.cpp. I will post a follow up ...
5 years, 11 months ago (2015-01-07 15:58:18 UTC) #3
joshualitt
On 2015/01/07 15:58:18, joshualitt wrote: > Brian, the heart of this change is in GrGeometryProcessor.cpp. ...
5 years, 11 months ago (2015-01-07 16:52:42 UTC) #4
bsalomon
https://codereview.chromium.org/822423004/diff/160001/include/gpu/GrFragmentProcessor.h File include/gpu/GrFragmentProcessor.h (right): https://codereview.chromium.org/822423004/diff/160001/include/gpu/GrFragmentProcessor.h#newcode50 include/gpu/GrFragmentProcessor.h:50: const SkTArray<const GrCoordTransform*, true>& coordTransforms() const { Why expose ...
5 years, 11 months ago (2015-01-13 14:51:14 UTC) #5
joshualitt
Most of the feedback has been incorporated. I actually can't do the emit transforms in ...
5 years, 11 months ago (2015-01-13 16:29:31 UTC) #6
joshualitt
On 2015/01/13 16:29:31, joshualitt wrote: > Most of the feedback has been incorporated. I actually ...
5 years, 11 months ago (2015-01-13 21:19:19 UTC) #7
bsalomon
lgtm https://codereview.chromium.org/822423004/diff/180001/src/gpu/gl/GrGLGeometryProcessor.h File src/gpu/gl/GrGLGeometryProcessor.h (right): https://codereview.chromium.org/822423004/diff/180001/src/gpu/gl/GrGLGeometryProcessor.h#newcode139 src/gpu/gl/GrGLGeometryProcessor.h:139: virtual void onEmitCode(EmitArgs&) = 0; Shoulnd't onEmitCode be ...
5 years, 11 months ago (2015-01-13 21:55:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/822423004/220001
5 years, 11 months ago (2015-01-13 22:51:24 UTC) #10
commit-bot: I haz the power
5 years, 11 months ago (2015-01-13 23:02:14 UTC) #11
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://skia.googlesource.com/skia/+/abb52a1a70a81915c6196e0fb3e9bcb05e8be14d

Powered by Google App Engine
This is Rietveld 408576698