Commit Graph

9820 Commits

Author SHA1 Message Date
twinaphex 4009919eca (Wayland) Fix code duplication 2020-07-14 16:14:47 +02:00
twinaphex 3cb1b7b4bb (Wayland) Move more code 2020-07-14 16:09:13 +02:00
twinaphex 646d627a6c Move more Wayland code 2020-07-14 16:04:10 +02:00
twinaphex 1f4a27abba Split up wayland code 2020-07-14 15:56:52 +02:00
twinaphex 88f742894d Move wayland header to input/common 2020-07-14 14:32:37 +02:00
twinaphex ed9d40caa2 (DRM) Cleanups 2020-07-13 20:24:14 +02:00
twinaphex 0a492a49be (Vulkan) Fix regression 2020-07-13 15:22:27 +02:00
Bernhard Schelling 2226226663 Add missing header (for non griffin builds) 2020-07-11 23:02:18 +09:00
twinaphex 46fd40b574 Use std::string concatenation instead of std::ostringstream 2020-07-11 08:24:13 +02:00
twinaphex 39d3dd4b3c Revert vulkan_framebuffer_generate_mips 2020-07-10 11:20:50 +02:00
Francisco José García García dc01bf8d46 [Vita][GL] Fix returning to menu and clear for fake hw render 2020-07-09 18:49:22 +02:00
Bernhard Schelling e0a9ded6a3 Fix invalid calls to dinput_handle_message when input driver is not set to dinput 2020-07-09 22:32:43 +09:00
twinaphex 4c5f4b244a (Sixel) Buildfixes 2020-07-09 15:07:06 +02:00
jdgleaver 506aa0a36c Add optional widget-based 'load content' launch feedback animation 2020-07-09 13:05:28 +01:00
twinaphex 3fd7338df1 Cleanups 2020-07-09 10:36:49 +02:00
twinaphex d0736a1797 (MSVC) Buildfixes 2020-07-09 10:20:27 +02:00
twinaphex 77d630a0a5 (GDI) Only render framebuffer texture when menu is enabled 2020-07-09 09:40:13 +02:00
twinaphex 35762e07cb (GDI) Get rid of memory allocation per frame 2020-07-09 09:34:06 +02:00
twinaphex f56b6a3a0f (GDI) Merge gdi_ctx.c into gdi_gfx.c 2020-07-09 09:25:10 +02:00
twinaphex d81f426060 Cleanups 2020-07-09 08:17:50 +02:00
twinaphex 255332c989 Remove sixel_ctx.c 2020-07-09 08:12:47 +02:00
twinaphex 6b466c6013 Cleanups 2020-07-09 07:46:40 +02:00
twinaphex f6c4890063 Get rid of cb_set_resize 2020-07-09 05:36:29 +02:00
twinaphex e10f4eed8d (Vulkan) Cleanups 2020-07-09 03:48:42 +02:00
twinaphex 9a148f6d48 Cleanups 2020-07-09 03:11:11 +02:00
twinaphex b0157cd47d CLeanups 2020-07-09 03:00:55 +02:00
twinaphex 364ee31712 (sixel) Simplifications 2020-07-09 02:55:25 +02:00
twinaphex 298413dce8 Cleanups 2020-07-09 00:33:19 +02:00
twinaphex e48ffd14cd Cleanups 2020-07-09 00:24:09 +02:00
HyperspaceMadness 5ceb30fc1b Changed SLANG_NUM_BINDINGS to 16 for D3D11 Fix 2020-07-08 12:06:59 -04:00
twinaphex b94a3928e4 (MSVC) Buildfix 2020-07-07 21:04:45 +02:00
Yoshi Sugawara 82d6d8e876 add the metal view to the view controller view after initializing the metal view for iOS 2020-07-07 08:19:46 -10:00
Yoshi Sugawara 6308ba1acb support ApplePlatform for iOS and conform app delegate class to it, move app delegate class to apple_platform.h, fix metal references for iOS 2020-07-07 05:03:42 -10:00
Autechre 6df4e7778f
Merge pull request #10973 from HyperspaceMadness/master
Increased Slang Max Params, Textures & Passes
2020-07-07 12:07:00 +02:00
twinaphex 2401f116ee Revert "Add 7:3 aspect ratio"
This reverts commit 40a11e9407.
2020-07-07 11:44:57 +02:00
twinaphex 0a1942f528 Turn fifo_read_avail and fifo_write_avail into macros 2020-07-07 08:13:32 +02:00
twinaphex 00518d3470 Add TODO/FIXME notes 2020-07-07 03:02:55 +02:00
twinaphex da0e87cc63 Add comment 2020-07-07 00:07:38 +02:00
twinaphex 6088c3b301 (win32 display server) Turn function static 2020-07-07 00:06:46 +02:00
HyperspaceMadness 7c6bb925c4 Increased Slang Max Params, Textures & Passes 2020-07-05 13:45:58 -04:00
Autechre 22e6bf8bae
Merge pull request #10971 from Jamiras/gfx_widgets_achievements
pass correct userdata object to gfx_display functions
2020-07-05 16:37:55 +02:00
Jamiras 00fad3c6d0 pass correct userdata object to gfx_display functions 2020-07-05 07:49:44 -06:00
Connor McLaughlin 7b7cffd545 (Vulkan) Fix incorrect structure type in vulkan_create_buffer 2020-07-05 22:36:58 +10:00
twinaphex 40a11e9407 Add 7:3 aspect ratio 2020-07-05 09:23:32 +02:00
twinaphex 85d3a3723e (Vulkan) VULKAN_TRANSFER_IMAGE_OWNERSHIP - reuse existing macro 2020-07-03 18:05:40 +02:00
twinaphex 09180e64b5 Start unifying more macros 2020-07-03 18:00:40 +02:00
twinaphex a7a74a1d92 Cleanup 2020-07-03 17:51:07 +02:00
twinaphex 276e86a403 (Vulkan) Turn some of these functions into macros 2020-07-03 17:48:46 +02:00
twinaphex 25f682249f (Vulkan) Turn vulkan_image_layout_transition into macro 2020-07-03 08:45:53 +02:00
twinaphex 7a22eb1f44 Turn vulkan_image_layout_transition_levels into macro 2020-07-03 08:32:33 +02:00
twinaphex 108dc26c86 (MSVC 2010) Buildfix 2020-07-03 08:04:15 +02:00
twinaphex d9b4b44091 (Winraw) Cleanups 2020-07-02 07:07:42 +02:00
twinaphex a3c687f0a6 Add HAVE_WINRAWINPUT 2020-07-02 06:43:36 +02:00
Autechre 043a60633f
Merge pull request #10951 from fjtrujy/salamanderPS2
WIP: PS2 Salamander and multi-core
2020-07-01 21:18:53 +02:00
twinaphex 87b9c2a367 Add HAVE_REWIND switch 2020-07-01 21:04:05 +02:00
twinaphex 7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00
Francisco Javier Trujillo Mata 9d2a1b5ac4 Improve dist scripts
Improve cores folder
Improve WaitTillDeviceIsReady
Now every single driver, init and deinit the IRX binaries
Improve platform PS2
Make salamander to open proper elf
2020-07-01 17:07:53 +02:00
jdgleaver c48c26aff6 Add 'progress message' widget (for 'RETRO_MESSAGE_TYPE_PROGRESS' core messages) 2020-06-30 17:15:36 +01:00
twinaphex 6fcb97ee53 Some buildfixes 2020-06-30 08:37:41 +02:00
twinaphex 120afe5d21 (Vulkan) return early/error out if no context driver is found 2020-06-30 01:33:19 +02:00
twinaphex 9474f6b299 Silence another static code analysis warning 2020-06-29 23:03:26 +02:00
twinaphex 5d0b01ea07 (drivers_font) Cleanups 2020-06-29 22:14:15 +02:00
twinaphex 6ada72e09d (gl_raster_font) Try to prevent NULL pointer dereferences 2020-06-29 22:06:50 +02:00
twinaphex 968922e151 Fix static code analysis warnings 2020-06-29 21:24:32 +02:00
twinaphex f83f0b2d44 Fix static code analysis warnings 2020-06-29 20:27:34 +02:00
twinaphex cf1eb2e989 Silence more warnings 2020-06-29 20:17:54 +02:00
twinaphex cf92d8fddb (gl.c) Prevent static code analysis warnings 2020-06-29 19:40:17 +02:00
twinaphex e58f91406f (video_filter.c) Cleanups 2020-06-29 19:32:54 +02:00
twinaphex 479058d1a3 Prevent implicit memsets 2020-06-29 16:42:51 +02:00
twinaphex fe14bc6e07 (core_info.c) Get rid of calloc 2020-06-29 03:46:27 +02:00
twinaphex 570f6ffb87 vulkan_copy_staging_to_dynamic - avoid memset 2020-06-29 00:14:50 +02:00
twinaphex 1b3826b348 (Vulkan) Avoid some unnecessary memsets 2020-06-29 00:02:45 +02:00
twinaphex 26969dd4e1 (Vulkan) Avoid callocs and memsets 2020-06-28 23:56:33 +02:00
twinaphex b2dbbeb386 (glslang_util_cxx.cpp) Use string_starts_with_size 2020-06-28 21:53:28 +02:00
twinaphex fe8a191012 (glslang_util_cxx.cpp) Use string_starts_with 2020-06-28 21:46:08 +02:00
twinaphex c600fbc6ff Cleanups 2020-06-28 21:33:07 +02:00
twinaphex 37bfbed3f5 (Vulkan) Cleanups 2020-06-28 21:20:18 +02:00
twinaphex bc73a815b7 Prevent memsets for vk->tracker 2020-06-28 19:18:48 +02:00
twinaphex 9e65ab63fe (vulkan_common) Prevent memsets and implicit memsets 2020-06-28 18:45:46 +02:00
twinaphex 9684bde88a Cleanup vulkan_create_texture 2020-06-28 18:25:17 +02:00
twinaphex 503c8e089f (shader_vulkan) Cleanup 2020-06-28 01:17:36 +02:00
twinaphex c1f90e4c9a (Vulkan) Cleanups 2020-06-28 01:09:33 +02:00
twinaphex 128757554e (gfx/font_driver) Use malloc 2020-06-28 00:50:48 +02:00
twinaphex 776e95d4e1 (vulkan_common.c) Cleanups 2020-06-27 18:28:33 +02:00
twinaphex 72d1a313ae (vulkan_common.c) Cleanups 2020-06-27 18:17:33 +02:00
twinaphex 4bd8c2a7ff Avoid calloc where possible 2020-06-27 15:06:45 +02:00
twinaphex 1e67b4c04a (gx_widgets) Use malloc instead of calloc 2020-06-27 01:25:48 +02:00
twinaphex f420c2c843 Change menu_widget_msg_t to disp_widget_msg_t 2020-06-27 01:15:21 +02:00
twinaphex 035d7dad12 Go through utf8 to utf16 functions 2020-06-27 01:10:45 +02:00
twinaphex 1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex 808c00db41 (drivers_shader) Move static functions to top of files 2020-06-26 18:54:30 +02:00
twinaphex 80581f14a8 Revert "Revert "Cleanups""
This reverts commit 1fda1e0b28.
2020-06-26 18:44:38 +02:00
twinaphex 021625fd4a Revert "Move static functions to top of files"
This reverts commit 02b542e2a5.
2020-06-26 18:40:26 +02:00
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
twinaphex eb20c10713 Start getting rid of gfx_ctx_animation_tag - it's just a uintptr_t
typedef
2020-06-08 03:56:35 +02:00
twinaphex 573eddb5a4 (Metal) Always run this regardless 2020-06-08 03:28:32 +02:00
twinaphex 7f54f410f4 Remove pointer grabbing from get_msg_queue function 2020-06-08 03:11:59 +02:00
twinaphex 69bdf581f4 Change this back 2020-06-08 03:10:31 +02:00
twinaphex 876419294d (gfx widgets) Pass more state around 2020-06-08 02:54:01 +02:00
twinaphex 54372f2524 Pass state around to widget interface 2020-06-08 02:31:36 +02:00
twinaphex 77f5433f22 Create global wrapper function for state 2020-06-08 01:59:25 +02:00
twinaphex 9aa736b522 Move forward declarations up 2020-06-08 01:56:45 +02:00
twinaphex a2ea198fdd (gfx widgets) Pass pointer around more 2020-06-08 01:55:04 +02:00
twinaphex 3f163eaa8d Bring all graphics widget global state together under one struct 2020-06-08 01:41:21 +02:00
twinaphex dc217b313c Buildfix 2020-06-07 23:45:48 +02:00
twinaphex ddf45fdad2 (gfx widgets) Cleanups 2020-06-07 23:43:59 +02:00
twinaphex 4524ff7cd7 (Gfx widgets) Cleanups 2020-06-07 23:39:11 +02:00
twinaphex 797d3f871c (Gfx widgets) get rid of this early return - already done outside 2020-06-07 23:26:37 +02:00
twinaphex 6b5e9a3224 (gfx widgets) Cleanups 2020-06-07 23:17:37 +02:00
twinaphex ce02161255 Cleanups 2020-06-07 23:01:52 +02:00
twinaphex 5e2649a6f5 Move gfx_display global state to rarch state 2020-06-07 22:58:06 +02:00
Twinaphex df8df6c18b Fix EXC_BAD_ACCESS crash on RetroArch exit on OSX 2020-06-07 05:53:46 +02:00
Autechre eddcde84b6
Merge pull request #10802 from heuripedes/coz
Ozone improvement
2020-06-07 03:01:47 +02:00
twinaphex be76958070 Unneeded gdi_has_menu_frame 2020-06-07 02:56:56 +02:00
twinaphex b42897d0b6 (GDI) Weird code - clean this up 2020-06-07 02:55:51 +02:00
Higor Eurípedes 1f45018ee8 shader_glsl.c: Move buffer null pointer check in gl_glsl_set_coords()
`buffer` is initialized to a statically allocated variable and can only be NULL
when the allocation of a bigger buffer fails. When only the core frame is being
displayed, the buffer never points to the heap thanks to the small buffer
optimization.
2020-06-06 20:08:28 -03:00
twinaphex 9059b4962e Cleanups 2020-06-07 00:05:41 +02:00
Francisco José García García 13b5450ff9 [GL1] Initial changes for hw context without FBO 2020-06-03 20:48:16 +02:00
Guo Yunhe e9916df9d0 Change keys to upper case 2020-06-02 10:28:00 +03:00
Rinnegatamante 14a6c42e0d [VITA] Using a global to prevent erroneous vitaGL re-initializations. 2020-06-01 11:12:16 +02:00
Francisco José García García ec336442bd
Merge pull request #10749 from libretro/vitagl
VitaGL fixes
2020-05-31 17:14:23 +02:00
Francisco José García García f976078ef2 [VITA] GL fixes 2020-05-31 17:10:26 +02:00
nia ef0038de2a sdl_gl_ctx: advertise GLSL support 2020-05-29 18:03:25 +01:00
twinaphex 479a8a6e64 (PS2) Fix warning incompatible pointer type 2020-05-29 11:22:53 +02:00
twinaphex ec35ce7fdc Add TODO/FIXME notes 2020-05-29 10:23:48 +02:00
twinaphex 3ae7e9f8df Update TODO/FIXMEs 2020-05-29 06:20:16 +02:00
twinaphex a5ca6c24de Add more TODO/FIXMEs for globals 2020-05-29 06:17:39 +02:00
twinaphex 02bc3ee1e8 Buildfixes/cleanups 2020-05-26 21:34:05 +02:00
jdgleaver 23916f88c7 Extended core message interface - add concept of message 'type' 2020-05-26 10:03:25 +01:00
jdgleaver 18912ac23d Enable configuration of date seperator in clock and runtime 'last played' displays 2020-05-25 15:46:53 +01:00
twinaphex bc226305d7 (x11_common.c) Cleanup 2020-05-24 19:38:41 +02:00
twinaphex e030986837 Replace fprintfs with RARCH_LOG/RARCH_ERR 2020-05-24 19:29:55 +02:00
twinaphex cf1bc2634d Prevent doing unnecessary double strlen 2020-05-24 16:38:53 +02:00
twinaphex cebc01cb1e C89_BUILD buildfix 2020-05-24 06:54:42 +02:00
Autechre 2ac18a621a
Merge pull request #10697 from phcoder/x11
Improvements for XShm
2020-05-24 06:51:13 +02:00
Vladimir Serbinenko c9c2d8a0b6 xshm_gfx: Add missing casts 2020-05-24 06:34:59 +02:00
Vladimir Serbinenko 54a07eaa60 Move decarations to the start of function 2020-05-24 06:33:20 +02:00
Vladimir Serbinenko 3f5eb55405 Replace C++ commants with C89 ones 2020-05-24 06:32:36 +02:00
Vladimir Serbinenko 77829a8e5b Rename xshm to x11 as it can now work without shm
xshm was disabled, so no problem with config update
2020-05-24 05:11:53 +02:00
Vladimir Serbinenko 62bb1d4da4 xshm: Allow to operate without shm extension
In most cases it doesn't make a nice gameplay but is still useful for debugging
on remote system and xnest
2020-05-24 05:01:51 +02:00
twinaphex b5fe162c32 C89_BUILD fix 2020-05-24 03:52:23 +02:00
Vladimir Serbinenko c4b4961ed1 xshm: fix compatibility with x input 2020-05-24 03:52:13 +02:00
Vladimir Serbinenko cfe68a4c2d Fix crash in x11_display_server_get_screen_orientation 2020-05-24 03:38:24 +02:00
Higor Eurípedes 4ea0f232ef Use small buffer optimization in gfx_animation_ticker_smooth()
Like the previous commit, this one lowers the number of temporary allocations
while the menu is up.
2020-05-23 22:34:12 -03:00
Higor Eurípedes 0c9499a88e Implements small buffer optimization in font_driver_reshape_msg()
Use a stack-allocated 64 bytes long buffer to avoid so many temp heap
allocations when the menu is up. This size is more than enough store 75% of the
return values from msg_hash_to_str and 50% of the returned values from
msg_hash_get_help of any currently supported language (includes fallback to
English).

