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

Issue 137093004: Collapse matrix & clip stack in PictureRecord (Closed)

Created:
6 years, 10 months ago by robertphillips
Modified:
6 years, 10 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

This version passes the MatrixClipCollapseTest and can run through the small set of skps but doesn't handle saveLayers correctly yet. Doing so is going to take some major surgery so I would like to land a checkpoint of this.

Patch Set 1 #

Total comments: 2

Patch Set 2 : added SK_ prefix to #define #

Patch Set 3 : Fixed over application of SK_ prefix #

Patch Set 4 : Fixed over application of SK_ prefix #

Patch Set 5 : Fixed over application of SK_ prefix #

Patch Set 6 : Fixed over application of SK_ prefix #

Patch Set 7 : Fixed over application of SK_ prefix #

Patch Set 8 : Fixed over application of SK_ prefix #

Patch Set 9 : Fixed over application of SK_ prefix #

Patch Set 10 : Fixed over application of SK_ prefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+832 lines, -16 lines) Patch
M gyp/core.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A src/core/SkMatrixClipStateMgr.h View 1 chunk +343 lines, -0 lines 0 comments Download
src/core/SkMatrixClipStateMgr.cpp View 1 chunk +257 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 5 chunks +13 lines, -1 line 0 comments Download
M src/core/SkPictureRecord.cpp View 1 36 chunks +209 lines, -10 lines 0 comments Download
M tests/MatrixClipCollapseTest.cpp View 1 2 5 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
robertphillips
6 years, 10 months ago (2014-02-10 19:30:29 UTC) #1
reed1
consider subclassing SkPictureRecord....? lgtm https://codereview.chromium.org/137093004/diff/1/src/core/SkPictureRecord.h File src/core/SkPictureRecord.h (right): https://codereview.chromium.org/137093004/diff/1/src/core/SkPictureRecord.h#newcode13 src/core/SkPictureRecord.h:13: #ifdef COLLAPSE_MATRIX_CLIP_STATE nit: SK_COLLAPS_...
6 years, 10 months ago (2014-02-10 20:59:25 UTC) #2
robertphillips
6 years, 10 months ago (2014-02-11 15:11:00 UTC) #3
Message was sent while issue was closed.
committed as r13402

https://codereview.chromium.org/137093004/diff/1/src/core/SkPictureRecord.h
File src/core/SkPictureRecord.h (right):

https://codereview.chromium.org/137093004/diff/1/src/core/SkPictureRecord.h#n...
src/core/SkPictureRecord.h:13: #ifdef COLLAPSE_MATRIX_CLIP_STATE
On 2014/02/10 20:59:25, reed1 wrote:
> nit: SK_COLLAPS_...

Done.

Powered by Google App Engine
This is Rietveld 408576698