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

Issue 24075010: We don't flatten or unflatten SkPaintOptionsAndroid. Reproduce and fix. (Closed)

Created:
7 years, 3 months ago by mtklein
Modified:
7 years, 2 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

We don't flatten or unflatten SkPaintOptionsAndroid. Reproduce and fix. BUG=skia:1625 Committed: http://code.google.com/p/skia/source/detail?r=11472

Patch Set 1 #

Total comments: 1

Patch Set 2 : alternative with flag #

Total comments: 1

Patch Set 3 : always read the android paint options #

Patch Set 4 : version that doesn't serialize default values #

Total comments: 2

Patch Set 5 : add == #

Total comments: 3

Patch Set 6 : move around #include #

Total comments: 2

Patch Set 7 : typo #

Total comments: 2

Patch Set 8 : revert pointless change #

Patch Set 9 : sync to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -14 lines) Patch
M gyp/core.gyp View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M gyp/core.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tests.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkPaintOptionsAndroid.h View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M src/core/SkPaint.cpp View 1 2 3 4 5 5 chunks +25 lines, -3 lines 0 comments Download
M src/core/SkPaintOptionsAndroid.cpp View 1 2 2 chunks +1 line, -5 lines 0 comments Download
A tests/AndroidPaintTest.cpp View 1 2 3 4 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
mtklein
Think you can help me sort out how to update picture version. I think I ...
7 years, 3 months ago (2013-09-17 21:30:32 UTC) #1
djsollen
https://codereview.chromium.org/24075010/diff/1/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/24075010/diff/1/include/core/SkPicture.h#newcode214 include/core/SkPicture.h:214: // TODO: mtklein sort this out Are there other ...
7 years, 3 months ago (2013-09-18 12:50:30 UTC) #2
mtklein
On 2013/09/18 12:50:30, djsollen wrote: > https://codereview.chromium.org/24075010/diff/1/include/core/SkPicture.h > File include/core/SkPicture.h (right): > > https://codereview.chromium.org/24075010/diff/1/include/core/SkPicture.h#newcode214 > ...
7 years, 3 months ago (2013-09-18 16:32:08 UTC) #3
djsollen
I like this solution, but we need to document somewhere that we should remove it ...
7 years, 3 months ago (2013-09-18 17:03:50 UTC) #4
reed1
lgtm
7 years, 3 months ago (2013-09-18 18:32:18 UTC) #5
reed1
I withdraw the approval for now... I think the reader code needs to always check ...
7 years, 3 months ago (2013-09-18 18:37:39 UTC) #6
vandebo (ex-Chrome)
On 2013/09/18 18:37:39, reed1 wrote: > I withdraw the approval for now... FYI the way ...
7 years, 3 months ago (2013-09-18 18:39:29 UTC) #7
reed1
another suggestion: - do we often have a "default" value in the options? - if ...
7 years, 3 months ago (2013-09-18 18:39:42 UTC) #8
mtklein
On 2013/09/18 18:39:42, reed1 wrote: > another suggestion: > > - do we often have ...
7 years, 3 months ago (2013-09-19 16:44:22 UTC) #9
mtklein
On 2013/09/19 16:44:22, mtklein wrote: > On 2013/09/18 18:39:42, reed1 wrote: > > another suggestion: ...
7 years, 3 months ago (2013-09-19 16:46:43 UTC) #10
djsollen
https://codereview.chromium.org/24075010/diff/19001/tests/AndroidPaintTest.cpp File tests/AndroidPaintTest.cpp (right): https://codereview.chromium.org/24075010/diff/19001/tests/AndroidPaintTest.cpp#newcode12 tests/AndroidPaintTest.cpp:12: return !(a != b); why not just add the ...
7 years, 3 months ago (2013-09-19 18:36:52 UTC) #11
mtklein
https://codereview.chromium.org/24075010/diff/19001/tests/AndroidPaintTest.cpp File tests/AndroidPaintTest.cpp (right): https://codereview.chromium.org/24075010/diff/19001/tests/AndroidPaintTest.cpp#newcode12 tests/AndroidPaintTest.cpp:12: return !(a != b); On 2013/09/19 18:36:52, djsollen wrote: ...
7 years, 3 months ago (2013-09-19 19:04:45 UTC) #12
reed1
https://codereview.chromium.org/24075010/diff/30001/include/core/SkPaint.h File include/core/SkPaint.h (left): https://codereview.chromium.org/24075010/diff/30001/include/core/SkPaint.h#oldcode18 include/core/SkPaint.h:18: #ifdef SK_BUILD_FOR_ANDROID Why is this removed from the public ...
7 years, 3 months ago (2013-09-19 19:10:20 UTC) #13
mtklein
https://codereview.chromium.org/24075010/diff/30001/include/core/SkPaint.h File include/core/SkPaint.h (left): https://codereview.chromium.org/24075010/diff/30001/include/core/SkPaint.h#oldcode18 include/core/SkPaint.h:18: #ifdef SK_BUILD_FOR_ANDROID On 2013/09/19 19:10:20, reed1 wrote: > Why ...
7 years, 3 months ago (2013-09-19 19:14:23 UTC) #14
mtklein
https://codereview.chromium.org/24075010/diff/30001/include/core/SkPaint.h File include/core/SkPaint.h (left): https://codereview.chromium.org/24075010/diff/30001/include/core/SkPaint.h#oldcode18 include/core/SkPaint.h:18: #ifdef SK_BUILD_FOR_ANDROID On 2013/09/19 19:14:24, mtklein wrote: > On ...
7 years, 3 months ago (2013-09-19 19:28:01 UTC) #15
djsollen
https://codereview.chromium.org/24075010/diff/38001/include/core/SkPaint.h File include/core/SkPaint.h (right): https://codereview.chromium.org/24075010/diff/38001/include/core/SkPaint.h#newcode18 include/core/SkPaint.h:18: #if SK_BUILD_FOR_ANDROID why change from ifdef?
7 years, 3 months ago (2013-09-19 19:59:29 UTC) #16
mtklein
https://codereview.chromium.org/24075010/diff/38001/include/core/SkPaint.h File include/core/SkPaint.h (right): https://codereview.chromium.org/24075010/diff/38001/include/core/SkPaint.h#newcode18 include/core/SkPaint.h:18: #if SK_BUILD_FOR_ANDROID On 2013/09/19 19:59:30, djsollen wrote: > why ...
7 years, 3 months ago (2013-09-19 20:55:59 UTC) #17
djsollen
lgtm https://codereview.chromium.org/24075010/diff/49001/include/core/SkPaint.h File include/core/SkPaint.h (right): https://codereview.chromium.org/24075010/diff/49001/include/core/SkPaint.h#newcode20 include/core/SkPaint.h:20: #endif // SK_BUILD_FOR_ANDROID in general I wouldn't bother ...
7 years, 3 months ago (2013-09-20 12:58:23 UTC) #18
mtklein
https://codereview.chromium.org/24075010/diff/49001/include/core/SkPaint.h File include/core/SkPaint.h (right): https://codereview.chromium.org/24075010/diff/49001/include/core/SkPaint.h#newcode20 include/core/SkPaint.h:20: #endif // SK_BUILD_FOR_ANDROID On 2013/09/20 12:58:23, djsollen wrote: > ...
7 years, 3 months ago (2013-09-20 13:18:46 UTC) #19
reed1
lgtm
7 years, 3 months ago (2013-09-24 19:54:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/24075010/55001
7 years, 2 months ago (2013-09-26 15:05:11 UTC) #21
commit-bot: I haz the power
7 years, 2 months ago (2013-09-26 15:16:18 UTC) #22
Message was sent while issue was closed.
Change committed as 11472

Powered by Google App Engine
This is Rietveld 408576698