String size per type:
                     count       mean         std  ...   50%    75%    max
type                                               ...
msg_hash_get_help  83885.0  95.295476  106.331779  ...  54.0  103.0  842.0
msg_hash_to_str    83903.0  27.737959   33.389184  ...  19.0   31.0  440.0

string size per type and language:
                             count        mean         std  ...   50%    75%    max
type              language                                  ...
msg_hash_get_help 0         4415.0   89.922310   96.873902  ...  55.0  101.0  590.0
                  1         4415.0   97.555606  118.031412  ...  55.0  101.0  842.0
                  2         4415.0  118.459570  127.811760  ...  75.0  131.0  774.0
                  3         4415.0  111.978256  112.702991  ...  68.0  125.0  651.0
                  4         4415.0  106.040544  111.360658  ...  62.0  124.0  776.0
                  5         4415.0  100.129105  114.437432  ...  62.0  103.0  688.0
                  6         4415.0   32.987769   31.047851  ...  28.0   28.0  595.0
                  7         4415.0  109.366025  124.717259  ...  71.0  121.0  720.0
                  8         4415.0   98.023783  105.149942  ...  62.0  105.0  610.0
                  9         4415.0   93.834428  104.433820  ...  55.0  101.0  637.0
                  10        4415.0   93.657984   96.884429  ...  55.0  101.0  594.0
                  11        4415.0   93.452775  104.040553  ...  48.0  100.0  583.0
                  12        4415.0   89.729558  104.062959  ...  50.0  100.0  550.0
                  13        4415.0   91.462514   95.968107  ...  55.0  101.0  590.0
                  14        4415.0   92.062741   97.959207  ...  55.0  101.0  611.0
                  15        4415.0   92.597055   97.190835  ...  56.0  101.0  600.0
                  16        4415.0   92.088109   98.110738  ...  55.0  101.0  608.0
                  17        4415.0  102.483126  106.379639  ...  65.0  110.0  652.0
                  18        4415.0  104.782786  114.025678  ...  65.0  112.0  646.0
