10022 Commits

Author SHA1 Message Date
twinaphex
18d21d8f95 Cleanups 2020-10-05 22:01:31 +02:00
twinaphex
d66541ba99 Turn function static 2020-10-05 21:54:07 +02:00
twinaphex
54f30e31a1 Cleanups 2020-10-05 21:44:13 +02:00
twinaphex
088e6b9e44 Move gfx_widgets_pure_white to dispwidget struct 2020-10-05 19:59:15 +02:00
twinaphex
90503f885b Move msg_queue_background to struct 2020-10-05 19:54:54 +02:00
twinaphex
a7c54f1848 Move video_driver_thread pointer grabbing to retroarch.c 2020-10-05 18:13:53 +02:00
twinaphex
d1dd0e9d60 Not sure why this printf was there 2020-10-05 16:01:40 +02:00
jdgleaver
80f1da2fb1 OpenDingux: Enable selection of image interpolation method when using 'sdl_dingux' gfx driver 2020-10-05 14:34:21 +01:00
jdgleaver
472f01e0e6 OpenDingux/sdl_dingux: Prevent crash when selecting invalid video modes + optimisations 2020-10-04 11:43:33 +01:00
twinaphex
fbd4fc5094 Try to avoid having to repeatedly grab the pointer 2020-10-03 20:30:57 +02:00
twinaphex
326f40d598 Cleanup 2020-10-03 18:37:53 +02:00
twinaphex
467dd68fa4 Cleanup 2020-10-03 18:32:21 +02:00
twinaphex
0e4aa46335 Cleanups 2020-10-03 18:25:43 +02:00
twinaphex
ecd72b5be6 (widgets) Get rid of get_ptr function calls 2020-10-02 22:23:51 +02:00
twinaphex
f82b357f86 Remove getter gfx_widget_get_backdrop_orig 2020-10-02 22:12:05 +02:00
twinaphex
20371e5102 (gfx_thumbnail) get rid of small getters 2020-10-02 21:59:02 +02:00
twinaphex
f84c6ec8cd Use STRLEN_CONST where possible; and don't needlessly do strlen
twice
2020-10-02 20:57:29 +02:00
jdgleaver
bbba80f01e OpenDingux: Enable integer scaling when using the 'sdl_dingux' gfx driver 2020-10-02 16:38:42 +01:00
twinaphex
0bfbf81b49 Cleanups 2020-10-02 14:33:35 +02:00
twinaphex
4adfaa07fc Cleanups 2020-10-02 14:16:12 +02:00
twinaphex
079c2dadff (gfx_display.c) Do early returns before computing a bunch of stuff 2020-10-02 14:07:01 +02:00
twinaphex
cd469d3fb2 gfx_widgets_draw_regular_msg - optimization - only set alpha colors
again if alpha hasn't already been applied
2020-10-02 13:33:05 +02:00
twinaphex
2594bd2cf6 Some static globals can be moved to functions 2020-10-02 13:30:57 +02:00
twinaphex
c45e7c9bc5 Cleanup 2020-10-02 11:36:11 +02:00
twinaphex
a38ecbe7de gfx_widgets_iterate - cleanup 2020-10-02 11:32:49 +02:00
twinaphex
c736f2ce28 Cleanups 2020-10-02 11:00:19 +02:00
twinaphex
2e752d93cc Cleanup 2020-10-01 18:34:01 +02:00
twinaphex
cecd48e6b5 gfx_display_draw_cursor - take out early return 2020-10-01 18:22:29 +02:00
jdgleaver
3bd66cc14d OpenDingux port improvements: Phase 1 2020-10-01 15:56:14 +01:00
twinaphex
e8ab0a892a gfx_display_get_adjusted_scale_internal - cleanup 2020-10-01 12:33:58 +02:00
twinaphex
4f82c26f6c Cleanups 2020-10-01 12:26:49 +02:00
twinaphex
48a2e0528d gfx_display_font_file - cleanup 2020-10-01 12:24:17 +02:00
twinaphex
d08a3b2310 These functions were never used 2020-10-01 12:22:56 +02:00
twinaphex
4965b78ea3 PARTICLES_COUNT doesn't seem used anymore 2020-10-01 12:21:57 +02:00
twinaphex
497f2d92b5 gfx_widgets_ai_service_overlay_load - cleanup 2020-10-01 12:20:34 +02:00
Connor McLaughlin
696df6e916 (video/d3d11) Skip shader/stock blend when we don't have a texture
This happens if the core calls video_cb with the frame set to null on
the first frame, and was causing black screens/driver resets.

The ffmpeg core seems to do this.
2020-10-01 19:19:13 +10:00
twinaphex
a02f8a24fa Get rid of forward declarations 2020-10-01 11:06:59 +02:00
twinaphex
fe38cd9cbc (gfx widgets) get rid of more getter functions 2020-10-01 10:55:37 +02:00
twinaphex
dee807cb54 (gfx widgets) Start removing a lot of getter functions 2020-10-01 10:50:45 +02:00
Connor McLaughlin
10bbe119a7 (video/d3d11): Fix shaders with scaled framebuffers
The scissor rectangle was left as whatever the core last used.
2020-10-01 16:53:19 +10:00
twinaphex
1e6828fd63 Cleanups 2020-09-30 19:18:40 +02:00
twinaphex
f8b828e623 gfx_display_draw_bg - cleanups 2020-09-30 18:56:46 +02:00
twinaphex
8683f68ccb Cleanup 2020-09-30 18:52:22 +02:00
Autechre
7f3b1c69e3
Merge pull request #11392 from stenzek/d3d11
(video/d3d11) Fix background in menus, and shaders for hardware renderers
2020-09-30 17:57:27 +02:00
Connor McLaughlin
30c6f90c93 (video/d3d11) Use cached view as the slang source texture
Fixes shaders in D3D11 driver.
2020-10-01 00:19:11 +10:00
Connor McLaughlin
12382c057a (video/d3d11) Cache view left bound by hw renderers
Fixes garbage/black screen when menu is active.
2020-10-01 00:19:11 +10:00
twinaphex
0642ea6d5d Remove gfx_display_snow 2020-09-30 15:57:21 +02:00
twinaphex
0ec93e7fff (gfx_display) Cleanups 2020-09-28 07:22:52 +02:00
twinaphex
1e61480e0a Get rid of get/set_header_height 2020-09-28 05:06:02 +02:00
twinaphex
03ff504aa8 Remove gfx_display_scissor_end 2020-09-28 04:04:16 +02:00