twinaphex
561012c3ba
(gfx_widgets) Set all values to initial state
2020-02-17 20:49:56 +01:00
twinaphex
10d09eaed3
gfx_widgets_init - move content of error path to retroarch.c
2020-02-17 16:42:17 +01:00
twinaphex
4d148ff078
Roll gfx_widgets_context_destroy into gfx_widgets_free
2020-02-17 16:35:19 +01:00
twinaphex
166c0c2311
Cleanups
2020-02-17 16:07:37 +01:00
jdgleaver
e497b8f534
gfx_display.h/c: Fix line endings
2020-02-17 12:01:14 +00:00
twinaphex
cec672a71d
Buildfix
2020-02-17 12:27:08 +01:00
twinaphex
a0f3010159
Cleanup
2020-02-17 03:59:12 +01:00
twinaphex
6e880ef686
osk_dark no longer a global
2020-02-17 02:31:14 +01:00
twinaphex
8980d92efa
Cleanup
2020-02-17 02:08:40 +01:00
twinaphex
43561dc389
(Xvideo) Buildfix
2020-02-17 01:54:25 +01:00
twinaphex
b00bf17153
Move menu_widgets to gfx/ and call it gfx_widgets
2020-02-17 01:54:07 +01:00
twinaphex
b229f267e4
Rename menu_widgets to gfx_widgets
2020-02-17 01:43:40 +01:00
twinaphex
6b82089d6c
Move menu_display code to gfx_display
2020-02-17 00:42:49 +01:00
twinaphex
ec302bc4fc
video_set_nonblock_state - remove settings dependency
2020-02-16 22:26:07 +01:00
twinaphex
47af95469a
(font_driver.c) Remove configuration.h dependency
2020-02-16 21:59:03 +01:00
twinaphex
7bf5da8de4
(gfx_animation.c) Remove remaining menu namespace conventions
2020-02-16 18:24:45 +01:00
twinaphex
808a54e217
Cleanups
2020-02-16 17:40:06 +01:00
twinaphex
bb2251a7b2
(display server) Cleanup
2020-02-16 17:34:26 +01:00
twinaphex
2f525187a1
(gfx_display.c) Get rid of more header includes
2020-02-16 17:18:13 +01:00
twinaphex
f74225721d
menu_thumbnail and menu_thumbnail_path now decoupled from menu
...
system
2020-02-16 16:38:17 +01:00
twinaphex
9a6ab81739
MOve gfx_display and gfx_animation to gfx/
2020-02-16 15:26:58 +01:00
twinaphex
c71469c715
Rename menu_display to gfx_display
2020-02-16 15:10:07 +01:00
twinaphex
2d946d0d95
(PS2 gfx) Cleanups
2020-02-14 13:06:56 +01:00
twinaphex
cb0c145e3d
Cleanups
2020-02-14 12:55:36 +01:00
twinaphex
e47b7526bc
(gfx) Cleanups
2020-02-13 23:24:51 +01:00
twinaphex
7090de541a
- Merge runahead/mylist.c into retroarch.c
...
- General cleanups
2020-02-13 17:26:11 +01:00
Twinaphex
a97557f2e4
Merge pull request #10111 from jdgleaver/ozone-scaling
...
(Ozone) Add DPI-based scaling
2020-02-13 14:16:34 +01:00
twinaphex
2e0f921ded
Cleanups
2020-02-13 02:18:38 +01:00
twinaphex
1105d1019d
Reduce some configuration dependencies
2020-02-12 16:13:28 +01:00
twinaphex
d918c1791a
Get rid of some configuration.h dependencies
2020-02-12 16:09:30 +01:00
jdgleaver
b1773cc73b
(Switch) Report correct (approximate) DPI in 'docked' mode
2020-02-12 14:25:49 +00:00
twinaphex
880391d0c5
(libnx) Try to silence warnings
2020-02-10 12:36:11 +01:00
orbea
baf7013941
Silence warning with clang-9.0.1.
...
gfx/drivers_shader/shader_vulkan.cpp:2372:4: warning: field 'device' will be initialized after field 'size' [-Wreorder]
device(device),
^
1 warning generated.
2020-02-01 16:52:00 -08:00
twinaphex
d89fb0e7c4
(shader_slang.cpp) Simplify usage of functions that are only
...
ever used as C-strings
2020-02-01 07:04:27 +01:00
twinaphex
64c515bac4
Turn while (true) into for (;;) for easier MSVC backwards compatibility
2020-02-01 04:15:22 +01:00
twinaphex
35b8c4cb05
Cleanup
2020-02-01 02:02:50 +01:00
twinaphex
f0e889b552
Change prototype of video_driver_set_size
2020-01-31 15:06:50 +01:00
twinaphex
982e35db45
Use strlcat instead of strcat
2020-01-30 22:20:18 +01:00
twinaphex
74cd84399f
Cleanups - Replace '== NULL'
2020-01-30 16:47:33 +01:00
twinaphex
a034909ae9
Cleanups
2020-01-30 16:35:59 +01:00
trioan
0e20be17cc
fix vulkan_framebuffer_generate_mips (msvc2017)
...
{0} initializer
2020-01-25 21:14:28 -05:00
twinaphex
9ddd8417c8
Replace some more auto variables
2020-01-23 04:49:51 +01:00
twinaphex
a4564b8939
Move C oriented code from slang_reflection.cpp to glslang_util.c
2020-01-22 19:36:49 +01:00
twinaphex
ff9701685f
Remove some auto variables
2020-01-22 19:07:10 +01:00
twinaphex
6d0286efbd
Turn video_shader_parse_type into macro
2020-01-22 14:30:55 +01:00
twinaphex
920e89a506
Move pass set texture to vulkan_common.c
2020-01-22 14:27:24 +01:00
twinaphex
8f1aa8c2c3
(shader_gl_core.cpp) Cleanups
2020-01-22 13:52:14 +01:00
twinaphex
376ad6d61d
move more C functions over to gl_core.c
2020-01-22 13:12:00 +01:00
twinaphex
90874b434e
(shader_vulkan.cpp) Move more C code to vulkan_common.c
2020-01-22 12:09:08 +01:00
twinaphex
bcf8ff3d0a
(shader_gl_core) Get rid of ConfigDeleter - move C code to gl_core.c
2020-01-22 11:57:06 +01:00
twinaphex
c8227c95dd
(shader_gl_core) get rid of ConfigDeleter
2020-01-22 11:35:00 +01:00
twinaphex
b8cd37aef7
(shader_vulkan.cpp) Get rid of ConfigDeleter
2020-01-22 11:29:40 +01:00
twinaphex
f853632260
Move framebuffer generate_mips function to vulkan_common.c
2020-01-22 10:52:20 +01:00
twinaphex
e9c73bd9a6
(Vulkan) Move more C code to vulkan_common.c
2020-01-22 10:41:38 +01:00
twinaphex
ef27a660a7
(shader vulkan) Cleanups - moving C code out of the C++ file
2020-01-22 10:11:42 +01:00
twinaphex
8a989b65ee
Cleanup
2020-01-19 13:19:25 +01:00
twinaphex
826b2245ec
WndProcCommon - small optimization
2020-01-19 12:17:26 +01:00
twinaphex
f852209040
Silence some unused variable warnings on some targets
2020-01-19 06:04:37 +01:00
twinaphex
32c62a7fe1
Get rid of header include
2020-01-19 05:00:35 +01:00
twinaphex
51d6b467d6
(Win32) Buildfix
2020-01-19 04:56:12 +01:00
twinaphex
c26c9483ec
Cleanup WNDPROC functions
2020-01-18 11:34:50 +01:00
twinaphex
a01e6652df
Replace ZeroMemory with memset
2020-01-18 10:46:25 +01:00
twinaphex
57c00e7e26
Cleanup
2020-01-18 10:41:26 +01:00
twinaphex
a67896ab2b
Cleanup
2020-01-18 09:37:16 +01:00
twinaphex
142503d3b5
move win32_menu_loop and win32_browser to win32_common
2020-01-18 09:28:46 +01:00
orbea
8d6b70c22c
Don't use uname -a.
2020-01-15 06:27:42 -08:00
twinaphex
d48d4385d9
(Wayland) Silence warning
2020-01-15 08:48:13 +01:00
twinaphex
0923985516
(GL/WGL) This regression caused cores that required GL to fail
...
because it would try to erroneously load GLESv2.dll instead of
OpenGL32.dll
2020-01-09 19:26:53 +01:00
Michael Lelli
dcb6bae868
fix null check in video_display_server
2020-01-07 09:36:32 -06:00
twinaphex
3d80838754
Fix display server crashing on some platforms
2020-01-07 11:35:32 +01:00
jovonna
376547044c
fix null pointer deref in new dispserv_null code
2020-01-06 21:52:13 -05:00
twinaphex
fa7859ad13
(Gfx drivers context) Cleanup EGL calls
2020-01-06 18:27:18 +01:00
twinaphex
bbd1e6a6a5
Get rid of separate null midi driver file and display server file
2020-01-06 16:06:42 +01:00
twinaphex
a986b71947
Remove separate audio / video null driver files
2020-01-06 15:22:21 +01:00
twinaphex
f97e557194
(DRM/EGL) Buildfix
2020-01-06 00:33:28 +01:00
twinaphex
4380b73ca6
Add HAVE_DYNAMIC_EGL option
2020-01-05 19:14:47 +01:00
twinaphex
6e0971fc61
(EGL) Call EGL common calls
2020-01-04 19:58:57 +01:00
twinaphex
d5cdfbb7ba
Move all EGL functions to egl_common.c file
2020-01-04 19:22:02 +01:00
twinaphex
063986a4b3
(ANGLE) Angle gets separate EXE name
2020-01-04 19:05:23 +01:00
jovonna
decd374c15
Initial port to dingux platform
2020-01-04 12:20:03 -05:00
twinaphex
1216c3ef6d
(OSX/Metal) Buildfix
2020-01-04 17:44:33 +01:00
Francisco José García García
f559e931cf
Only use threads when the number > 1
2020-01-04 16:36:54 +01:00
twinaphex
f92a507a9b
Change function signature of font_driver_render_msg
2020-01-04 16:24:14 +01:00
twinaphex
3e1f56d57f
Change function signature of win32_has_focus
2020-01-04 15:49:23 +01:00
twinaphex
91baea201a
Change function signature of win32_show_cursor
2020-01-04 15:40:02 +01:00
twinaphex
53dbd69751
(EGL) Create egl_bind_api
2020-01-04 15:09:42 +01:00
twinaphex
6c97a7514c
(Vulkan) turn superfluous functions in vulkan_common.c into macros
...
to avoid unnecessary function overhead
2020-01-03 20:20:59 +01:00
GH Cao
91ee8c8ee6
D3D11: Block 9_3 devices, implement gl failback
2020-01-03 09:44:24 +08:00
GH Cao
a4e810795c
D3D: Add get_metrics
2020-01-03 09:40:41 +08:00
GH Cao
090919490a
UWP: Remove uwp_egl_create_surface
...
Because of 0e2265, this is not doing anything special anymore.
Remove it entirely and use common EGL surface creation instead.
2020-01-03 06:07:05 +08:00
jdgleaver
7ad4becedb
(Vulkan) Fix font driver 'vulkan_get_message_width()' function
2019-12-29 14:44:07 +00:00
twinaphex
051342cc8b
Rewrite win32_get_video_output
2019-12-20 07:15:03 +01:00
Hans-Kristian Arntzen
96723c6f70
Vulkan/Android: Workaround weird WSI return codes in landscape mode.
...
Android WSI wants you to use preTransform, and if it is not used
correctly, Android 10 will return VK_SUBOPTIMAL_KHR, and we would create
a new swapchain every frame.
This workaround just ignores this error, since it's not really an error.
A more "proper" fix is to use prerotate and modify the MVP matrices,
which might help certain devices with crummy display processors.
2019-12-17 19:08:20 +01:00
Themaister
15ffffa835
Android/Vulkan: Recreate swapchain on orientation change.
...
ANativeWindow getWidth/Height does not detect any changes when using
Vulkan, so use the old onContentRectChanged callback to get notified
when size changed. Use those values instead when figuring out how large
swapchain to create.
Tested trivially on Galaxy S9+ Exynos model.
2019-12-15 16:46:41 +01:00
Francisco José García García
b4be7b0c74
(Vita) Several improvements to vita2d driver
2019-12-14 14:11:47 +01:00
twinaphex
1fd6d024eb
More buildfixes for ANGLE
2019-12-07 07:24:20 +01:00
twinaphex
c6b325e4d6
Add more headers
2019-12-07 07:17:21 +01:00
twinaphex
df588ca422
(ANGLE) Move headers to gfx/include/ANGLE
2019-12-07 07:09:49 +01:00
twinaphex
17a161afa2
Add missing header
2019-12-07 07:04:26 +01:00
twinaphex
94f82ece4e
Add more required headers
2019-12-07 07:01:11 +01:00
twinaphex
1aaf933a1a
Add EGL headers
2019-12-07 06:55:16 +01:00
driver1998
105fadd668
[ANGLE] Add HAVE_ANGLE
2019-12-06 15:43:19 +08:00
driver1998
a8a4e60171
[ANGLE] Cleanup
2019-12-06 13:59:22 +08:00
driver1998
bfe167fae8
[UWP] Add ANGLE context
2019-12-06 13:24:18 +08:00
driver1998
7cbdd845ad
[Win32] Add ANGLE context
2019-12-06 13:24:17 +08:00
driver1998
de203390be
[Windows] Add ANGLE support
2019-12-06 13:24:17 +08:00
Twinaphex
002f2ab6e7
Merge pull request #9801 from cmitu/kms-video-mode-selection
...
KMSDRM: better detection for the current video mode
2019-12-05 23:39:02 +01:00
cmitu
3953659901
KMSDRM: better detection for the current video mode
2019-12-01 06:45:43 +00:00
Jean-André Santoni
c0dfcd2adf
Fix Metal build
2019-11-30 12:49:52 +07:00
Jean-André Santoni
ba2c870d95
Allow building using make on OSX
2019-11-30 12:37:58 +07:00
twinaphex
861379d8e3
Revert code in hopes iOS works again
2019-11-20 06:25:40 +01:00
Twinaphex
d2d240ecf5
(iOS) Should fix iOS build problems
2019-11-20 02:58:17 +01:00
Twinaphex
81c020d300
Replace g_instance with CocoaView get
2019-11-20 02:24:03 +01:00
twinaphex
e3506ed06b
Move nsview_get_ptr to cocoa_common
2019-11-20 02:24:03 +01:00
Twinaphex
387e18b528
cocoagl_gfx_ctx_set_video_mode - go through [CocoaView get] here
2019-11-20 02:24:03 +01:00
twinaphex
964fcda79a
Move glkitview_init to cocoa_common.m
2019-11-20 02:24:02 +01:00
twinaphex
ed8e440b0d
Revert "Move update_window_title to main thread - this should resolve some"
...
This reverts commit 442608981d
.
2019-11-19 22:48:35 +01:00
twinaphex
442608981d
Move update_window_title to main thread - this should resolve some
...
concurrency issues on OSX as well
2019-11-19 22:13:51 +01:00
Jean-André Santoni
8e028f4db3
Remove useless HAVE_COCOA_METAL ifdef
2019-11-19 14:50:21 +07:00
twinaphex
29ced2a72f
Simplify cocoagl_gfx_ctx_get_video_size somewhat
2019-11-19 08:26:12 +01:00
Twinaphex
c7ce2c7053
Fix Xcode issue
2019-11-19 05:54:01 +01:00
Jean-André Santoni
d5a5380e6d
Fix building with make on OSX
2019-11-19 11:38:27 +07:00
Twinaphex
53d18cf95e
Merge pull request #9713 from Rinnegatamante/vitagl
...
Added gl1 video driver support to Vita build
2019-11-17 23:14:29 +01:00
Rémi
6c47f02bdf
Fixing OpenGL shader rotation
2019-11-16 19:52:47 +01:00
Guo Yunhe
95dede9039
Fix comment in freetype.c
2019-11-15 10:18:05 +02:00
Twinaphex
724865a8fc
Update freetype.c
2019-11-15 00:53:17 +01:00
Guo Yunhe
52b3a4fe17
Correct Droid Sans Fallback font path
2019-11-14 18:01:46 +02:00
Rinnegatamante
2a77dc5600
Make code C89 compliant.
2019-11-13 21:44:59 +01:00
Rinnegatamante
616759ed8c
[VITA] Implement check_window.
2019-11-13 11:19:51 +01:00
Rinnegatamante
637319c938
[VITA] Implement swap_interval in vita video driver context.
2019-11-13 09:57:03 +01:00
Rinnegatamante
96845f4a7e
[VITA] Removing a no more used ifndef.
2019-11-13 00:45:48 +01:00
Rinnegatamante
2b20c8d350
[GL1] Fixed core frame renderer.
2019-11-12 19:46:37 +01:00
Rinnegatamante
bed9847b48
[VITA] Hijacking wrong positioning for UI elements.
2019-11-12 19:06:18 +01:00
Rinnegatamante
66bdf711f4
[VITA] Back to GL_LUMINANCE_ALPHA usage.
2019-11-12 16:33:47 +01:00
Rinnegatamante
f3ca57e6f0
[VITA] Add vita video driver context.
2019-11-12 16:33:36 +01:00
Rinnegatamante
6b7673f806
[VITA] Fixing gl1 video driver crashes.
2019-11-12 15:37:37 +01:00
Rinnegatamante
1533d618e5
[VITA] Allow usage of null context with gl1.
2019-11-12 13:50:14 +01:00
Rinnegatamante
6394342b9c
[VITA] Add gl1 video driver support through vitaGL.
2019-11-12 11:54:00 +01:00
twinaphex
a0486c3cd7
Revert "Simplify slang_process.cpp"
...
This reverts commit 25a417cdd7
.
2019-11-12 01:34:03 +01:00
twinaphex
25a417cdd7
Simplify slang_process.cpp
2019-11-11 18:55:33 +01:00
alphanu1
a488876a6a
Added missing argument to function ( #2 )
2019-10-30 08:43:51 +00:00
alphanu1
9c0f4c737e
Fixes for RPI ( #1 )
...
New Raspberry Pi porch and aspect ratio generation. Added code to fix X offset for Raspberry Pi.
2019-10-30 08:34:02 +00:00
twinaphex
f678a06b95
Remove xbox 360 fonts
2019-10-19 16:42:39 +02:00
Rinnegatamante
02c35441d6
Revert to old x context.
2019-10-16 18:29:17 +02:00
Francisco Javier Trujillo Mata
fd75ae487e
Disable the duplication FPS in PSP
2019-10-16 00:46:29 +02:00
Twinaphex
4ac264b1d0
Merge pull request #9591 from Rinnegatamante/videodrivers2
...
Graceful switching between videodrivers #2 .
2019-10-15 22:49:17 +02:00
orbea
55d123d95a
Fix build when SDL2 is not built against wayland.
...
Fixes https://github.com/libretro/RetroArch/issues/9583 .
2019-10-15 09:10:18 -07:00
Rinnegatamante
d1a74e1b96
Fix for crash on Linux.
2019-10-15 09:07:15 +02:00
twinaphex
89e9bdc413
Buildfix
2019-10-14 01:35:04 +02:00
twinaphex
4fbf823707
Enable HAVE_VIDEO_LAYOUT by default
2019-10-14 00:31:44 +02:00
Rinnegatamante
26b0bc771d
Add vulkan context logging.
2019-10-13 17:47:08 +02:00
Twinaphex
7bed40d17b
Merge pull request #9547 from Rinnegatamante/videodrivers
...
Graceful switch between video drivers.
2019-10-12 14:21:33 +02:00
Twinaphex
2d769d4bfb
Merge pull request #9558 from justinweiss/ctr-gfx-fix-flickering-with-osd
...
Fix 3DS screen flickering when OSD is enabled
2019-10-06 03:39:23 +02:00
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
7969221919
Remove two unused variables
2019-10-05 19:08:57 +02:00
twinaphex
7175c3ec22
FIx another 'may be used uninitialized' warning
2019-10-05 18:43:25 +02:00
twinaphex
221df13250
Cleanups/warning fixes - compilation fix for OSX PPC
2019-10-05 18:38:17 +02:00
Twinaphex
6467d24070
Merge pull request #9548 from fjtrujy/ps2MemoryLeaks
...
[PS2] Fix memory leaks in Font and GFX Driver
2019-10-04 17:07:35 +02:00
twinaphex
eed44eea9c
Cache this string too
2019-10-04 14:27:09 +02:00
twinaphex
1788042c9e
(Android) dpi_get_density - cache one variable to avoid excessive
...
system_property_get querying
2019-10-04 14:22:10 +02:00
Francisco Javier Trujillo Mata
c48ccdb1fc
Fix memory leak in the PS2 GFX and PS2 Font
2019-10-03 23:41:56 +02:00
Rinnegatamante
453781af9c
Graceful switch between video drivers.
2019-10-03 17:45:59 +02:00
twinaphex
547f8968aa
(GL1) Buildfix + cleanups
2019-10-01 03:14:18 +02:00
GH Cao
27d2877106
gl1: take care of const
2019-10-01 06:51:29 +08:00
GH Cao
897488862e
gl1: adapt C89
2019-10-01 06:24:06 +08:00
driver1998
0212567d75
Support GLDirect (D3D9 to OGL1.1 wrapper) in gl1 driver
2019-10-01 06:02:30 +08:00
jdgleaver
3057c31798
(Menu Input) Add mouse/touchscreen gesture support + full gesture support for XMB
2019-09-30 16:55:41 +01:00
Tor Arne Vestbø
b5cf9b639e
metal: Improve shader debugging
...
Having the path to each shader is helpful when debugging the
rendering pipeline. The render command encoder label is limited
to just the filename of the shader, as the graphics debugging
UI in Xcode doesn't handle long names very well.
We don't encode the pass number into the string as the shaders
can be organized in a graph, not just a linked list, so an
indexed order can be misrepresenting the flow.
2019-09-25 22:36:40 +02:00
Tor Arne Vestbø
91caf28bfc
metal: Add some missing debug labels and groups
2019-09-25 22:36:40 +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
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
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
83f1b28f98
Revert "(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m"
...
This reverts commit 4f564360e7
.
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
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
69a38f9b9f
(Cocoa) Pass direct pointer to UI companion driver window title function
2019-09-22 07:41:56 +02:00
twinaphex
c7fd375120
Create video_driver_display_userdata_{set/get}
2019-09-22 07:35:05 +02:00
twinaphex
03bddff8e6
Cleanups of update_window_title functions
2019-09-22 03:05:06 +02:00
twinaphex
302e2fdc53
Move show memory details outside of the video context driver and
...
into retroarch.c - avoid lots of code duplication
2019-09-21 07:49:33 +02:00
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
ab515daa0c
Try to get rid of file_path_str
2019-09-18 18:12:57 +02:00
twinaphex
c186747edc
(video_shader_parse) avoid some more snprintfs
2019-09-18 09:11:32 +02:00
twinaphex
3fbeb0617b
(glslang_util_cxx.cpp) Get rid of this strlcpy too
2019-09-18 08:03:49 +02:00
twinaphex
306d7f6f8a
glsl_find_uniforms_frame - get rid of the remaining strlcats
2019-09-18 07:53:59 +02:00
twinaphex
ab60005cdc
(GLSL) Avoid snprintf, prefer strlcpy/strlcat where possible
2019-09-18 07:32:06 +02:00
twinaphex
b28c405377
Backport and rebase initial FPGA port that was done in 2017 (port
...
done for Z-Turn board) - has some outstanding issues such as
very slow framebuffer software rendering output that needs to
be overcome before this becomes usable - community help needed
2019-09-17 08:16:50 +02:00
twinaphex
861262ef3a
(network gfx) Cleanup
2019-09-17 05:04:57 +02:00
Brad Parker
c7c7d0988e
initial network video driver, sends raw frames over TCP
2019-09-17 04:18:44 +02:00
jdgleaver
3a680df733
(glcore) Ensure correct scaling of menu texture (RGUI)
2019-09-03 12:52:26 +01:00
Tor Arne Vestbø
af75ddd04a
metal: Draw video stats on top of overlay
2019-09-02 20:02:16 +02:00
Tor Arne Vestbø
204407b64a
metal: Set up correct viewport before rendering overlay
2019-09-02 18:02:30 +02:00
Tor Arne Vestbø
48d28aa734
metal: Split menu drawing out from core drawing
2019-09-02 18:02:30 +02:00
Tor Arne Vestbø
e6227f9898
Use correct uniforms when blitting menu frame with Metal
...
Fixes broken rgui with the Metal video driver.
2019-09-02 13:01:42 +02:00
Tor Arne Vestbø
a7723ba13f
Explicitly invalidate atlas buffer when rendering text with Metal
...
Fixes #9016
2019-09-01 18:46:26 +02:00
Brad Parker
4e9cd6ff3e
win32: set menubar language to same as config
2019-08-29 16:36:09 -04:00
twinaphex
2609747243
MSVC buildfix
2019-08-29 20:20:35 +02:00
twinaphex
718d65d95d
Take this out - too unsafe - fixes D3D12 driver
2019-08-29 12:30:56 +02:00
twinaphex
cb8107a154
remove video_context_driver_init_image_buffer
2019-08-29 11:26:28 +02:00
twinaphex
ca5e51f116
Remove video_context_driver_make_current
2019-08-29 11:13:17 +02:00
twinaphex
029f1c403e
Turn function static
2019-08-29 10:16:26 +02:00
twinaphex
967aae04c8
Cleanups
2019-08-29 09:55:27 +02:00
twinaphex
9a49da10e5
(WndProcCommon) Put this back in
2019-08-29 09:31:08 +02:00
twinaphex
df4f2a67e3
(Win32) Simplify WndProcCommon
2019-08-29 02:26:32 +02:00
twinaphex
5ca165379c
Cleanups
2019-08-29 01:45:44 +02:00
twinaphex
04f9b81fed
Cut down on some unnecessary wrapper functions
2019-08-29 00:02:50 +02:00
twinaphex
3a7515c82f
Cut down on code duplication
2019-08-28 23:58:15 +02:00
twinaphex
01cb2b8d44
Cleanup
2019-08-28 23:55:57 +02:00
twinaphex
d406fee72e
Remove video_context_driver_suppress_screensaver
2019-08-28 22:52:41 +02:00
twinaphex
c50cc7b010
Remove video_context_driver_show_mouse
2019-08-28 21:36:58 +02:00
twinaphex
aeedeb14a9
(Vita) Vita has no video context driver set, so this can go
2019-08-28 21:30:17 +02:00
twinaphex
fa3b927ece
Get rid of video_context_driver_get_proc_address
2019-08-28 21:26:43 +02:00
twinaphex
88720b540e
Get rid of video_context_driver_swap_interval
2019-08-28 21:12:51 +02:00
Sunderland93
8345f08f64
[Wayland] Remove deprecated wl_shell interface
2019-08-28 12:26:51 +04:00
twinaphex
a623a611f1
(Wayland) Untested - apply the same for Wayland
2019-08-24 20:51:12 +02:00
twinaphex
aa428e4a82
(X11) Better resizing of menu when window is resized
2019-08-24 20:50:06 +02:00
Twinaphex
6d0875e975
(OSX) Use new menu rescaling when resizing window
2019-08-24 20:36:06 +02:00
twinaphex
8780541de9
(Win32) Add deferred menu context reset - menu should properly rescale now
...
when we do a Win32 window resize
2019-08-24 20:03:09 +02:00
twinaphex
86410cc3b0
(CoreText) Buildfix
2019-08-24 16:57:23 +02:00
jdgleaver
f85c0737e4
(3DS) Build fix
2019-08-24 14:37:45 +01:00
twinaphex
02dccb0396
(OSX) Buildfix for C89_BUILD
2019-08-24 08:51:33 +02:00
twinaphex
b9d7be372f
(CoreText) Check first if path is valid
2019-08-24 03:35:23 +02:00
Twinaphex
714e3ddc2a
(SBT font driver) Check first if font files exist before
...
we try to open them
2019-08-24 03:30:32 +02:00
twinaphex
0dc73f2c8e
Prevent calling FT_New_Face if path is not valid
2019-08-24 03:25:46 +02:00
LazyBumHorse
a882901e39
save unmodified auto-shaders as a reference instead of a copy, see:
...
- implement #reference directive for auto-shaders
- replace usual preset saving and loading functions with video_shader_read_preset() and video_shader_write_preset()
- apply saved presets automatically for console menus
- move auto-shader saving logic from menus into menu_shader.c menu_shader_manager_save_auto_preset()
- refactor menu_shader_manager_save_preset() into menu_shader_manager_save_preset_internal()
2019-08-22 16:57:28 +02:00
twinaphex
d52c573e13
Merge slang_preprocess.cpp into slang_process.cpp
2019-08-18 18:55:22 +02:00
twinaphex
0905c8d2ed
(shader_gl_core.cpp) Simplify some code
2019-08-18 18:32:01 +02:00
twinaphex
d48b5b78f8
Cleanups
2019-08-18 18:05:26 +02:00
twinaphex
aaeff6c888
Move C code over to glslang_util.c
2019-08-18 18:01:21 +02:00
twinaphex
3aa1a03a08
glslang_util cleanups
2019-08-18 14:40:26 +02:00
LazyBumHorse
719555bae1
Overhaul shader loading logic, add --set-shader CLI option
2019-08-17 15:20:51 +02:00
Twinaphex
3bc5c15526
Merge pull request #9309 from LazyBumHorse/fix_vulkan_gpu_list
...
fix handling of vulkan_gpu_list
2019-08-15 18:17:56 +02:00
LazyBumHorse
3c6a46d95d
fix handling of vulkan_gpu_list (use after free, not always being initialized)
2019-08-15 17:52:24 +02:00
twinaphex
6c671faed6
Start preparing for menu_widgets_ready to be moved to retroarch.c
2019-08-15 14:20:51 +02:00
LazyBumHorse
f51e50a423
fix logging on Windows sometimes not being null-terminated
2019-08-15 13:39:19 +02:00
twinaphex
980be6dba3
(GL2) Cleanups
2019-08-14 16:40:47 +02:00
Twinaphex
accae545b0
Merge pull request #9279 from LazyBumHorse/fix_glhigh
...
workaround for glcore crash with Mesa
2019-08-13 22:00:28 +02:00
Themaister
f957bf0d16
Validate non-causal filter chain for texture inputs.
...
We only validated for UBO inputs apparently.
2019-08-13 13:57:20 +02:00
twinaphex
3585d56067
(Vita2D) video_driver_get_size was used for no reason here
2019-08-13 12:34:34 +02:00
twinaphex
dc3711b35f
(GX2) video_driver_get_size was used for no reason here
2019-08-13 12:33:09 +02:00
twinaphex
d43b26348b
(Vulkan) Don't use video_driver_get_size
2019-08-13 12:28:16 +02:00
twinaphex
e43c55bef3
(GLCore) Don't use video_driver_get_size
2019-08-13 12:23:02 +02:00
twinaphex
c3d624267b
(GL) Start avoiding usage of video_driver_get_size
...
from within video drivers
2019-08-13 12:14:53 +02:00
twinaphex
558e50b5a0
Get rid of unused code libdbgfont
2019-08-13 11:42:46 +02:00
LazyBumHorse
907bea6abb
destroy leaked context
2019-08-12 23:05:44 +02:00