Commit Graph

10321 Commits

Author SHA1 Message Date
Woohyun Shin 4e8a71d034 GDI: Fix non-ASCII text rendering 2021-04-22 20:38:58 +09:00
LazyFunker 8ff0430370 Disable mipmap generation for UWP 2021-04-20 10:29:17 +02:00
Ben 799fcdb5e0 Fixed CRTSwitchRes framebuffer bug 2021-04-19 07:38:38 -07:00
Autechre a56fcfb24a
Revert "Screen Resolution option fixes" 2021-04-17 19:33:23 +02:00
jdgleaver fc05c0805b (freetype/stb_unicode/bitmapfont) Prevent texture bleed when rendering text at non-integer scales 2021-04-15 17:24:32 +01:00
twinaphex b91a1f4788 Silence warning 2021-04-15 07:39:25 +02:00
alphanu1 5658ea7047
Multi monitor fix. (#12260)
This fix allows for the use of multi monitor when using CRTSwitchres. It fixes a bug that causes a crash.
Delete function will no longer try to delete resolutions from outputs that have not had resolutions added.
2021-04-12 14:55:33 +02:00
twinaphex 7f3b9e8a89 Attempt to fix max problems on all platforms 2021-04-12 06:51:01 +02:00
twinaphex 7fe2ad81a0 HAVE_CLIP_WINDOW - don't define for this anything below MSVC 2005 2021-04-12 05:38:43 +02:00
twinaphex dcc266df12 (MSVC) Buildfix 2021-04-12 05:25:30 +02:00
twinaphex 544a17926b Use path_basename_nocompression where we are sure we are not
dealing with a filename with a compressed archive hash
2021-04-11 17:44:41 +02:00
twinaphex a8f410ed40 slang_preprocess_parse_parameters - get rid of one local variable 2021-04-11 01:49:41 +02:00
twinaphex f29a4b51cc Put this behind VULKAN_DEBUG ifdef 2021-04-11 00:15:06 +02:00
twinaphex 924b5830ba (shader_gl_core) Remove std::string usage and std::to_string usage 2021-04-11 00:09:40 +02:00
twinaphex 0aa266a6ca build_stage_source - use std::string reserve and append, significantly
faster
2021-04-10 22:11:26 +02:00
twinaphex 1273536752 Reduce get_semantic_name down to one version 2021-04-10 21:46:04 +02:00
twinaphex b5d49b9e79 Avoid std::string allocations when possible (pt. 1) 2021-04-10 20:19:30 +02:00
twinaphex f0fa3c5861 (slang C++ files) take out using namespace std, explicitly refer to
std namespace
2021-04-10 19:42:59 +02:00
twinaphex 966dd62551 Fix warnings local variable hides parameter of the same name 2021-04-10 19:28:30 +02:00
twinaphex b7bc1fc51d Buildfixes 2021-04-08 03:27:58 +02:00
twinaphex f8ec815467 Cleanups 2021-04-08 01:54:44 +02:00
twinaphex 5334ddd199 Don't call anim_get_ptr inside gfx_thumbnail.c 2021-04-08 01:30:42 +02:00
twinaphex e5e8e9b5d8 Expand widget init function 2021-04-08 00:51:10 +02:00
twinaphex 2e6393f082 Get rid of pointer grabbing for p_disp 2021-04-08 00:38:24 +02:00
jdgleaver c23e32a047 OpenDingux Beta: Add 50Hz support 2021-04-07 10:06:11 +01:00
twinaphex cd016824f8 Get rid of disp_get_ptr pointer grabbing in gfx/widgets 2021-04-05 15:13:28 +02:00
twinaphex af00dca08b Get rid of some pointer grabbing for disp_get_ptr by making it
a part of video_frame_info
2021-04-05 14:55:28 +02:00
Autechre 115b08e0e1
Merge pull request #12232 from MrHuu/ctr_overlay
(3DS) Add HAVE_OVERLAY
2021-04-05 11:48:14 +02:00
jdgleaver a81280939e OpenDingux Beta: Fix IPU scaling when running GB/GBC/GG/NGP-resolution content 2021-04-04 22:50:25 +01:00
MrHuu 8df97a0c75 (3DS) Add HAVE_OVERLAY 2021-04-04 22:50:59 +02:00
repojohnray 45047732a7 Fix xegl_ctx.c mouse activation
The mouse is not working when using opengles with x11. This fix adds the required notifications.
2021-04-03 15:56:06 +02:00
jdgleaver 371d0b7395 Add optional menu screensaver 2021-04-01 17:26:43 +01:00
Autechre 311c5c133c
Merge pull request #12210 from jdgleaver/dingux-beta-gba-scaling
OpenDingux Beta: Fix IPU scaling when running GBA-resolution content
2021-03-31 20:06:46 +02:00
Valerio Proietti fc69e73dcf [DRM] set the correct video mode
mode->vrefresh is a display-only value and should not be used for calculations
the drm context is now able to differentiate between, for example, 640x480@60.00 and 640x480@59.92 when setting the video mode
2021-03-31 13:13:27 +02:00
jdgleaver 41855bb6d4 OpenDingux Beta: Fix IPU scaling when running GBA-resolution content 2021-03-31 11:17:56 +01:00
jdgleaver fe6e02e9bd OpenDingux: Improve handling of unsupported display resolutions + buffer overflow fix 2021-03-27 14:58:02 +00:00
twinaphex 788f716a30 (shader_gl_core) Cut down on some std::string usage 2021-03-27 03:51:00 +01:00
twinaphex 159c03cb34 Bump up version (but don't tag yet) 2021-03-27 02:22:39 +01:00
twinaphex cd9d6c0511 gfx_display - Get rid of lots of pointer grabbing 2021-03-25 20:12:34 +01:00
twinaphex 8064af8f15 Get rid of more pointer grabbing 2021-03-25 19:22:12 +01:00
jdgleaver 0a08437e0a Add OpenDingux Beta support 2021-03-25 16:19:42 +00:00
twinaphex 0674de54ee (gfx_widgets.c) Get rid of more pointer grabbing to
config_get_ptr/dispwidgets_get_ptr/etc
2021-03-25 15:05:09 +01:00
twinaphex 998673b8c3 (gfx_widgets) Cleanups 2021-03-25 04:59:07 +01:00
twinaphex fada1caf68 Move two widgets functions over to proper source file 2021-03-25 04:55:27 +01:00
twinaphex be3960e2be (gfx widgets) Add widgets_userdata to video_frame_info 2021-03-24 19:16:46 +01:00
twinaphex 78f7deffba Get rid of early return in video_shader_write_root_preset 2021-03-24 18:44:55 +01:00
twinaphex d911dd6efc (video_shader_parse.c) Tons of functions here should have been
made static, tons of log spam put behind DEBUG ifdefs
2021-03-24 18:31:20 +01:00
twinaphex 8f79e14d0a Silence LGTM static code analysis warnings 2021-03-24 00:25:47 +01:00
MrHuu b9849f78f7 (3DS) Add HAVE_GFX_WIDGETS 2021-03-23 22:03:44 +01:00
twinaphex 26824b1f27 (D3D) Comment out Debug functions 2021-03-23 21:24:17 +01:00
David Guillen Fandos 1cad93207b Upstream OGA patch for vertical screen
This keeps the tradition DRM driver along with the OGA one. The probe
function skips the driver if the screen is non rotated to fall back to
the regular DRM driver. This is being upstreamed from the Lakka repo.
2021-03-23 20:27:24 +01:00
twinaphex 80788f9df6 Get rid of some ternary operators 2021-03-22 20:53:56 +01:00
twinaphex 32a6bd021c Prevent 'may be used uninitialized' warning 2021-03-22 15:46:34 +01:00
twinaphex 611efea2bf More CXX_BUILD fixes 2021-03-22 15:20:51 +01:00
twinaphex 15b9bd47b9 (SDL2) Fix jump to label crosses initialization of const char* video_driver 2021-03-22 14:38:10 +01:00
twinaphex 1f4dd522ab (RGUI) Cut down on gfx_display_get_fb_size 2021-03-22 01:58:43 +01:00
twinaphex b16f526540 (Metal) Cleanups - turn function static 2021-03-21 18:10:55 +01:00
twinaphex 5d2a75d782 (Apple/Metal) Combine various Metal files into one 2021-03-21 18:06:00 +01:00
twinaphex e5ca68a518 Simplify video_driver_get_ptr 2021-03-21 17:33:44 +01:00
twinaphex f1330f3c98 (video_thread_wrapper) Call video_driver_get_data instead of
video_driver_get_ptr - last parameter passed to video_driver_get_ptr
was hardcoded
2021-03-20 15:15:52 +01:00
sonninnos 1e95683c06 (WINRAW) Key position fixes 2021-03-20 00:58:11 +02:00
twinaphex e292340ef4 (dispserv_win32.c) Fix unused variable warning 2021-03-16 13:33:24 +01:00
twinaphex 938c8f3abc Fix some tvOS warnings 2021-03-15 01:52:18 +01:00
Autechre a2ed065f25
Refactors pt3 (#12124)
* Remove video_pixel_get_alignment - move it to video
drivers that use it

* Rewrite video_driver_pixel_converter_{init/free} - get rid of
p_rarch dependency

* Replace some variables

* (Menu) Get rid of cbs_refresh - was never set to any other
function callback implementation
2021-03-11 02:03:37 +01:00
valadaa48 71cbec9252 oga_gfx: fix messages from not disappearing 2021-03-01 19:25:54 -05:00
twinaphex 6bba672d60 Compile video and audio filters as ARM64 architecture 2021-02-22 08:11:50 +01:00
twinaphex 4d8db1a091 Small cleanups 2021-02-20 10:05:41 +01:00
sonninnos f333cd0df8 Logging level adjustments 2021-02-18 19:28:08 +02:00
sonninnos 6c3c2bea5f Logging cleanups 2021-02-18 18:35:31 +02:00
sonninnos 371453623b Screen Resolution option fixes 2021-02-16 22:59:24 +02:00
twinaphex 68027c606e Silence some warnings 2021-02-09 16:43:40 +01:00
sonninnos aad12cc663 (Windows) Mouse grabbing/clipping with alt-tab 2021-02-07 20:18:04 +02:00
Francisco José García García 066917ac23
Vita: VitaGL api changes (#11981)
* Vita: VitaGL api changes: vglSwapBuffers

* Vita: VitaGL api change: Remove vglStartRendering
2021-02-04 11:46:00 +01:00
Autechre 33110603e5
Shader log spam reduction (#11977)
* (Shaders) Change label

* Create RARCH_DBG - if you have Logging Verbosity set to 0, the
shader parsing log spam will show, otherwise it won't
2021-02-03 13:49:07 +01:00
twinaphex 4c97c22e00 (Win32) Exclude HAVE_FONTCONFIG codepath for Windows for now 2021-02-03 11:29:41 +01:00
twinaphex c40943374b Fix C89_BUILD 2021-02-03 10:11:33 +01:00
Autechre 6d2193bca8
Merge pull request #11970 from sonninnos/winraw-mouse-grab
(Windows) Mouse grab fixes
2021-02-03 09:59:27 +01:00
sonninnos e39ade0f05 (WIN32) Cursor clipping for grabbed mouse 2021-02-02 14:15:58 +02:00
twinaphex 60a112ec97 Reduce dummy display driver null implementations with one 2021-02-02 12:28:17 +01:00
twinaphex 732fce9a04 (SDL2) Add ifdefs for HAVE_X11 and HAVE_WAYLAND 2021-02-01 23:18:06 +01:00
twinaphex 0b08693f9d Merge branch 'sdl2-out-of-x' of git://github.com/keithbowes/RetroArch into master 2021-02-01 23:13:17 +01:00
jdgleaver 95226b77a1 Fix non-smooth text ticker + reduce line ticker code duplication 2021-02-01 16:35:56 +00:00
jdgleaver ebfe32db3e Add 'Upscale_256x-320x240' video filter 2021-01-31 13:38:40 +00:00
liushuyu 6b044e742b
(FontRenderer/FreeType): use C-style block comments 2021-01-30 20:05:15 -07:00
liushuyu 8132303d4f
(FontRenderer/FreeType) Use fontconfig to select fonts if available 2021-01-30 18:49:47 -07:00
Francisco Javier Trujillo Mata 082fa22b05 Clean all the warnings in PS2 2021-01-30 15:47:52 +01:00
Autechre 1eb45fdf9b
Merge pull request #11942 from barbudreadmon/patch-1
fix slang shaders with rotation
2021-01-28 15:54:27 +01:00
Daniel De Matteis 1ece33337c (Mac) More warning fixes 2021-01-26 21:21:51 +01:00
Autechre 082ccc167e
Fix slang_process string to C char regressions (#11943) 2021-01-26 18:17:37 +01:00
barbudreadmon 7cb250f827
(GLCORE) fix slang shaders with rotation 2021-01-26 10:13:57 +01:00
barbudreadmon af6bb016cb
(VULKAN) fix slang shaders with rotation 2021-01-26 10:09:45 +01:00
Autechre 7ea1d7d0da
Revert "Mac buildfixes (#11933)" (#11934)
This reverts commit 18a6880900.
2021-01-24 03:56:05 +01:00
Autechre 18a6880900
Mac buildfixes (#11933)
* (Metal/WindowListener) Fix duplicate symbol errors by
moving implementation of WindowListener to cocoa_common.m

* (Apple) Cleanup some conditionals

* (Cocoa) Cut down on OSX ifdefs in Cocoa-specific code
2021-01-24 03:53:10 +01:00
Autechre a49b02c44b
(Mac) Makefile changes for supporting Metal build (#11929)
* (QB) Add rule for Metal - define HAVE_COCOA_METAL for now
when building for Metal, and HAVE_COCOA for non-Metal build

* Make necessary changes to Makefile.common and qb/config.libs.sh:
- Disable OpenGL for now for Metal build
- Take Metal conditional out of OpenGL block in Makefile.common

* (Metal) Header fixes for compiling without Xcode/Griffin

* (Mac) Some buildfixes for non-Xcode building

* (cocoa_common.h) Restructure to no longer use -DOSX

* (Apple) More buildfixes

* (Apple) Cleanups
2021-01-22 22:20:38 +01:00
Keith Bowes 125154e831 Get the SDL2 video driver to work in Wayland/KMS 2021-01-21 09:42:06 -05:00
Autechre cff0a4e202
MSVC2003 buildfix - (#11915)
* MIIM_STRING and MIIM_FTYPE only available if WINVER is higher than
or equal to 0x0500
2021-01-21 03:07:46 +01:00
Autechre 39e84fd5b2
Refactor Win32 menubar code - (#11914)
* Get rid of camelCase notation
* Turn functions into static functions if not used outside
* Rewrite while (true) as for (;;)
* Some general cleanups
2021-01-21 02:59:30 +01:00
Autechre 760c9a8482
(Mac) Remove Apple Core GL Context (#11912)
* Remove Apple CGL context - was never used and never tested
2021-01-21 00:33:12 +01:00
twinaphex c7e8d2adf5 Silence warnings for some console platforms 2021-01-20 08:53:45 +01:00
twinaphex 55a766b0bc (CocoaGL) Add forward declaration 2021-01-19 07:28:42 +01:00