msg_hash_to_str   0         4415.0   24.591619   29.148312  ...  18.0   28.0  346.0
                  1         4416.0   31.247736   36.302532  ...  21.0   36.0  352.0
                  2         4416.0   31.853714   39.332395  ...  21.0   36.0  418.0
                  3         4416.0   28.270833   33.300996  ...  21.0   32.0  429.0
                  4         4416.0   27.139040   31.905206  ...  19.0   31.0  346.0
                  5         4416.0   27.380435   32.314188  ...  19.0   31.0  346.0
                  6         4416.0   25.028080   29.188490  ...  19.0   28.0  346.0
                  7         4416.0   29.660553   35.283592  ...  21.0   33.0  393.0
                  8         4416.0   27.685915   32.707466  ...  20.0   31.0  346.0
                  9         4416.0   34.786685   43.587766  ...  21.0   39.0  414.0
                  10        4416.0   28.769928   34.428596  ...  20.0   32.0  440.0
                  11        4416.0   24.407609   28.690934  ...  18.0   27.0  346.0
                  12        4416.0   23.970788   27.075638  ...  18.0   28.0  346.0
                  13        4416.0   24.587636   29.146213  ...  18.0   28.0  346.0
                  14        4416.0   27.642889   33.300451  ...  20.0   31.0  346.0
                  15        4416.0   25.036005   29.159115  ...  18.0   28.0  346.0
                  16        4416.0   24.732111   29.134002  ...  18.0   28.0  346.0
                  17        4416.0   32.068161   38.807095  ...  21.0   36.0  407.0
                  18        4416.0   28.160779   34.013300  ...  20.0   31.0  432.0
