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

Issue 595583003: Make a flipped fDirtyBit always mean "this field is not the default". (Closed)

Created:
6 years, 3 months ago by mtklein_C
Modified:
6 years, 3 months ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Make a flipped fDirtyBit always mean "this field is not the default". Haven't been able to measure any perf effect, so I figure I'll let the bots have at it. BUG=skia: Committed: https://skia.googlesource.com/skia/+/ee902cd4f4b3c8f355c0f4de35152a14904ec54a

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -31 lines) Patch
M src/core/SkPaint.cpp View 9 chunks +23 lines, -24 lines 0 comments Download
M tests/PaintTest.cpp View 1 chunk +10 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/595583003/1
6 years, 3 months ago (2014-09-22 18:18:51 UTC) #2
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 3 months ago (2014-09-22 18:18:52 UTC) #3
mtklein
6 years, 3 months ago (2014-09-22 18:31:08 UTC) #5
reed1
This change looks correct. That said, it does seem like a code/perf burden to track ...
6 years, 3 months ago (2014-09-22 18:40:06 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as ee902cd4f4b3c8f355c0f4de35152a14904ec54a
6 years, 3 months ago (2014-09-22 18:40:39 UTC) #7
mtklein
6 years, 3 months ago (2014-09-22 18:45:19 UTC) #8
Message was sent while issue was closed.
On 2014/09/22 18:40:39, I haz the power (commit-bot) wrote:
> Committed patchset #1 (id:1) as ee902cd4f4b3c8f355c0f4de35152a14904ec54a

Super agreed.  I also don't like having so much recording logic in SkPaint.  I'm
working on variable-length paint encoding for recording now.  I'll start with a
version that doesn't use dirty bits (working from SkPaint's public API) and see
what I can get out of that.  If there's a win or it's no worse, we can drop the
dirty bits entirely.

Powered by Google App Engine
This is Rietveld 408576698