braveyao
0d1e27f00f
desktopCapture: scale the cursor image according to screen scale factor on OSX
...
Before 10.12, OSX may report 1X cursor on Retina screen. (See crbug.com/632995.)
After 10.12, OSX may report 2X cursor on non-Retina screen. (See
crbug.com/671436.) So scaling the cursor if the image size doesn't meet the
expected size on either Retina or non-Retina screen.
Also corrects the cursor caching and change detection, so we can only do scalingat cursor changing for better performance.
As to screen capture on OSX, the captured frame already contains the current
cursor. So the MouseCursorMonitorMac is not needed for ScreenCapture for
performance purpose.
BUG=671436
Review-Url: https://codereview.webrtc.org/2908853002
Cr-Commit-Position: refs/heads/master@{#18393}
2017-06-01 21:27:41 +00:00
..
2017-05-16 23:50:32 +00:00
2017-05-16 23:50:32 +00:00
2017-04-05 12:00:33 +00:00
2017-03-03 22:40:15 +00:00
2017-03-03 22:40:15 +00:00
2017-03-03 22:40:15 +00:00
2017-05-18 19:27:16 +00:00
2016-06-07 23:42:07 +00:00
2016-06-07 23:42:07 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2016-11-21 21:54:30 +00:00
2017-03-22 08:13:39 +00:00
2017-04-05 12:00:33 +00:00
2017-04-28 01:39:01 +00:00
2016-10-26 20:15:47 +00:00
2016-10-26 20:15:47 +00:00
2016-10-26 20:15:47 +00:00
2017-03-23 07:02:01 +00:00
2016-11-11 05:57:19 +00:00
2017-04-28 01:39:01 +00:00
2016-11-02 21:49:38 +00:00
2017-03-17 22:33:27 +00:00
2016-11-07 23:25:22 +00:00
2016-09-21 19:23:22 +00:00
2016-09-05 22:26:40 +00:00
2016-11-23 01:17:19 +00:00
2016-11-30 00:09:57 +00:00
2016-11-30 00:09:57 +00:00
2017-04-05 12:00:33 +00:00
2016-10-26 20:15:47 +00:00
2017-04-28 01:39:01 +00:00
2017-03-22 18:38:46 +00:00
2017-05-18 19:27:16 +00:00
2017-05-16 23:50:32 +00:00
2017-05-16 23:50:32 +00:00
2016-09-29 00:42:08 +00:00
2016-04-22 11:59:34 +00:00
2016-04-22 11:59:34 +00:00
2016-10-01 05:29:53 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2017-02-17 22:32:04 +00:00
2017-02-17 22:32:04 +00:00
2017-02-21 23:00:07 +00:00
2017-02-21 23:00:07 +00:00
2017-02-21 23:00:07 +00:00
2016-11-12 01:18:39 +00:00
2016-11-12 01:18:39 +00:00
2017-06-01 21:27:41 +00:00
2014-03-07 15:23:34 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2017-05-23 16:31:14 +00:00
2014-01-14 18:26:37 +00:00
2014-04-29 17:54:17 +00:00
2016-03-16 22:58:13 +00:00
2016-11-16 19:11:38 +00:00
2017-02-16 20:07:44 +00:00
2017-02-16 20:07:44 +00:00
2016-09-29 00:42:08 +00:00
2016-09-21 19:23:22 +00:00
2017-03-03 22:40:15 +00:00
2016-06-07 23:42:07 +00:00
2016-09-29 00:42:08 +00:00
2017-04-05 12:00:33 +00:00
2016-04-26 15:14:48 +00:00
2016-12-12 07:30:09 +00:00
2016-11-12 01:18:39 +00:00
2017-04-05 12:00:33 +00:00
2016-11-11 05:57:19 +00:00
2016-11-12 01:18:39 +00:00
2017-03-03 22:40:15 +00:00
2017-04-05 12:00:33 +00:00
2017-01-12 10:24:27 +00:00
2016-10-19 01:22:25 +00:00
2017-04-05 12:00:33 +00:00
2016-11-19 04:31:10 +00:00
2016-10-19 01:22:25 +00:00
2016-10-19 01:22:25 +00:00
2017-04-03 18:51:18 +00:00
2016-10-20 16:34:04 +00:00
2013-04-29 20:10:57 +00:00
2017-02-17 22:32:04 +00:00
2016-11-23 01:17:19 +00:00
2016-11-23 01:17:19 +00:00
2016-11-23 01:17:19 +00:00
2017-04-05 12:00:33 +00:00
2016-11-11 05:57:19 +00:00
2017-04-05 12:00:33 +00:00
2017-04-20 21:53:36 +00:00
2017-04-05 12:00:33 +00:00