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

Issue 2031383002: Allow animation in Android viewer (Closed)

Created:
4 years, 6 months ago by liyuqian
Modified:
4 years, 6 months ago
Reviewers:
jvanverth1, scroggo
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Allow animation in Android viewer To do that, we let ALooper_pollAll return immediately rather than wait indefinitely. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2031383002 Committed: https://skia.googlesource.com/skia/+/38d1adf1f7f482326d7047d52d56e65e9196482a

Patch Set 1 #

Total comments: 9

Patch Set 2 : Revision #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -6 lines) Patch
M tools/viewer/sk_app/android/surface_glue_android.cpp View 1 3 chunks +17 lines, -6 lines 2 comments Download

Messages

Total messages: 13 (5 generated)
liyuqian
4 years, 6 months ago (2016-06-03 17:33:34 UTC) #4
scroggo
https://codereview.chromium.org/2031383002/diff/1/tools/viewer/sk_app/android/surface_glue_android.cpp File tools/viewer/sk_app/android/surface_glue_android.cpp (right): https://codereview.chromium.org/2031383002/diff/1/tools/viewer/sk_app/android/surface_glue_android.cpp#newcode25 tools/viewer/sk_app/android/surface_glue_android.cpp:25: #include "Timer.h" I think you just use SkTIme, which ...
4 years, 6 months ago (2016-06-03 19:11:06 UTC) #5
liyuqian
Thank you for the helpful comments! I've revised the code accordingly. https://codereview.chromium.org/2031383002/diff/1/tools/viewer/sk_app/android/surface_glue_android.cpp File tools/viewer/sk_app/android/surface_glue_android.cpp (right): ...
4 years, 6 months ago (2016-06-06 13:38:27 UTC) #6
scroggo
lgtm https://codereview.chromium.org/2031383002/diff/1/tools/viewer/sk_app/android/surface_glue_android.cpp File tools/viewer/sk_app/android/surface_glue_android.cpp (right): https://codereview.chromium.org/2031383002/diff/1/tools/viewer/sk_app/android/surface_glue_android.cpp#newcode186 tools/viewer/sk_app/android/surface_glue_android.cpp:186: struct android_poll_source* source; On 2016/06/06 13:38:27, liyuqian wrote: ...
4 years, 6 months ago (2016-06-06 14:17:00 UTC) #7
jvanverth1
https://codereview.chromium.org/2031383002/diff/20001/tools/viewer/sk_app/android/surface_glue_android.cpp File tools/viewer/sk_app/android/surface_glue_android.cpp (right): https://codereview.chromium.org/2031383002/diff/20001/tools/viewer/sk_app/android/surface_glue_android.cpp#newcode184 tools/viewer/sk_app/android/surface_glue_android.cpp:184: const int ident = ALooper_pollAll(0, nullptr, nullptr, nullptr); I'm ...
4 years, 6 months ago (2016-06-06 14:18:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031383002/20001
4 years, 6 months ago (2016-06-06 14:28:34 UTC) #10
liyuqian
The CPU usage is checked and it does look good. https://codereview.chromium.org/2031383002/diff/20001/tools/viewer/sk_app/android/surface_glue_android.cpp File tools/viewer/sk_app/android/surface_glue_android.cpp (right): https://codereview.chromium.org/2031383002/diff/20001/tools/viewer/sk_app/android/surface_glue_android.cpp#newcode184 ...
4 years, 6 months ago (2016-06-06 14:30:46 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 14:53:27 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/38d1adf1f7f482326d7047d52d56e65e9196482a

Powered by Google App Engine
This is Rietveld 408576698