Commit Graph

10321 Commits

Author SHA1 Message Date
Dwedit 34a31f8a1c ui_win32_application.c: Add support for accelerators to main win32 message loop
rarch.rc: Add accelerators for Open (Ctrl+O) and Fullscreen (Alt+Enter)
ui_win32_resource.h: Add accelerator resource ID definition
win32_common.c: Load accelerators, Localize Win32 menu items to current language, and display shortcut keys
2020-12-28 16:39:39 -05:00
twinaphex 357b7d68f6 (libretro-common) Rename rhash to lrc_hash
(rcheevos) Rename rhash to rc_hash
2020-12-28 19:55:54 +01:00
HyperspaceMadness f86dbfc5a2 Shaders Fix Referencing issue in QT 2020-12-27 20:32:43 -05:00
twinaphex 9ddc39af59 Buildfix 2020-12-27 20:01:41 +01:00
twinaphex b1af12efc9 Add more PSL1GHT ifdefs 2020-12-27 18:56:00 +01:00
Remi McGill 0c504906cb Shaders - Fixed a Reference Pathing Issue on QT 2020-12-27 12:47:47 -05:00
twinaphex c3ba223fe2 Do away with objc_msgSend calls 2020-12-27 17:31:57 +01:00
HyperspaceMadness 0c526b6498 Shaders Load Refactor and Fix Referenced Texture Loading
Partial update to work with shaders directly

More Edits

More changes

more shader fixes

More Fixes Compiling, reference load still wrong

Added Feedback & things are working

Logging Fixes

Log Fix

More Fixes

Added Feedback Logging

Fixes for file pathing in Linux

Fix GLCore and Crash in QT Saving

Code Cleanup

Removed Unused Function filepath.c

