51046 Commits

Author SHA1 Message Date
Justin Weiss
64dc3dde40 Fix 3DS screen flickering when OSD is enabled
On the 3DS, for some cores, the screen will flicker if OSD is enabled,
and sometimes when going in and out of the menu.

As far as I can tell, this happens when a frame is dup'd, and we send
0x0 as the frame to the gfx driver. When that happens, we still draw
the OSD, using a vertex shader to transform and render it at the right
size.

When the frame is 0x0, though, the vertex shader uniforms are never
_reset_ to redraw the previous frame, so it's drawn with different
params, and gets drawn the wrong size. It will draw as the correct
size when the correct vertex shader uniforms are set, and the
incorrect size when the incorrect uniforms are set, causing
flickering.

At least, that's what I think is happening. Forcing the vertex shader
to be set regardless of whether the frame data is set fixes it, at
least during some light testing with PCSX.
2019-10-05 14:21:42 -07:00
twinaphex
b01149f068 Cleanups 2019-09-24 16:22:20 +02:00
Twinaphex
89ae74fba6 (MaterialUI) Fix handle float cast overflow 2019-09-24 11:38:47 +02:00
Twinaphex
a1f2c6197f
Update CHANGES.md 2019-09-24 11:16:04 +02:00
twinaphex
f4467d6595 Combine RARCH_LOG/RARCH_ERR messages 2019-09-24 08:24:19 +02:00
Twinaphex
688d1ef81c
Merge pull request #9505 from jdgleaver/ozone-metadata-wrap
(Ozone) Add option to toggle between static and scrolling content metadata
2019-09-23 21:54:22 +02:00
Twinaphex
4f2ed12e4f
Merge pull request #9504 from Wiimpathy/WiiFreeMem
Wii/GC: free memory instead of used memory
2019-09-23 21:27:32 +02:00
jdgleaver
ef710442f1 (Ozone) Add option to toggle between static and scrolling content metadata 2019-09-23 15:33:20 +01:00
benoa
2bd71b55bc Wii/GC: free memory instead of used memory 2019-09-23 16:09:53 +02:00
Twinaphex
c78dcbd382
Merge pull request #9488 from justinweiss/enable-luma-svchax
Enable svchax in 3dsx builds when running under Luma3DS 8.0+
2019-09-23 11:14:20 +02:00
Twinaphex
80b62fc635
Merge pull request #9501 from justinweiss/always-define-runtime-shader-preset
Ensure {set,unset}_runtime_shader_preset are always defined
2019-09-23 11:10:34 +02:00
Twinaphex
7d466c8177
Update CHANGES.md 2019-09-23 09:24:54 +02:00
Twinaphex
516bace3ca
Update CHANGES.md 2019-09-23 09:24:34 +02:00
twinaphex
3307e65ad3 Fix FPS text in threaded video mode 2019-09-23 09:22:35 +02:00
twinaphex
01dc71f598 (menu_driver.c) Cleanups 2019-09-23 04:49:01 +02:00
twinaphex
17fb07cb85 (Menu) Simplify menu_entries_get_core_title 2019-09-23 04:44:22 +02:00
twinaphex
85d9eeb50d Should fix CXX_BUILD 2019-09-23 04:40:18 +02:00
twinaphex
0314921434 (menu_cbs_deferred_push.c) Cleanups 2019-09-23 04:31:12 +02:00
twinaphex
dde7c28730 (menu_shader.c) Cleanups 2019-09-23 04:27:03 +02:00
twinaphex
682b403a9c menu_content.c - This file is no longer necessary 2019-09-23 04:24:00 +02:00
twinaphex
08d3fe8c04 Cleanups 2019-09-23 04:19:52 +02:00
twinaphex
82259a086e Make action_scan_directory safer - fill_pathname_join now doesn't
have the same variable for arguments 1 and 2
2019-09-23 04:14:10 +02:00
twinaphex
d045484788 Cleanups of some strings 2019-09-23 02:41:19 +02:00
twinaphex
dd522cdc6f Turn function static 2019-09-23 02:23:20 +02:00
Twinaphex
ae7d956341 Silence warning 2019-09-23 01:44:53 +02:00
twinaphex
b94b9e2adb Go back to plain strlcpy/strlcat - probably best to look at
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
Justin Weiss
621c79dd3c Ensure {set,unset}_runtime_shader_preset are always defined
These functions are used elsewhere, so they need to be defined. (Or we
could guard every place they're called instead)
2019-09-22 14:39:27 -07:00
Twinaphex
21a2ba3f79
Update CHANGES.md 2019-09-22 23:06:05 +02:00
twinaphex
579c41535a (OSX/Metal) Only set CoreAudio driver as default for non-Metal build 2019-09-22 23:03:14 +02:00
Twinaphex
107b5eec44 (OSX) Simplify 2019-09-22 22:53:57 +02:00
twinaphex
882a66b49a C89_BUILD buildfix 2019-09-22 21:59:17 +02:00
Twinaphex
b4e1ca8a2c
Merge pull request #9499 from LazyBumHorse/fix_opti
fix path_relative_to()
2019-09-22 21:53:50 +02:00
LazyBumHorse
f309c85f92 STRLCAT_CONST_INCR should be at most 1 statement, so single-line if, for etc work 2019-09-22 20:12:56 +02:00
LazyBumHorse
db723df879 fix path_relative_to 2019-09-22 16:29:54 +02:00
twinaphex
5f87fa1aca CXX_BUILD buildfix 2019-09-22 14:04:02 +02:00
twinaphex
f33264f7a6 (X11) XStoreName is a useless wrapper function around XChangeProperty 2019-09-22 13:00:44 +02:00
twinaphex
c5b3428408 Add sdl2_common.c/.h 2019-09-22 12:40:40 +02:00
twinaphex
efdc07ab10 (Wayland) update_title function - simplify this function a bit 2019-09-22 12:14:49 +02:00
twinaphex
920a20f060 (GX) Silence more warnings 2019-09-22 11:35:09 +02:00
Twinaphex
2414224df8 (Cocoa) It's only necessary to set the display server userdata for
set_video_mode
2019-09-22 11:29:58 +02:00
Twinaphex
511f43d5cf Move it to cocoa_gl_ctx.m 2019-09-22 11:26:06 +02:00
Twinaphex
a6ec5a9831 Should now work 2019-09-22 11:19:54 +02:00
Twinaphex
6fe4559b8e Revert "(Cocoa) See if this works"
This reverts commit 1ddd7ee79dade32dc8b925b3dfe57233fc2c34ea.
2019-09-22 10:54:11 +02:00
Twinaphex
83f1b28f98 Revert "(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m"
This reverts commit 4f564360e7ba3df82e496d8dec8ca1a0dc3d4261.
2019-09-22 10:54:01 +02:00
twinaphex
4f564360e7 (Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m 2019-09-22 10:48:23 +02:00
twinaphex
1ddd7ee79d (Cocoa) See if this works 2019-09-22 10:43:31 +02:00
Twinaphex
23bb1414ff (Metal) Buildfix 2019-09-22 10:30:59 +02:00
twinaphex
ad1fb29092 (Metal) Refactor 2019-09-22 10:28:51 +02:00
Twinaphex
6a9feb7978 (OSX) Refactor this so that we always set the userdata
pointer so we can use the new set_title codepaths - will
have to check how to reduce the overhead in nsview_get_ptr
later
2019-09-22 10:19:03 +02:00
Twinaphex
ae21bd98aa
Update CHANGES.md 2019-09-22 09:23:08 +02:00