jpark37
3456ed0644
libobs: UI: Remove DrawBackdrop() to save fullscreen pass
...
It's a waste of GPU time to do two fullscreen passes to render final mix
previews. Use blend states to simulate the black background of
DrawBackdrop() for the following situations:
- Main preview window (Studio Mode off)
- Studio Mode: Program
This does not effect:
- Studio Mode: Preview (still uses DrawBackdrop)
- Fullscreen Projector (uses GPU clear to black)
- Windowed Projector (uses GPU clear to black)
intel GPA, SetStablePowerState, Intel HD Graphics 530, 1920x1080
Before:
DrawBackdrop: ~529 us
main texture: ~367 us (Cheaper than drawing a black quad?)
After:
[DrawBackdrop optimized away]
main texture: ~383 us
2019-07-18 19:58:29 -07:00
..
2019-07-12 08:20:11 -05:00
2019-07-13 20:27:14 -05:00
2019-06-23 23:49:10 -07:00
2019-02-04 21:21:17 -06:00
2019-07-08 08:11:56 -07:00
2019-06-23 23:49:10 -07:00
2019-04-14 05:10:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-08 08:11:56 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-02-26 07:24:22 -08:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-03-25 19:13:27 -07:00
2019-06-23 23:49:10 -07:00
2019-03-06 14:28:49 -08:00
2018-09-07 09:27:20 -05:00
2019-06-23 23:49:10 -07:00
2019-07-08 08:11:56 -07:00
2019-04-21 04:10:46 -07:00
2019-04-21 04:10:46 -07:00
2019-06-23 23:49:10 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-04-01 02:48:28 -05:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2018-05-19 00:17:58 -03:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2016-08-27 20:19:45 -07:00
2018-04-20 19:49:26 -07:00
2019-04-22 01:50:10 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2019-02-07 14:47:15 -08:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-02-02 11:22:31 +11:00
2019-07-09 13:39:13 -05:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-13 00:37:44 +02:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-08 08:11:56 -07:00
2019-07-08 08:11:56 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-29 01:28:16 +02:00
2019-06-23 23:49:10 -07:00
2019-07-09 13:39:13 -05:00
2019-04-21 04:10:46 -07:00
2019-04-21 04:10:46 -07:00
2019-04-08 19:56:56 -05:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2019-04-22 01:50:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-05-05 20:00:26 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-08 08:11:56 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-18 19:58:29 -07:00
2019-07-18 19:58:29 -07:00
2019-07-13 20:27:14 -05:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-08 08:11:56 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2018-07-16 19:01:51 -07:00
2019-06-23 23:49:10 -07:00
2019-04-14 22:45:31 -05:00
2019-07-08 08:11:56 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-03-05 14:39:24 -08:00
2019-06-23 23:49:10 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2019-07-18 16:16:03 +02:00
2019-07-18 16:16:03 +02:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00