Code Cleanup
2020-12-26 21:09:27 -05:00
Aaron Kling 57e3ab71d9 android: retro_sleep build fix 2020-12-22 17:29:26 -06:00
twinaphex 7dcfd7a038 retro_sleep buildfix 2020-12-21 21:11:59 +01:00
twinaphex 627b668da8 Another buildfix for retro_sleep 2020-12-21 21:06:54 +01:00
twinaphex 16bb56b7a2 Update 2020-12-21 21:04:31 +01:00
twinaphex 8df5fe2a60 CLeanup 2020-12-20 16:48:52 +01:00
aliaspider 16f997172f (D3D12) allocate rt_view descriptors for feedback render targets too. 2020-12-20 08:08:04 +01:00
aliaspider bf2adda421 (D3D12) move D3D12SignalCommandQueue to d3d12_gfx_sync. 2020-12-20 07:13:11 +01:00
aliaspider 1681322ffc (D3D12) fix the D3D12GetCompletedValue function wrapper.
- a function wrapper shouldn't contain any NULL checks, and it should
return the original UINT64 value, not a boolean.
2020-12-20 07:08:33 +01:00
twinaphex 870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
twinaphex 7d313647ae (D3D11) Add flip model support - fallback to blit model for OSes
where flip model is not supported (windows 7 and earlier). Will add
a menu option later allowing the user to switch inbetween the two
2020-12-17 14:39:58 +01:00
twinaphex d6a0bdaa30 (D3D12) Increase this to 2048 - avoids D3D12 crash on startup 2020-12-17 09:41:05 +01:00
twinaphex 38ce3927ae (D3D10/11/12) Increase sprite capacity, we need this so that
the hardware rendered menu drivers don't glitch out
2020-12-17 08:31:06 +01:00
twinaphex 2a8024a71b (D3D10) Cleanups - create init_swapchain function 2020-12-15 23:05:58 +01:00
twinaphex 093dc30ffd Refactor d3d11_init_swapchain some more 2020-12-15 22:56:29 +01:00
twinaphex a1fd1d425c (D3D11) Split init swapchain code up into own function 2020-12-15 08:19:04 +01:00
twinaphex ad2502b645 (D3D11) Change this back 2020-12-15 08:09:48 +01:00
twinaphex 2d588ca4ef Simplify vulkan_create_texture 2020-12-15 08:00:22 +01:00
twinaphex d55ca599e0 Replace with macros 2020-12-15 07:28:39 +01:00
twinaphex cdca5d0afc Turn vulkan_copy_staging_to_dynamic into macro 2020-12-15 07:20:33 +01:00
twinaphex d70420a12d vulkan_copy_staging_to_dynamic - put sync texture to GPU
outside of the function
2020-12-15 07:01:00 +01:00
twinaphex 6b38a7916a (Vulkan) Simplify code 2020-12-15 06:19:48 +01:00
valadaa48 bbb9c1d248 oga_gfx: implement RETRO_ENVIRONMENT_GET_CURRENT_SOFTWARE_FRAMEBUFFER 2020-12-13 21:16:11 -05:00
jdgleaver 74fff8dc62 (RGUI) Add support for CJK punctuation glyphs 2020-12-13 12:34:53 +00:00
Autechre 71ed4db45a
Merge pull request #11681 from crystalct/master
Fix multipass shaders on PS3 - fix #11673
2020-12-11 20:18:35 +01:00
jdgleaver f657344d85 (OpenDingux/sdl_dingux_gfx) OSD font clean-up 2020-12-11 17:33:41 +00:00
unknown 96a7db2451 Fix multipass shaders on PS3 2020-12-11 18:22:27 +01:00
jdgleaver 0f0ccbadc0 (RGUI) Add support for CJK fonts 2020-12-10 15:17:26 +00:00
twinaphex 625f0d4fc6 Improve conditional 2020-12-05 04:54:22 +01:00
twinaphex 9688554921 (D3D11) Use SWAP_EFFECT_*_DISCARD from now on fallback PC codepath 2020-12-05 04:48:11 +01:00
HyperspaceMadness e98a8ce591 Shaders Fix Crash change num shader passes in UI 2020-11-30 19:30:15 -05:00
HyperspaceMadness 06e32982db Shaders_SaveAs_Fix_And_Better_Reference_Handling 2020-11-29 19:16:38 -05:00
Autechre 1cbc26ac9e
Merge pull request #11614 from HyperspaceMadness/Shader_Multi-Level_Referenced_Presets
Shader_Multi-Level_Referenced_Presets
2020-11-25 15:47:31 +01:00
Autechre debb9c6b0a
Merge pull request #11622 from Jamiras/cheevos_lboard_spacing
(cheevos) calculate leaderboard widget spacing based on video resolution
2020-11-24 20:50:20 +01:00
Jamiras e6a7961dd5 calculate spacing based on video resolution 2020-11-24 07:42:50 -07:00
Conrad Kreyling 9cfe50ddd3
Fix missing division sign in sunxi_gfx.c
Same fix as 71c031099b for the same problem, just in a different file.
2020-11-23 13:31:16 -05:00
HyperspaceMadness f0c4343cb9 Removed extra printf left behind 2020-11-22 19:39:34 -05:00
HyperspaceMadness abb2d06ce9 Shader_Multi-Level_Referenced_Presets 2020-11-22 19:10:08 -05:00
HyperspaceMadness 35b49f3b82 Shader_Increase_Max_Textures_Line 2020-11-22 09:50:24 -05:00
jdgleaver c2f1b9f336 Add Upscale1.5x video filter 2020-11-20 15:22:09 +00:00
Autechre fbd04ea76e
Merge pull request #11590 from Cpasjuste/crt_switch_timings
(KMS/DRM) add support for custom hdmi_timings / modes
2020-11-19 13:45:15 +01:00
cpasjuste e31182b005 (KMS/DRM) cleanup custom video mode loading (crt_switch_timings) 2020-11-19 10:21:18 +01:00
Autechre 3f1d25f1f7
Merge pull request #11576 from HyperspaceMadness/Shader_Preset_Remove_parameters_line
Shader_Preset_Remove_parameters_line
2020-11-19 07:18:49 +01:00
cpasjuste 485513ba61 (KMS/DRM) correctly handle custom modes polarity, implement aspect ratio support from hdmi_timings 2020-11-18 15:21:03 +01:00
cpasjuste 0082806620 (KMS/DRM) add support for custom modes from hdmi timings 2020-11-18 11:34:44 +01:00
aliaspider c6b77f6c62 (D3D11) get the hwrender texture format from the view desc
the format set in the texture desc isn't necessarily the same as the
view format.
2020-11-15 15:07:53 +01:00
aliaspider b3134fc05a (D3D11) fix slang shaders 2020-11-15 13:04:24 +01:00
HyperspaceMadness deb8e2b88c Shader_Preset_Remove_parameters_line 2020-11-14 21:23:18 -05:00
aliaspider b7d3efc503 (D3D11) rename D3D11SetState to D3D11SetRasterizerState. 2020-11-14 04:29:44 +01:00
Rinnegatamante c04d9d62db Don't realloc video buffer when unnecessary. 2020-11-13 14:55:40 +01:00
Tony Jansson f497608055 (WINRAW) Keyboard mods fix 2020-11-13 04:25:07 +02:00
jdgleaver 5fb8861d34 Video filter optimisations 2020-11-11 17:00:09 +00:00
HyperspaceMadness 5008ac6eb0
Merge branch 'master' into Shader_Save_Load 2020-11-10 17:05:23 -05:00
Autechre 64ef2fb824
Merge pull request #11543 from sonninnos/dinput-modkeys
(DINPUT) Simultaneous shift sticky fix
2020-11-09 23:39:21 +01:00
Tony Jansson eca9c452d8 (DINPUT) Simultaneous shift sticky fix 2020-11-09 21:20:46 +02:00
jdgleaver cd1b2cea76 Add Normal4x video filter 2020-11-09 16:21:47 +00:00
HyperspaceMadness e6ee8818af Shaders_improve_message_for_textures_not_found 2020-11-08 12:21:09 -05:00
aliaspider c85e09ddad improve handling of arabic and persian text. 2020-11-08 04:47:08 +01:00
HyperspaceMadness a5e57aa74d Increase_Shader_Parameter_Count_to_512 2020-11-06 22:42:15 -05:00
HyperspaceMadness fd240f9a32 Shader Save Load Cleanup and UI Rename 2020-11-04 10:05:46 -05:00
HyperspaceMadness 1185df5f39 Shader Save & Load Fixes params not being loaded 2020-11-03 23:12:59 -05:00
HyperspaceMadness f6e35420bc Simple Shader Save Cleanup 2020-11-02 21:07:20 -05:00
HyperspaceMadness 70bf90c5d8 Shader_Preset_Simple_Save_Cleaned_2020_11_01 2020-11-01 09:18:40 -05:00
jdgleaver 3481437b29 OpenDingux: Fix frozen video when enabling fast forward 2020-10-29 15:50:12 +00:00
Autechre 8d0963735f
Merge pull request #11497 from justinweiss/3ds-rotation
[3DS] Allow sideways screen rotation
2020-10-29 04:55:52 +01:00
Justin Weiss 91c695ac52 [3DS] Allow sideways screen rotation 2020-10-27 21:13:19 -07:00
twinaphex 10f395df25 Silence warning 2020-10-28 02:22:02 +01:00
valadaa48 82ce3ae632 oga_gfx: use 32bit aligned surface and other cleanups 2020-10-23 23:34:31 -04:00
jdgleaver feb3bd0794 Refactor Scale2x video filter (crash fix + slight performance improvement) 2020-10-23 23:43:23 +01:00
twinaphex 2fb60e9510 Cleanup 2020-10-16 00:24:59 +02:00
twinaphex 5f8c270d4c Make update_time_callback a part of the animation struct 2020-10-15 08:35:37 +02:00
twinaphex e3972aff31 Turn variable const 2020-10-15 06:12:26 +02:00
twinaphex 44b7234756 Move cheat_manager and state_manager to root folder 2020-10-15 05:29:20 +02:00
Tony Jansson c2e8752395 (DINPUT+WINRAW) Keyboard fixes 2020-10-14 21:23:06 +03:00
twinaphex e8a7195a46 Rename gfx_timer_start to gfx_animation_timer_start 2020-10-14 07:26:24 +02:00
twinaphex 379bd80cda Get rid of gfx_animation_ctl 2020-10-14 04:40:20 +02:00
twinaphex fd17661e02 Cleanups 2020-10-14 04:15:42 +02:00
twinaphex b6039b1638 Cleanups 2020-10-14 04:05:32 +02:00
twinaphex 7c48e77bcd Get rid of getter functions 2020-10-14 02:33:15 +02:00
twinaphex ac03578617 Remove some getter functions 2020-10-14 02:24:18 +02:00
twinaphex 992e780407 Get rid of gx_timer_kill 2020-10-14 02:09:39 +02:00
twinaphex 6e09eada2d Cleanups 2020-10-14 01:02:22 +02:00
twinaphex 8802712ae7 Cleanups 2020-10-14 00:46:38 +02:00
Francisco José García García 085e592761 [VITA] Workaround: Increase memory threshold 2020-10-12 19:24:49 +02:00
jdgleaver 6094e2c32a OpenDingux: Ensure SDL surface width is a multiple of 16 when using 'sdl_dingux' gfx driver (crash/glitch fix) 2020-10-12 12:16:44 +01:00
twinaphex c01e8d52a5 Small cleanups to vulkan_create_texture 2020-10-12 01:53:21 +02:00
twinaphex a11a0eae77 (Vulkan) Style nits 2020-10-12 01:36:50 +02:00
twinaphex 5c76ccbe4a Cleanups 2020-10-12 01:26:51 +02:00
twinaphex 68e56a2345 Add warning to update_time_callback 2020-10-10 17:36:29 +02:00
valadaa48 c6aaa0076b drm_gfx: fix race condition in drm_surface_set_aspect 2020-10-10 00:04:09 -04:00
jdgleaver 54f2156954 Further video filter additions 2020-10-09 13:59:41 +01:00
jdgleaver 2dc837850f OpenDingux: Add 'sdl_dingux' input/joypad drivers and use by default 2020-10-08 13:26:45 +01:00
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
twinaphex d44ab6facf framebuffer_dirty functions - remove these and set member variables
directly in rgui.c and retroarch.c
2020-09-28 03:49:13 +02:00
twinaphex f38eb84cc7 Move gfx_display_draw_text to retroarch.c and get rid of
video_driver_set_osd_msg
2020-09-28 03:38:16 +02:00
twinaphex 9d6bfabd02 Move reset_list_buffer to gfx_widgets and turn it into a static function 2020-09-28 03:30:22 +02:00
twinaphex c744baeb89 Add ctype variants to stdstring and use it in RA 2020-09-27 22:15:32 +02:00
twinaphex e87b44a68c Remove stub functions in null display driver 2020-09-27 00:18:16 +02:00
twinaphex 7225170e97 Cleanups 2020-09-26 23:51:59 +02:00
twinaphex a56673e52d MSVC buildfix 2020-09-26 23:37:03 +02:00
twinaphex b830d15628 (drivers_display) Cleanups 2020-09-26 23:31:12 +02:00
twinaphex e1dbf5dab1 Remove drivers_display viewport - was unused 2020-09-26 22:01:23 +02:00
twinaphex fbe0924d44 Remove some stub functions 2020-09-26 21:40:16 +02:00
twinaphex e428166a05 Remove unused gfx_display_get_framebuffer_pitch 2020-09-26 20:04:55 +02:00
twinaphex f22488f620 gfx_display_coords_array_reset unused - remove 2020-09-26 20:03:20 +02:00
twinaphex 14c9ccfda8 Remove gfx_display_{set/get}_driver_id 2020-09-26 19:58:15 +02:00
jdgleaver 6c549d687c Gameboy/Dot_Matrix video filters: Add XRGB8888 support 2020-09-25 16:32:24 +01:00
jdgleaver b8fb26c196 Fix video filters for builds where both 'HAVE_DYLIB' and 'HAVE_FILTERS_BUILTIN' are defined 2020-09-25 10:51:46 +01:00
twinaphex bc43db1789 Remove gfx_display_get_coords_array 2020-09-25 10:31:07 +02:00
Autechre 7d8518ec45
Merge pull request #11373 from Jamiras/cheevos_lboard_display
(cheevos) add display widget for active leaderboards
2020-09-25 03:38:03 +02:00
Jamiras 71cd400e56 add display widget for active leaderboards 2020-09-24 11:29:29 -06:00
jdgleaver 3d4ddebcaf Add several LCD-effect video filters 2020-09-24 16:11:07 +01:00
Twinaphex e0d04c29bc Fix regression 2020-09-24 09:39:02 +02:00
twinaphex 8c440ef72c Optimize gfx_display_draw_keyboard 2020-09-24 09:07:47 +02:00
twinaphex eb0376fe7d Do white texture freeing outside of gfx_display_init_white_texture 2020-09-24 07:03:24 +02:00
twinaphex a74d24c3ce Rename gfx_display_allocate_white_texture to
gfx_display_init_white_texture
2020-09-24 06:46:21 +02:00
twinaphex 5f89551e54 Cleanups 2020-09-24 06:37:25 +02:00
twinaphex 515e119861 Get rid of gfx_animation_get_delta_time 2020-09-24 06:14:04 +02:00
twinaphex 2ab0300c33 gfx_display.c - can drop dependency now on gfx_animation.h 2020-09-24 06:00:32 +02:00
twinaphex 37237db804 GFX_DISPLAY_GET_UPDATE_PENDING - turn function into macro 2020-09-24 05:59:14 +02:00
twinaphex c040e4cd08 Cleanups 2020-09-23 22:14:30 +02:00
twinaphex 4fb2065061 Get rid of gfx_display_draw_pipeline 2020-09-23 21:56:48 +02:00
twinaphex 557b445b27 Cleanups 2020-09-23 21:44:23 +02:00
twinaphex 5a481d8653 Get rid of gfx_display_blend_{begin/end} 2020-09-23 21:37:18 +02:00
Autechre 7938a5e3ac
Merge pull request #11366 from sonninnos/vulkan-minimized-cpu
(Vulkan) Fix CPU usage when minimized
2020-09-23 17:22:07 +02:00
twinaphex 43b43351fa Start making gfx_display_blend_begin and gfx_display_blend_end
unnecessary
2020-09-23 09:32:42 +02:00
Tony Jansson a0eee521e3 (Vulkan) Fix CPU usage when minimized 2020-09-23 04:17:30 +03:00
Tony Jansson bb1c853ecd (Vulkan) Reduce log spam 2020-09-23 02:00:03 +03:00
twinaphex 77abaac79c Get rid of duplicate function gfx_display_draw_blend 2020-09-22 04:13:53 +02:00
twinaphex bde4abfe8b (Gfx display driver) Get rid of unused restore_clear_color/clear_color 2020-09-22 04:03:19 +02:00
twinaphex 02985900c8 Get rid of unused gfx_display_restore_clear_color 2020-09-22 03:56:02 +02:00
twinaphex 6bb3e37d53 Get rid of gfx_display_clear_color 2020-09-22 03:54:22 +02:00
twinaphex 97225bfe64 (gfx_display.c) Cleanups 2020-09-22 03:53:10 +02:00
twinaphex d898304ee5 Get rid of gfx_display_draw_gradient 2020-09-22 03:29:48 +02:00
twinaphex 065d781df7 (X11) Buildfix 2020-09-20 18:16:02 +02:00
twinaphex 5bd71497c5 (dispserv X11) Get rid of static global variables 2020-09-20 18:13:00 +02:00
twinaphex f1f66597a3 Cleanups 2020-09-20 17:57:44 +02:00
twinaphex 8eeb612493 Cleanups 2020-09-20 17:50:06 +02:00
twinaphex bdbfc80584 Cleanups 2020-09-20 03:06:23 +02:00
twinaphex 0e49f058f3 Use strcpy_literal in more places 2020-09-19 23:59:06 +02:00
twinaphex 1296fc4745 use strlcpy_literal for string literal copies 2020-09-19 23:28:01 +02:00
Autechre 7b600d46ad
Merge pull request #11342 from Ophidon/master
Variable BFI
2020-09-19 22:24:47 +02:00
Ophidon 05c5bdf587 C89 Compliance
For loop iterators updated for C89 compliance.
2020-09-19 13:28:21 -04:00
valadaa48 15708f5d44 oga_gfx: strlcpy, msg max len 128 + style nits 2020-09-19 11:23:59 -04:00
twinaphex ca9683d58d C89 fixes - use C style comments instead of C++, style nits 2020-09-19 14:47:40 +02:00
valadaa48 7015e199bb oga_gfx: rewrite
- Drop libgo2 dep
- Use more features of RGA
- Triple buffer instead of double buffer
- Rewrite of message code to support surface caching, transluceny,
  and multiline message support. Messages also don't scale with the
  emulation frame anymore and are drawn directly to the frame buffer.
