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

Issue 1021823003: Add utils/android/SkAndroidSDKCanvas (Closed)

Created:
5 years, 9 months ago by tomhudson
Modified:
5 years, 9 months ago
Reviewers:
djsollen, mtklein
CC:
reviews_skia.org, f(malita), reed1
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Both DM and nanobench need this, so moving the duplicated code to one common spot. (It's incomplete, and has had bugs, so it's not like we can confidently write once, copy-paste, and not maintain again.) Because SkPathEffect::exposedInAndroidJavaAPI() only builds in the Android Framework, we might want to make all this code Framework-only? R=djsollen@google.com,mtklein@google.com Committed: https://skia.googlesource.com/skia/+/f7edcdedb64ee0d4a5c88807cd75ed1700e5bcce

Patch Set 1 #

Total comments: 2

Patch Set 2 : Derek's review, break into new gypi, ask Mike for gyp review #

Total comments: 4

Patch Set 3 : Mike's gyp structure suggestions #

Total comments: 6

Patch Set 4 : gyp tweaks #

Patch Set 5 : Avoid some overinclusive gypping? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -2 lines) Patch
M gyp/effects.gyp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gyp/gpu.gyp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gyp/utils.gyp View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A src/utils/android/SkAndroidSDKCanvas.h View 1 2 1 chunk +106 lines, -0 lines 0 comments Download
A src/utils/android/SkAndroidSDKCanvas.cpp View 1 1 chunk +316 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
tomhudson
PTAL
5 years, 9 months ago (2015-03-23 14:41:55 UTC) #1
djsollen
yeah, make it framework only. https://codereview.chromium.org/1021823003/diff/1/gyp/utils.gyp File gyp/utils.gyp (right): https://codereview.chromium.org/1021823003/diff/1/gyp/utils.gyp#newcode25 gyp/utils.gyp:25: '../include/utils/android', I would prefer ...
5 years, 9 months ago (2015-03-23 14:58:53 UTC) #2
tomhudson
On 2015/03/23 14:58:53, djsollen wrote: Done (assuming making it its own target is probably sufficient ...
5 years, 9 months ago (2015-03-23 15:56:15 UTC) #3
tomhudson
OK, this time for sure! (+mtklein@)
5 years, 9 months ago (2015-03-23 15:56:47 UTC) #5
mtklein
https://codereview.chromium.org/1021823003/diff/20001/gyp/android_utils.gypi File gyp/android_utils.gypi (right): https://codereview.chromium.org/1021823003/diff/20001/gyp/android_utils.gypi#newcode10 gyp/android_utils.gypi:10: '<(skia_include_path)/utils/android/SkAndroidSDKCanvas.h', Is this header really meant to be public? ...
5 years, 9 months ago (2015-03-23 16:47:01 UTC) #6
tomhudson
On 2015/03/23 16:47:01, mtklein wrote: > ... Done
5 years, 9 months ago (2015-03-23 17:30:35 UTC) #7
mtklein
https://codereview.chromium.org/1021823003/diff/20001/gyp/utils.gyp File gyp/utils.gyp (right): https://codereview.chromium.org/1021823003/diff/20001/gyp/utils.gyp#newcode148 gyp/utils.gyp:148: '../include/utils/android', Don't you want to keep this, switched over ...
5 years, 9 months ago (2015-03-23 17:49:02 UTC) #8
tomhudson
https://codereview.chromium.org/1021823003/diff/20001/gyp/utils.gyp File gyp/utils.gyp (right): https://codereview.chromium.org/1021823003/diff/20001/gyp/utils.gyp#newcode148 gyp/utils.gyp:148: '../include/utils/android', On 2015/03/23 17:49:02, mtklein wrote: > Don't you ...
5 years, 9 months ago (2015-03-23 18:06:28 UTC) #9
djsollen
lgtm
5 years, 9 months ago (2015-03-23 18:09:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021823003/60001
5 years, 9 months ago (2015-03-23 18:12:10 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/47)
5 years, 9 months ago (2015-03-23 18:15:59 UTC) #14
tomhudson
+Florin, Mike: example of an SkCanvas subclass replacing SkDrawFilter. Maybe just replace my two macros ...
5 years, 9 months ago (2015-03-23 19:07:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021823003/80001
5 years, 9 months ago (2015-03-23 19:46:04 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-23 19:51:24 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/f7edcdedb64ee0d4a5c88807cd75ed1700e5bcce

Powered by Google App Engine
This is Rietveld 408576698