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

Issue 2350743003: Bug Fix: Mac Retina Screen Capture's Mouse Cursor Too Small (Closed)

Created:
4 years, 3 months ago by qiangchen
Modified:
4 years, 3 months ago
Reviewers:
Sergey Ulanov
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Bug Fix: Mac Retina Screen Capture's Mouse Cursor Too Small On retina display, when we do screen capture, the mouse cursor looks too small. The reason is that we painted the cursor with low resolution on to the frame directly. This CL fixes the bug. BUG=632995 Committed: https://crrev.com/6f79d840ba238b8122d7ab354f54a444bb22a4ca Cr-Commit-Position: refs/heads/master@{#14340}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Comment Fix #

Total comments: 2

Patch Set 3 : No round #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -18 lines) Patch
M webrtc/modules/desktop_capture/desktop_frame.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/desktop_capture/desktop_frame.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm View 1 2 6 chunks +45 lines, -16 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
qiangchen
A fix for retina cursor capture.
4 years, 3 months ago (2016-09-20 17:48:30 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/2350743003/diff/1/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm File webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm (right): https://codereview.chromium.org/2350743003/diff/1/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm#newcode34 webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm:34: NSImage* PaintInCurrentContext(NSImage* source, NSSize new_size) { Add a comment ...
4 years, 3 months ago (2016-09-20 22:53:22 UTC) #8
qiangchen
Fixed. Thanks. https://codereview.chromium.org/2350743003/diff/1/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm File webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm (right): https://codereview.chromium.org/2350743003/diff/1/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm#newcode34 webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm:34: NSImage* PaintInCurrentContext(NSImage* source, NSSize new_size) { On ...
4 years, 3 months ago (2016-09-21 16:38:32 UTC) #11
Sergey Ulanov
lgtm https://codereview.chromium.org/2350743003/diff/100001/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm File webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm (right): https://codereview.chromium.org/2350743003/diff/100001/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm#newcode259 webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm:259: if (round(scale) != 1.0) Why do you need ...
4 years, 3 months ago (2016-09-21 20:11:07 UTC) #18
qiangchen
https://codereview.chromium.org/2350743003/diff/100001/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm File webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm (right): https://codereview.chromium.org/2350743003/diff/100001/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm#newcode259 webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm:259: if (round(scale) != 1.0) On 2016/09/21 20:11:07, Sergey Ulanov ...
4 years, 3 months ago (2016-09-21 20:35:28 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2350743003/120001
4 years, 3 months ago (2016-09-21 20:35:34 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-09-21 22:36:04 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2350743003/120001
4 years, 3 months ago (2016-09-21 23:43:41 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:120001)
4 years, 3 months ago (2016-09-21 23:45:00 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 23:45:07 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6f79d840ba238b8122d7ab354f54a444bb22a4ca
Cr-Commit-Position: refs/heads/master@{#14340}

Powered by Google App Engine
This is Rietveld 408576698