Commit Graph

9527 Commits

Author SHA1 Message Date
twinaphex
1fda1e0b28 Revert "Cleanups"
This reverts commit a9c8cf205d.
2020-06-26 18:39:34 +02:00
twinaphex
a9c8cf205d Cleanups 2020-06-26 18:28:58 +02:00
twinaphex
02b542e2a5 Move static functions to top of files 2020-06-26 18:15:38 +02:00
twinaphex
601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
twinaphex
67898f5d12 (Font drivers) Simplifications 2020-06-24 21:27:47 +02:00
twinaphex
9cb4d924cb Revert "(drivers_font) Cut down on unnecessary strlen calls within a for loop"
This reverts commit 3e9d0b8758.
2020-06-24 21:09:44 +02:00
twinaphex
5fc63dc578 Cleanup 2020-06-24 21:07:35 +02:00
twinaphex
3e9d0b8758 (drivers_font) Cut down on unnecessary strlen calls within a for loop
- precompute once for function duration
2020-06-24 20:52:39 +02:00
valadaa48
f753efeaa7 oga_gfx: fix race condition with rgui callback
- oga_gfx_frame is sometimes called before set_texture_frame has been
called
2020-06-22 21:38:19 -04:00
Hugo Hromic
2e57a690ce (Win32/DispServer) Improve video resolution switching
* Only switch to a display mode with the same current bit-depth and screen rotation
* Only switch to a display mode with default stretching mode
* Cleanup the function for consistency with other functions
2020-06-21 23:49:26 +01:00
Hugo Hromic
9ec3a5ccad (Win32/DispServer) Improve building of video resolution list
* Only use display modes with the same current bit-depth and screen rotation
* Only use display modes with default stretching mode
* Cleanup the function for consistency with other functions
2020-06-21 23:49:11 +01:00
Jamiras
47dbaeabb8 gfx_widgets: move achievement popup widget into its own file 2020-06-17 10:48:01 -06:00
Autechre
5f8419b8d2
Merge pull request #10861 from Jamiras/gfx_threaded_msg
(widgets) prevent freeing message while it's being rendered
2020-06-16 22:18:48 +02:00
Jamiras
42e2d740d3 add lock around current_msgs 2020-06-16 07:27:15 -06:00
Jamiras
649f83c82e load badge texture outside of lock 2020-06-15 10:48:02 -06:00
valadaa48
69e2bd986d oga_gfx 24bit menu support
- hack borrowed from drm_gfx
2020-06-14 03:54:36 +00:00
twinaphex
01bd76405f Buildfixes 2020-06-13 08:37:26 +02:00
twinaphex
d903d684a0 (glslang) Group together more strings 2020-06-12 05:24:34 +02:00
twinaphex
c2044beedd Fix shader regression with MinProgramTexelOffset 2020-06-12 05:18:38 +02:00
twinaphex
d8cf551608 Silence 'suggest braces around initialization of subobject' warning 2020-06-11 17:38:11 +02:00
twinaphex
7ee5ffcd1c Further optimize SlangProcess 2020-06-11 05:51:03 +02:00
twinaphex
a68b942d1d Refactor AI Service code 2020-06-11 03:27:01 +02:00
twinaphex
bc24092374 (VIDEOCRT SWITCH) move global state to rarch_state 2020-06-10 17:42:08 +02:00
twinaphex
e04bce7dd0 Move gfx_thumbnail global state to rarch_state 2020-06-10 17:22:02 +02:00
twinaphex
b2f5262a3b crt_first_run and crt_video_restore were both useless 2020-06-10 15:50:29 +02:00
Autechre
02ca1a1f01
Merge pull request #10829 from valadaa48/oga_gfx_ffwd
Add ffwd to non-threaded oga_gfx driver
2020-06-10 15:05:04 +02:00
jdgleaver
9bbc9dd30e (Widgets) Fix serious heap-use-after-free errors 2020-06-10 12:32:50 +01:00
valadaa48
3abcb2b922 Add ffwd to non-threaded oga_gfx driver 2020-06-09 20:24:28 -04:00
jdgleaver
1fde6f8aed Fix 3DS build 2020-06-09 10:57:00 +01:00
Themaister
f089e1ccf5 Vulkan: Do not emulate mailbox on Android. 2020-06-09 00:24:29 +02:00
Themaister
cd4f22c275 Vulkan: Add path which uses WSI acquire semaphores.
Fence wait path has some issues on certain platforms. For now, gate this
on whether the GPU is integrated or not.
2020-06-09 00:24:29 +02:00
Themaister
15df55d011 Vulkan: Refactor swapchain index and frame index.
Do not tie these concepts together, it will not work for upcoming
refactor of swapchain logic.
2020-06-09 00:24:29 +02:00
Themaister
6f68571805 Vulkan: Use VK_LAYER_KHRONOS_validation in VULKAN_DEBUG=1.
LUNARG_standard_validation was deprecated and removed ages ago.
2020-06-09 00:24:28 +02:00
twinaphex
5a690b7ac8 (display widgets) Cleanups 2020-06-09 00:13:34 +02:00
twinaphex
52050739a1 Cleanups 2020-06-08 23:13:29 +02:00
twinaphex
b183abbb0f More string_is_equal optimizations; localize more strings 2020-06-08 22:46:56 +02:00
twinaphex
6fce0435a1 Update more logs 2020-06-08 18:04:29 +02:00
twinaphex
be886bf2aa Update log message 2020-06-08 18:01:15 +02:00
twinaphex
fc491e9ea4 Add more environ logs 2020-06-08 17:32:36 +02:00
jdgleaver
0c7f0df41a Fix crash when taking screenshots with widgets enabled 2020-06-08 12:41:22 +01:00
twinaphex
58b22b0a6e Optimize some long iterations of string_is_equal 2020-06-08 07:00:22 +02:00
twinaphex
8ba8772edb Cleanups 2020-06-08 05:57:47 +02:00
twinaphex
a87d15e361 Cleanups 2020-06-08 05:52:25 +02:00
twinaphex
2660182d52 Get rid of gfx_widgets_ready call inside
gfx_widgets_frame
2020-06-08 05:45:15 +02:00
twinaphex
5c2a2ca485 Move widgets state over to retroarch global state 2020-06-08 05:09:42 +02:00
twinaphex
57c3b1b041 Move widgets_persisting to retroarch.c 2020-06-08 04:36:40 +02:00
twinaphex
73b5bf438b Move widgets_active to retroarch.c 2020-06-08 04:32:54 +02:00
twinaphex
d9565b6619 Cut down on unnecessary widgets_active early returns 2020-06-08 04:17:33 +02:00
twinaphex
d6229ed70d gfx_widgets_deinit - turn return value into bool 2020-06-08 04:12:15 +02:00
twinaphex
9707f1f622 Get rid of gfx_ctx_animation_tag 2020-06-08 04:09:12 +02:00