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

Issue 1275853005: All child GrFragmentProcs' transforms and textures will be stored in the root GrFragmentProc in pre… (Closed)

Created:
5 years, 4 months ago by wangyix
Modified:
5 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

All child GrFragmentProcs' transforms and textures will be stored in the root GrFragmentProc in preorder Changed childProcessor(i) to return const referencd Fixed rootProc/parentProc offset issues; renamed a few things. added nonempty check to gatherTransforms to avoid segfault removed recursive append_gr_coord_transforms() from GrGLProgramBuilder BUILDS! Changed num*includeProc() calls to num() calls added gatherCoordTransforms(). added coordTransforms() for root proc only Modified GrFragmentProcessor to append child proc transforms and textures to root proc's arrays. BUG=skia:4182 Committed: https://skia.googlesource.com/skia/+/58d890bd45a201477ec6c4ba0ae61c574b4e5aef

Patch Set 1 : #

Patch Set 2 : use GrFragmentStage array for children #

Total comments: 5

Patch Set 3 : child procs keep copy of their arrays #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -55 lines) Patch
M include/gpu/GrFragmentProcessor.h View 1 2 5 chunks +20 lines, -32 lines 0 comments Download
M include/gpu/GrPaint.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/GrProcessor.h View 1 2 2 chunks +1 line, -1 line 0 comments Download
M include/gpu/GrStagedProcessor.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrProcessor.cpp View 1 2 1 chunk +22 lines, -5 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 3 chunks +3 lines, -16 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (10 generated)
wangyix
I figured this was a better way to do things since it avoids the need ...
5 years, 4 months ago (2015-08-07 16:13:57 UTC) #3
tomhudson
If we don't already have a skia: bug tracking this, we should have created one. ...
5 years, 4 months ago (2015-08-10 13:15:06 UTC) #4
joshualitt
On 2015/08/10 13:15:06, tomhudson wrote: > If we don't already have a skia: bug tracking ...
5 years, 4 months ago (2015-08-10 15:22:13 UTC) #6
wangyix
GrFragmentProcessor's children procs are now stored in a GrFragmentStage array. The textures and transforms getters ...
5 years, 4 months ago (2015-08-12 14:43:24 UTC) #10
joshualitt
Feedback for Brian, most of this looks fine to me. https://codereview.chromium.org/1275853005/diff/100001/include/gpu/GrFragmentProcessor.h File include/gpu/GrFragmentProcessor.h (right): https://codereview.chromium.org/1275853005/diff/100001/include/gpu/GrFragmentProcessor.h#newcode183 ...
5 years, 4 months ago (2015-08-12 14:49:52 UTC) #11
wangyix
https://codereview.chromium.org/1275853005/diff/100001/include/gpu/GrFragmentProcessor.h File include/gpu/GrFragmentProcessor.h (right): https://codereview.chromium.org/1275853005/diff/100001/include/gpu/GrFragmentProcessor.h#newcode183 include/gpu/GrFragmentProcessor.h:183: SkDEBUGCODE(bool fIsChild;) On 2015/08/12 14:49:52, joshualitt wrote: > I ...
5 years, 4 months ago (2015-08-12 15:09:24 UTC) #13
bsalomon
Let's make sure when we get to the point of being able to test this ...
5 years, 4 months ago (2015-08-12 15:14:22 UTC) #14
joshualitt
On 2015/08/12 15:14:22, bsalomon wrote: > Let's make sure when we get to the point ...
5 years, 4 months ago (2015-08-12 15:30:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1275853005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1275853005/140001
5 years, 4 months ago (2015-08-12 16:19:21 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/1793)
5 years, 4 months ago (2015-08-12 16:20:22 UTC) #19
wangyix
On 2015/08/12 16:20:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 4 months ago (2015-08-12 16:30:14 UTC) #20
bsalomon
On 2015/08/12 16:30:14, wangyix wrote: > On 2015/08/12 16:20:22, commit-bot: I haz the power wrote: ...
5 years, 4 months ago (2015-08-12 16:39:54 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1275853005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1275853005/140001
5 years, 4 months ago (2015-08-12 16:40:24 UTC) #23
commit-bot: I haz the power
5 years, 4 months ago (2015-08-12 16:40:50 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:140001) as
https://skia.googlesource.com/skia/+/58d890bd45a201477ec6c4ba0ae61c574b4e5aef

Powered by Google App Engine
This is Rietveld 408576698