2020-05-23 22:33:45 -03:00
twinaphex 3a057d594b MSVC2003 buildfix 2020-05-24 00:05:14 +02:00
Autechre 942d82593b
Merge pull request #10691 from phcoder/rbxv
Fix xvideo support on xwayland and input in general
2020-05-23 05:47:57 +02:00
Vladimir Serbinenko a86e8e0f36 Support YV12
Only I420 and YZ12 are available on xwayland. Support it
2020-05-23 05:39:18 +02:00
Vladimir Serbinenko 9c4fde00ce xvideo: Fix order of context init
Current order causes an error in x11_input init and hence keyboard
doesn't work
2020-05-23 04:36:53 +02:00
twinaphex 6408da2ae4 Silence warnings 2020-05-23 03:19:25 +02:00
twinaphex d717f3537a Update sdl2_gfx.c 2020-05-22 22:58:41 +02:00
barbudreadmon 2052f1595c
(vita) try at fixing upside-down vertical games
it is a blind commit, i don't have access to the hardware, see #6859 for more explanations
2020-05-22 12:02:19 +02:00
twinaphex 6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
Twinaphex ede03659ca Update 2020-05-21 22:31:51 +02:00
twinaphex a9cf718e75 Get rid of auto variable in glslang.cpp 2020-05-21 20:04:36 +02:00
twinaphex 060ad38905 (WiiU) Buildfix 2020-05-20 23:34:23 +02:00
Francisco Javier Trujillo Mata 1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
twinaphex a8fdfd77ce Make gamma correction 'int' type across the board 2020-05-20 15:04:16 +02:00
twinaphex 2cc776d2d9 Cleanups 2020-05-20 02:42:39 +02:00
twinaphex 2a36fa0855 Remove double ';' 2020-05-19 21:29:35 +02:00
twinaphex ad1aa59ce1 Cleanup != NULL comparisons 2020-05-19 21:15:06 +02:00
twinaphex 9ace693ec0 Refactor menu_driver_frame 2020-05-19 16:20:43 +02:00
jdgleaver 5eee8daa4f (gfx_thumbnail) Fix heap-use-after-free error 2020-05-19 14:03:02 +01:00
twinaphex 1d1c7e5a0d (PSL1GHT/GCM) Style nits 2020-05-12 15:10:15 +02:00
twinaphex bde18ba86a Style nits 2020-05-12 14:36:27 +02:00
twinaphex 57bbf7c944 (gfx widgets) Rearrange variables 2020-05-12 08:56:57 +02:00
twinaphex 84369cf6ba (Win32) Cleanups 2020-05-12 08:49:41 +02:00
Vladimir Serbinenko 05500c6c39 dos: Add 32-bit gfx support 2020-05-12 03:09:38 +02:00
Vladimir Serbinenko 67c3c93aec dos fixes 2020-05-12 03:09:38 +02:00
Vladimir Serbinenko cc73de48d6 Fix dos compilation 2020-05-12 03:09:38 +02:00
jdgleaver 63644ac761 (GLUI) Add desktop-style playlist view mode 2020-05-09 14:53:52 +01:00
jdgleaver a305a48a11 (3DS) Fix font driver 2020-05-04 16:57:44 +01:00
jdgleaver 548c5dc925 (glcore/slang) Set filter and wrap mode correctly when intialising shader textures 2020-04-30 17:04:02 +01:00
twinaphex d995fa045a (GDI) Get rid of unused functions 2020-04-29 18:40:48 +02:00
twinaphex bb27496e2e Prevent NULL pointer dereference 2020-04-29 14:38:11 +02:00
twinaphex 9b8c596057 (GL Core) Buildfix for video context drivers that dont
implement this callback
2020-04-29 13:50:21 +02:00
jdgleaver 9eb8472805 Only write config files to disk when parameters change 2020-04-27 17:06:35 +01:00
twinaphex c88ffa56ff (Vulkan) Fix crash 2020-04-25 17:44:13 +02:00
jdgleaver 0e3026d41f (Vulkan) Fix display of statistics text 2020-04-23 17:48:15 +01:00
Autechre 21f15d5cbd
Merge pull request #10490 from phcoder/msb
Remove manual MSB_FIRST definitions and switch to retro_endianness.h
2020-04-22 21:16:45 +02:00
Ash Logan ed24d05752 WiiU: gfx_display: fix non-vertex coordinates in draws using tex shader
This second case is hit when there's a quad with different-coloured 
corners, since the tex shader is needed to support that. In the quad 
case, there are no vertexes, and the ->x,y,width,height fields are used 
instead.

