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

Issue 639863005: Track nested picture xform state for layer hoisting (Closed)

Created:
6 years, 2 months ago by robertphillips
Modified:
6 years, 2 months ago
Reviewers:
jvanverth1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Track nested picture xform state for layer hoisting The accumulated matrix state of any enclosing SkPictures must be stored separate from the picture-local CTM. Any setMatrix calls inside a layer need to replace the picture-local CTM but concatenate with the enclosing SkPicture transform state (and the transform state needed to translate the layer to the correct location in the cached GrTexture). Committed: https://skia.googlesource.com/skia/+/9e6835da41e344ef3c4c35036fabfdb0a4146c33

Patch Set 1 #

Total comments: 4

Patch Set 2 : rename variable (fInitialMat -> fPreMat) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -38 lines) Patch
M src/gpu/GrLayerCache.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/GrLayerHoister.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M src/gpu/GrLayerHoister.cpp View 1 11 chunks +30 lines, -19 lines 0 comments Download
M src/gpu/GrPictureUtils.h View 1 1 chunk +11 lines, -3 lines 0 comments Download
M src/gpu/GrPictureUtils.cpp View 1 2 chunks +5 lines, -3 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/PictureTest.cpp View 1 8 chunks +16 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
robertphillips
6 years, 2 months ago (2014-10-21 16:46:44 UTC) #2
jvanverth1
lgtm + comments https://codereview.chromium.org/639863005/diff/1/src/gpu/GrPictureUtils.cpp File src/gpu/GrPictureUtils.cpp (right): https://codereview.chromium.org/639863005/diff/1/src/gpu/GrPictureUtils.cpp#newcode129 src/gpu/GrPictureUtils.cpp:129: dst.fInitialMat.preConcat(*fCTM); Not postConcat? https://codereview.chromium.org/639863005/diff/1/src/gpu/GrPictureUtils.h File src/gpu/GrPictureUtils.h ...
6 years, 2 months ago (2014-10-21 18:40:04 UTC) #3
robertphillips
https://codereview.chromium.org/639863005/diff/1/src/gpu/GrPictureUtils.cpp File src/gpu/GrPictureUtils.cpp (right): https://codereview.chromium.org/639863005/diff/1/src/gpu/GrPictureUtils.cpp#newcode129 src/gpu/GrPictureUtils.cpp:129: dst.fInitialMat.preConcat(*fCTM); I believe preConcat is correct. fCTM is the ...
6 years, 2 months ago (2014-10-21 19:54:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/639863005/20001
6 years, 2 months ago (2014-10-22 12:26:06 UTC) #6
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 12:33:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 9e6835da41e344ef3c4c35036fabfdb0a4146c33

Powered by Google App Engine
This is Rietveld 408576698