diff options
author | Brian Osman <brianosman@google.com> | 2017-12-05 10:14:25 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-05 15:39:01 +0000 |
commit | bb4b20a265a78b561c005aaf80920d4bc9c2e7d0 (patch) | |
tree | 7730a1d63fa29d08be0a3a6bebc751e1c9c29693 /gm/imageblur2.cpp | |
parent | 1793e7bb46c1f9d430c1a699a1c3d3168159b659 (diff) |
Keep animation running while moving the mouse in viewer (on Windows)
Animated slides (like addarc) would appear to pause while dragging the
mouse around. This was because the message queue was never empty - we
would just alternate handling WM_MOUSEMOVE and WM_PAINT messages. Forcing
an onIdle before each onPaint appears to fix the problem.
Bug: skia:
Change-Id: I1d19f83c2cf480f327420a2682a074213847d062
Reviewed-on: https://skia-review.googlesource.com/80620
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gm/imageblur2.cpp')
0 files changed, 0 insertions, 0 deletions