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

Issue 240273004: always store bitfields along with dirty in FlatteningTraits (Closed)

Created:
6 years, 8 months ago by reed1
Modified:
6 years, 8 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

always store bitfields along with dirty in FlatteningTraits This allows us to simplify lots of setters in SkPaint, which in the non-android case, could now be just assignments (and therefore inlineable). Committed: http://code.google.com/p/skia/source/detail?r=14229

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase #

Patch Set 3 : re-compact the dirtybits enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -33 lines) Patch
M src/core/SkPaint.cpp View 1 2 11 chunks +25 lines, -31 lines 0 comments Download
M tests/PaintTest.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
reed1
6 years, 8 months ago (2014-04-16 15:25:03 UTC) #1
robertphillips
lgtm https://codereview.chromium.org/240273004/diff/1/src/core/SkPaint.cpp File src/core/SkPaint.cpp (right): https://codereview.chromium.org/240273004/diff/1/src/core/SkPaint.cpp#newcode39 src/core/SkPaint.cpp:39: kColor_DirtyBit = 1 << 0, Just delete? https://codereview.chromium.org/240273004/diff/1/src/core/SkPaint.cpp#newcode2663 ...
6 years, 8 months ago (2014-04-16 15:39:33 UTC) #2
tomhudson
lgtm
6 years, 8 months ago (2014-04-16 15:45:10 UTC) #3
mtklein
code lgtm. some suggestions on the comments https://codereview.chromium.org/240273004/diff/1/src/core/SkPaint.cpp File src/core/SkPaint.cpp (right): https://codereview.chromium.org/240273004/diff/1/src/core/SkPaint.cpp#newcode39 src/core/SkPaint.cpp:39: kColor_DirtyBit = ...
6 years, 8 months ago (2014-04-16 15:53:23 UTC) #4
mtklein
Wait! not lgtm. https://codereview.chromium.org/240273004/diff/1/src/core/SkPaint.cpp File src/core/SkPaint.cpp (right): https://codereview.chromium.org/240273004/diff/1/src/core/SkPaint.cpp#newcode39 src/core/SkPaint.cpp:39: kColor_DirtyBit = 1 << 0, On ...
6 years, 8 months ago (2014-04-16 15:54:43 UTC) #5
reed1
On 2014/04/16 15:54:43, mtklein wrote: > Wait! not lgtm. > > https://codereview.chromium.org/240273004/diff/1/src/core/SkPaint.cpp > File src/core/SkPaint.cpp ...
6 years, 8 months ago (2014-04-16 20:22:05 UTC) #6
reed1
PTAL
6 years, 8 months ago (2014-04-16 20:27:34 UTC) #7
mtklein
lgtm
6 years, 8 months ago (2014-04-16 20:28:25 UTC) #8
reed1
The CQ bit was checked by reed@google.com
6 years, 8 months ago (2014-04-16 20:28:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/240273004/20003
6 years, 8 months ago (2014-04-16 20:28:56 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-16 20:48:12 UTC) #11
Message was sent while issue was closed.
Change committed as 14229

Powered by Google App Engine
This is Rietveld 408576698