- Better support for aspect ratios
2020-09-18 21:24:10 -04:00
Ophidon 2f36c94f3f Variable BFI
BFI support added for 180hz / 240hz / etc. Solves issue with image retention from voltage issues at 120hz BFI. Also disabled BFI while in menu, as if set to an incorrect value for the current refresh rate, could cause severe flickering and difficulty reverting to the correct value.
2020-09-18 11:57:32 -04:00
twinaphex c2cd39379a (gfx_widgets.c) Put FIFO queue on stack 2020-09-18 02:18:21 +02:00
Ben b33f0b9121 low resoluiton fis for RetroArch exit
On exit changes
2020-09-16 14:13:04 +01:00
Ben 17809688a6 Fix for low resoltion crash
256x240 resolutions and lower are now working
2020-09-16 14:07:15 +01:00
Ben 382044b5bf Low resolution switch bug fix
This allows resolutions lower that 32x224 like 256x224 to work
2020-09-16 13:49:34 +01:00
twinaphex 4e594c6437 Move win32_window_init outside of ui_win32.c and to gfx/common/win32_common.c 2020-09-16 10:29:50 +02:00
Twinaphex 62f4eae323 (Cocoa) Cleanups 2020-09-15 20:53:48 +02:00
twinaphex a49b81c161 Cleanup 2020-09-15 11:48:56 +02:00
twinaphex 26b2295759 (cocoa_gl_ctx.m) Style nits 2020-09-15 11:28:04 +02:00
twinaphex c436ac83cd Call gl2_set_viewport directly 2020-09-15 11:11:32 +02:00
twinaphex 3a37e13a54 Call video_driver_set_viewport directly 2020-09-15 11:05:47 +02:00
twinaphex c133c2a10c (Cocoa GL ctx) Add updateSel 2020-09-14 23:59:42 +02:00
Twinaphex 13e553a34b get_backing_scale_factor - use class_respondsToSelector 2020-09-14 21:27:22 +02:00
twinaphex fb6642192d Add TARGET_OS_OSX ifdef around this 2020-09-14 16:17:31 +02:00
Twinaphex 2bfadbdad5 (Apple CocoaGL) Call flushBuffer with msg_objcSend 2020-09-14 16:15:53 +02:00
twinaphex 5838817bbd Get rid of gfx_widgets_set_status_text 2020-09-14 14:11:44 +02:00
twinaphex 15ace7c0cb Fix C89_BUILD issue 2020-09-14 13:25:18 +02:00
twinaphex 11e65e20b7 Cleanup 2020-09-14 13:06:04 +02:00
twinaphex 19a380a328 Revert "(X11/dispserv) Cleanups"
This reverts commit 30cde1edfb.
2020-09-14 13:05:02 +02:00
twinaphex 30cde1edfb (X11/dispserv) Cleanups 2020-09-14 13:04:14 +02:00
twinaphex 1b61ef4a5a Cleanups 2020-09-14 12:59:32 +02:00
twinaphex 9bd1046538 (dispserv_x11.c) Buildfix 2020-09-14 12:57:34 +02:00
twinaphex 9cb8fb8de5 Include missing header 2020-09-14 12:54:15 +02:00
twinaphex 868ef85f5d (dispserv_x11.c) C89 nits/cleanups 2020-09-14 12:53:49 +02:00
Autechre b5c3d04c1f
Merge pull request #11323 from alphanu1/master
CRTSwitchRes improvements and Core Load Chrash Fix
2020-09-14 12:41:53 +02:00
alphanu1 cb404b676d
Fix seg faults 2020-09-11 18:54:17 +01:00
alphanu1 897ea6aff3
Fix for bad res name 2020-09-11 18:04:40 +01:00
alphanu1 7b2588c721
Fix mem compile errors 2020-09-11 17:31:17 +01:00
jdgleaver 55b6d8ba15 Miscellaneous overlay fixes 2020-09-11 17:00:44 +01:00
alphanu1 d7d03a8759
Clean up resources to reduce memory leaks 2020-09-11 16:59:38 +01:00
alphanu1 afc3badd72
Fixed Crash On Core Load 2020-09-11 16:30:43 +01:00
alphanu1 dc19dd3db4
Closing XDisp to reduce mem leaks 2020-09-11 16:17:46 +01:00
alphanu1 877408adda
Fixed Missing Variable 2020-09-11 15:57:56 +01:00
alphanu1 e5b4fb4c7c
CRTSwitchRes improvements and Core Load Chrash Fix 2020-09-11 15:39:05 +01:00
Autechre daf6843cd3
Revert "CRTSwitchRes Improvements (removal of system calls)" 2020-09-11 15:15:07 +02:00
twinaphex a21d09addc Revert "(dispserv_x11.c) Cleanups"
This reverts commit e27b314afb.
2020-09-11 15:14:22 +02:00
twinaphex 6fd1485c34 Revert "Turn g_monitor_index into static global"
This reverts commit 65f5544a7e.
2020-09-11 15:14:11 +02:00
twinaphex c6fa9c6720 Revert "Add header"
This reverts commit 1b9c906d69.
2020-09-11 15:14:04 +02:00
twinaphex 85515b239f Revert "Get rid of this unused variable"
This reverts commit bcfd4a3cd6.
2020-09-11 15:13:48 +02:00
twinaphex fb3d8a634b Revert "(dispserv_x11) Cleanups"
This reverts commit 3d09bacb93.
2020-09-11 15:13:42 +02:00
twinaphex 6f6b15aedd (drivers_display) Cleanups 2020-09-11 14:21:09 +02:00
twinaphex 6a82772b72 Revert "Avoid having to call expensive matrix identity functions"
This reverts commit 7a87917c58.
2020-09-11 14:16:12 +02:00
twinaphex 7a87917c58 Avoid having to call expensive matrix identity functions 2020-09-11 14:06:42 +02:00
twinaphex bac1f1fd51 Cleanup 2020-09-11 13:48:23 +02:00
twinaphex 343fef1264 (drivers_display) Cleanups 2020-09-11 13:46:35 +02:00
twinaphex 60b26bd490 (drivers_display) cleanups 2020-09-11 13:19:07 +02:00
twinaphex 3d09bacb93 (dispserv_x11) Cleanups 2020-09-11 11:37:08 +02:00
twinaphex bcfd4a3cd6 Get rid of this unused variable 2020-09-11 08:22:13 +02:00