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

Issue 815553003: Move ViewMatrix off of drawstate (Closed)

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

Description

Move ViewMatrix off of drawstate BUG=skia: Committed: https://skia.googlesource.com/skia/+/8059eb9f6e24ed609393fbda4ad71edea03ac258

Patch Set 1 #

Patch Set 2 : moving viewmatrix to geometryprocessor #

Patch Set 3 : more claenup #

Total comments: 5

Patch Set 4 : clean #

Total comments: 3

Patch Set 5 : more cleaning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+644 lines, -571 lines) Patch
M gm/beziereffects.cpp View 1 3 chunks +6 lines, -5 lines 0 comments Download
M gm/convexpolyeffect.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M gm/rrects.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M gm/texturedomaineffect.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M gm/yuvtorgbeffect.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M include/gpu/GrPathRendererChain.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.h View 3 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.cpp View 1 8 chunks +12 lines, -10 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.h View 4 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 2 17 chunks +39 lines, -32 lines 0 comments Download
M src/gpu/GrAARectRenderer.h View 1 2 3 4 3 chunks +7 lines, -11 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 4 9 chunks +34 lines, -24 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/GrClipMaskManager.h View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 3 4 23 chunks +63 lines, -43 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 36 chunks +62 lines, -66 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.h View 1 2 1 chunk +6 lines, -10 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.cpp View 1 2 3 chunks +36 lines, -15 lines 0 comments Download
M src/gpu/GrDefaultPathRenderer.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrDefaultPathRenderer.cpp View 1 2 7 chunks +18 lines, -16 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 4 chunks +6 lines, -2 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 6 chunks +3 lines, -78 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 6 chunks +2 lines, -11 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 2 3 4 chunks +14 lines, -11 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 10 chunks +13 lines, -14 lines 0 comments Download
M src/gpu/GrGeometryProcessor.h View 1 7 chunks +19 lines, -7 lines 0 comments Download
M src/gpu/GrGeometryProcessor.cpp View 2 chunks +8 lines, -2 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 4 chunks +12 lines, -12 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrOvalRenderer.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 25 chunks +75 lines, -76 lines 0 comments Download
M src/gpu/GrPathRenderer.h View 6 chunks +15 lines, -6 lines 0 comments Download
M src/gpu/GrPathRendererChain.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/GrSWMaskHelper.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/GrSWMaskHelper.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/GrSoftwarePathRenderer.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/GrSoftwarePathRenderer.cpp View 1 5 chunks +14 lines, -15 lines 0 comments Download
M src/gpu/GrStencilAndCoverPathRenderer.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/GrStencilAndCoverPathRenderer.cpp View 1 5 chunks +11 lines, -9 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.cpp View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.h View 1 9 chunks +24 lines, -12 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 1 6 chunks +20 lines, -11 lines 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrDashingEffect.h View 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 1 2 3 12 chunks +19 lines, -18 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.h View 1 6 chunks +23 lines, -16 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 7 chunks +15 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
joshualitt
This broad but shallow change moves the drawstate to the geometry processor. The follow on ...
5 years, 11 months ago (2014-12-29 17:31:20 UTC) #2
bsalomon
https://codereview.chromium.org/815553003/diff/40001/src/gpu/GrClipMaskManager.cpp File src/gpu/GrClipMaskManager.cpp (right): https://codereview.chromium.org/815553003/diff/40001/src/gpu/GrClipMaskManager.cpp#newcode97 src/gpu/GrClipMaskManager.cpp:97: if (path_needs_SW_renderer(this->getContext(), fClipTarget, drawState, viewMatrix, So AFAICT you tunneled ...
5 years, 11 months ago (2014-12-29 18:35:46 UTC) #3
joshualitt
https://codereview.chromium.org/815553003/diff/40001/src/gpu/GrClipMaskManager.cpp File src/gpu/GrClipMaskManager.cpp (right): https://codereview.chromium.org/815553003/diff/40001/src/gpu/GrClipMaskManager.cpp#newcode97 src/gpu/GrClipMaskManager.cpp:97: if (path_needs_SW_renderer(this->getContext(), fClipTarget, drawState, viewMatrix, On 2014/12/29 18:35:46, bsalomon ...
5 years, 11 months ago (2014-12-29 19:23:38 UTC) #4
bsalomon
https://codereview.chromium.org/815553003/diff/40001/src/gpu/GrClipMaskManager.cpp File src/gpu/GrClipMaskManager.cpp (right): https://codereview.chromium.org/815553003/diff/40001/src/gpu/GrClipMaskManager.cpp#newcode97 src/gpu/GrClipMaskManager.cpp:97: if (path_needs_SW_renderer(this->getContext(), fClipTarget, drawState, viewMatrix, On 2014/12/29 19:23:38, joshualitt ...
5 years, 11 months ago (2014-12-29 19:29:01 UTC) #5
joshualitt
On 2014/12/29 19:29:01, bsalomon wrote: > https://codereview.chromium.org/815553003/diff/40001/src/gpu/GrClipMaskManager.cpp > File src/gpu/GrClipMaskManager.cpp (right): > > https://codereview.chromium.org/815553003/diff/40001/src/gpu/GrClipMaskManager.cpp#newcode97 > ...
5 years, 11 months ago (2014-12-29 19:50:32 UTC) #6
bsalomon
https://codereview.chromium.org/815553003/diff/60001/src/gpu/GrClipMaskManager.cpp File src/gpu/GrClipMaskManager.cpp (right): https://codereview.chromium.org/815553003/diff/60001/src/gpu/GrClipMaskManager.cpp#newcode83 src/gpu/GrClipMaskManager.cpp:83: const SkMatrix& viewMatrix, Maybe take the skvector translate here ...
5 years, 11 months ago (2014-12-29 20:26:58 UTC) #7
joshualitt
On 2014/12/29 20:26:58, bsalomon wrote: > https://codereview.chromium.org/815553003/diff/60001/src/gpu/GrClipMaskManager.cpp > File src/gpu/GrClipMaskManager.cpp (right): > > https://codereview.chromium.org/815553003/diff/60001/src/gpu/GrClipMaskManager.cpp#newcode83 > ...
5 years, 11 months ago (2014-12-29 20:54:29 UTC) #8
bsalomon
On 2014/12/29 20:54:29, joshualitt wrote: > On 2014/12/29 20:26:58, bsalomon wrote: > > > https://codereview.chromium.org/815553003/diff/60001/src/gpu/GrClipMaskManager.cpp ...
5 years, 11 months ago (2014-12-29 22:08:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815553003/80001
5 years, 11 months ago (2014-12-29 22:59:56 UTC) #11
commit-bot: I haz the power
5 years, 11 months ago (2014-12-29 23:10:11 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/8059eb9f6e24ed609393fbda4ad71edea03ac258

Powered by Google App Engine
This is Rietveld 408576698