Marshall Greenblatt
8c6cc302d0
Fix OSR surface sizing on browser resize (fixes issue #2733 ).
...
This includes the following changes:
- Update usage of surface IDs to match the Aura implementation from the
RWHVAura/Window classes.
- Batch CefBrowserHost::WasResized calls to avoid excessive/unnecessary calls
to SynchronizeVisualProperties.
- Cache the results of CefRenderHandler::GetViewRect after resize and make
RWHVOSR::GetViewBounds the source of truth for all size calculations.
- Fix bounds calculations in CefVideoConsumerOSR with GPU enabled.
Known issues:
- The size passed to OnPaint may be off by 1 pixel in cases where the device
scale factor is not 1 and does not divide evenly into the pixel size. This is
due to the inexact conversion from integer pixel size to integer logical size
for GetViewRect.
2020-02-21 15:02:52 -05:00
..
2020-01-15 14:49:22 +01:00
2020-02-21 15:02:52 -05:00
2019-01-18 11:25:51 +01:00
2020-02-21 15:02:52 -05:00
2020-02-17 13:19:09 -05:00
2020-02-17 13:19:09 -05:00
2020-02-21 15:02:52 -05:00
2019-10-01 13:55:16 +00:00
2020-02-17 13:19:09 -05:00
2020-02-17 13:19:09 -05:00
2020-02-21 15:02:52 -05:00
2019-10-02 12:33:56 +03:00
2018-02-02 17:44:08 -05:00
2020-02-17 13:19:09 -05:00
2020-02-17 13:19:09 -05:00
2020-02-21 15:02:52 -05:00
2020-02-17 13:19:09 -05:00
2020-01-24 20:16:47 -05:00
2020-01-24 20:16:47 -05:00
2019-11-06 13:17:18 -05:00
2019-05-29 17:44:56 +03:00
2020-01-15 14:49:22 +01:00
2020-02-17 13:19:09 -05:00
2019-10-15 11:11:59 +00:00
2020-01-15 14:49:22 +01:00
2017-10-26 15:58:57 -04:00
2019-07-16 15:34:16 -04:00
2019-03-13 21:27:37 +00:00
2019-03-18 21:07:02 +00:00
2020-01-24 20:16:47 -05:00
2020-02-21 15:02:52 -05:00
2017-05-18 12:30:05 +02:00
2017-05-18 12:30:05 +02:00
2020-01-15 14:49:22 +01:00
2019-11-19 13:22:13 -05:00
2019-01-18 11:25:51 +01:00
2019-03-24 16:45:06 -04:00
2016-11-08 16:56:11 -08:00
2020-01-15 14:49:22 +01:00
2019-10-01 13:55:16 +00:00
2020-02-17 13:19:09 -05:00
2020-02-17 13:19:09 -05:00
2020-02-17 13:19:09 -05:00
2017-05-18 12:30:05 +02:00
2020-01-15 14:49:22 +01:00
2019-06-01 15:51:33 +03:00
2020-01-15 14:49:22 +01:00
2018-03-22 16:56:23 -04:00
2020-01-15 14:49:22 +01:00
2019-09-04 15:13:32 +00:00
2017-08-25 18:40:32 -04:00
2019-03-13 21:27:37 +00:00
2020-01-15 14:49:22 +01:00
2018-10-25 12:57:05 -04:00
2018-10-04 12:17:26 +03:00
2020-02-17 13:19:09 -05:00
2020-02-17 13:19:09 -05:00
2019-11-19 13:29:33 -05:00
2019-11-19 13:29:33 -05:00
2020-01-15 14:49:22 +01:00
2018-03-22 16:56:23 -04:00
2017-05-18 12:30:05 +02:00
2020-01-15 14:49:22 +01:00
2019-09-04 15:13:32 +00:00
2020-01-15 14:49:22 +01:00
2019-03-13 21:27:37 +00:00
2020-01-15 14:49:22 +01:00
2017-05-18 12:30:05 +02:00
2016-04-28 12:57:08 -04:00
2019-05-29 17:44:56 +03:00
2019-05-29 17:44:56 +03:00
2020-01-15 14:49:22 +01:00
2016-09-02 13:01:33 +03:00
2017-05-18 12:30:05 +02:00
2013-04-18 17:58:23 +00:00
2018-05-16 11:23:34 +03:00
2019-10-01 13:55:16 +00:00
2019-10-01 13:55:16 +00:00
2018-05-04 10:50:26 +02:00
2019-10-01 13:55:16 +00:00
2019-10-01 13:55:16 +00:00
2020-02-17 13:19:09 -05:00
2019-07-29 17:41:45 -04:00
2020-02-17 13:19:09 -05:00
2020-02-17 13:19:09 -05:00
2017-05-18 12:30:05 +02:00
2019-10-01 13:55:16 +00:00
2019-04-16 14:38:48 +00:00
2019-10-01 13:55:16 +00:00
2018-06-19 15:49:32 -04:00
2020-02-17 13:19:09 -05:00
2020-02-17 13:19:09 -05:00
2019-10-01 13:55:16 +00:00
2016-09-02 13:01:33 +03:00
2016-10-27 14:04:48 -04:00
2016-10-20 16:54:25 -04:00
2020-01-15 14:49:22 +01:00
2017-05-18 12:30:05 +02:00
2019-10-01 13:55:16 +00:00
2017-05-18 12:30:05 +02:00
2020-01-15 14:49:22 +01:00
2016-05-25 08:10:01 -07:00
2019-07-19 21:55:30 -04:00
2019-07-19 21:55:30 -04:00
2018-10-04 12:17:26 +03:00
2017-05-18 12:30:05 +02:00
2017-05-18 12:30:05 +02:00
2016-09-02 13:01:33 +03:00
2018-02-19 17:38:04 -05:00
2017-07-28 18:30:34 -04:00
2020-01-15 14:49:22 +01:00
2017-05-18 12:30:05 +02:00
2020-01-15 14:49:22 +01:00
2017-05-18 12:30:05 +02:00