Fixes #8519.
2020-04-22 23:35:46 +10:00
Vladimir Serbinenko 1fcdddf579 Remove manual MSB_FIRST definitions and switch to retro_endianness.h 2020-04-21 04:16:55 +02:00
jdgleaver 6c49ae5152 (WiiU/3DS) Fix font driver horizontal text alignment 2020-04-20 16:20:21 +01:00
twinaphex 9f3a2db44e Merge branch 'master' of https://github.com/libretro/RetroArch 2020-04-17 16:24:39 +02:00
valadaa48 587a425f77 oga_gfx: move non-inlined function out of loop 2020-04-11 02:30:39 +00:00
jdgleaver f559798750 Widget text improvements 2020-04-06 11:39:30 +01:00
twinaphex e88568625c Merge branch 'master' of https://github.com/libretro/RetroArch 2020-04-06 01:04:23 +02:00
Olivier PARRA 5813228c6c [FIXES]GPU capture on Metal/OSX/NVidia
[FIX]RetroArch CRASH on Metal internal assert
_validateGetBytes:39: failed assertion `texture must not be a
framebufferOnly texture.' GPU Capture were done on a
framebufferOnly texture. Fix it by setting framebufferOnly
CAMetalLayer property to NO. Subsequent MTLTexture inherits from
this property.

[FIX]Capture black frames. Resulting PNG screenshots were black.
Since GPU texture where not sync with CPU,
getBytes:bytesPerRow:fromRegion:mipmapLevel: behavior is undefined
Fix it by adding synchronizeResource command to blitCommandEncoder
In order to keep performances, syncing is done ONLY when a GPU
Capture is requested.

[FIX]Corrupted image due to incorrect viewport copy
Modify code in charge of copying MTLTexture bytes to 24bits PNG
buffer.
2020-04-02 23:01:48 +02:00
twinaphex a9154373fc Merge branch 'master' of https://github.com/libretro/RetroArch 2020-04-02 02:13:12 +02:00
Autechre e80fb4f386
Merge pull request #10375 from jdgleaver/font-fixes
Enable correct vertical alignment of text (+ font rendering fixes)
2020-04-01 20:59:51 +02:00
Twinaphex 8292f31ea0 Fix unused variable warning 2020-04-01 20:43:03 +02:00
Twinaphex d0a9de01a3 (GL) Fix unused variable setting 2020-04-01 20:41:38 +02:00
jdgleaver 73bcd7a692 Enable correct vertical alignment of text (+ font rendering fixes) 2020-03-31 16:55:22 +01:00
Vladimir Serbinenko 2fb7ba22e5 PSL1GHT port
Working:

* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video

Not working:

* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse

Not tested:

* A lot
2020-03-30 05:39:22 +02:00
twinaphex 92c472c227 Merge branch 'master' of https://github.com/libretro/RetroArch 2020-03-29 06:01:31 +02:00
Autechre 15c661a374
Merge pull request #10262 from valadaa48/odroidgo2_drm_ctx_hw_scaling
Add drm_go2_ctx for odroidgo2
2020-03-29 04:40:57 +02:00
valadaa48 2d2bd625c6 Register signal handler for oga video driver 2020-03-28 04:54:33 +00:00
twinaphex 19c68fad43 Take out cb_update_window_title and cb_get_metrics 2020-03-28 05:36:31 +01:00
valadaa48 6e4228b054 Add drm_go2_ctx for odroidgo2
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.

Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
twinaphex 5972ed9cc6 (gfx_widgets) Cleanups 2020-03-28 03:53:51 +01:00
twinaphex 2dc0fdcfee (gfx drivers_display) Cleanups 2020-03-28 03:47:05 +01:00