Commit Graph

8439 Commits

Author SHA1 Message Date
Twinaphex
1acad3522e
Merge pull request #7659 from fr500/upstream
only apply fixed window size when the setting is enabled
2018-11-27 07:50:35 +01:00
radius
aab6a86633 only apply fixed window size when the setting is enabled 2018-11-26 21:15:03 -05:00
twinaphex
bc0dbffc01 Revert "Change custom_command_method_t returntype to int64_t"
This reverts commit e13efbd400.
2018-11-26 20:30:53 +01:00
Twinaphex
7a174d290e
Merge pull request #7655 from Sunderland93/master
[Wayland] Implement idle-inhibit support
2018-11-26 19:25:46 +01:00
Sunderland93
ea180a1775 Relax wayland and wayland-protocols version's 2018-11-26 21:58:43 +04:00
Sunderland93
b538786b00 Implement zwp_idle_inhibit_v1 protocol 2018-11-26 21:54:39 +04:00
twinaphex
e13efbd400 Change custom_command_method_t returntype to int64_t 2018-11-26 17:39:04 +01:00
twinaphex
6bf35ab6e8 (x11_common.c) Cleanups 2018-11-26 13:54:51 +01:00
twinaphex
098e62067e Small cleanups 2018-11-26 13:37:35 +01:00
Twinaphex
9f3efd03ea
Merge pull request #7650 from fr500/upstream
restore old functionality till the change is done in other platforms
2018-11-25 23:32:15 +01:00
radius
1187df922a restore old functionality till the change is done in other platforms 2018-11-25 17:24:54 -05:00
twinaphex
0bf0e355ec This stops the crashes with video_get_output_size/next/prev 2018-11-25 21:51:09 +01:00
twinaphex
fb957f29a8 Set current_display_server by default to dispserv_null 2018-11-25 19:12:21 +01:00
Twinaphex
0b50328c6f
Merge pull request #7645 from fr500/upstream
repurpose the old settings to the new window sizing code
2018-11-25 17:52:59 +01:00
radius
77ae2dc0cd don't change window position on fullscreen changes 2018-11-25 11:51:13 -05:00
radius
c2fc35f2cc repurpose the old settings to the new window sizing code 2018-11-25 11:10:58 -05:00
twinaphex
418f28b57a (dispserv_x11.c) Use snprintf instead of sprintf 2018-11-25 17:09:00 +01:00
twinaphex
8b86c49b39 Fix some warnings 2018-11-25 17:06:55 +01:00
twinaphex
4a4a6511e0 Workaround - fullscreen mode was no longer working properly 2018-11-25 10:08:50 +01:00
twinaphex
5313c50b0e (Windows) Saves/remembers window size now too - still some edge case
when clicking maximize button - you need to then move the window
slightly in order for x/y position to be saved - just clicking maximize
alone is not enough
2018-11-25 09:50:08 +01:00
twinaphex
e1afdf8c3c (Windows) Start implementing 'remember window positions'. Right now only
saves/remembers X, Y position
2018-11-25 09:02:32 +01:00
twinaphex
0eb8acd766 (Win32 display server) Try to set current resolution 2018-11-24 19:50:25 +01:00
twinaphex
7d9e564667 Turn some C++ comments into C comments 2018-11-24 19:40:14 +01:00
twinaphex
2945d450f3 Cleanups 2018-11-24 19:38:40 +01:00
Twinaphex
3d4fc5d38f
Merge pull request #7607 from Sunderland93/master
Wayland: xdg-shell support
2018-11-24 18:45:20 +01:00
Sunderland93
17fd203141 Waiting for the "initial" set of globals to appear
(fixed xdg_wm_base_ping working)
2018-11-24 20:52:22 +04:00
twinaphex
a561f789e2 Rename switch_resolution to set_resolution 2018-11-24 10:35:32 +01:00
twinaphex
7730828560 Start implementing dropdown list for resolution - Win32 right now at first - now need to make OK button do something 2018-11-24 10:31:41 +01:00
twinaphex
0ae3d3873d Create video_display_server_get_resolution_list 2018-11-24 02:50:04 +01:00
twinaphex
fdb4d2b6ad Add get_resolution_list for Win32 2018-11-24 02:47:22 +01:00
twinaphex
5d8666e226 Only one function calls EnumDisplaySettings now 2018-11-24 02:06:28 +01:00
twinaphex
45e075c8fe Cleanup 2018-11-24 01:54:39 +01:00
twinaphex
62c6d60c57 Revert "Cleanup shaders_common.h"
This reverts commit c1de2e5697.
2018-11-24 01:29:35 +01:00
twinaphex
c5b9352c34 Revert "Rename some files"
This reverts commit 03a8bc9875.
2018-11-24 01:26:05 +01:00
twinaphex
08d024ecad Revert "Get rid of the header guards in shaders_common.h/glsl_common.h"
This reverts commit eef67ee0cd.
2018-11-24 01:25:55 +01:00
twinaphex
eef67ee0cd Get rid of the header guards in shaders_common.h/glsl_common.h 2018-11-24 00:37:07 +01:00
twinaphex
03a8bc9875 Rename some files 2018-11-24 00:30:46 +01:00
twinaphex
c1de2e5697 Cleanup shaders_common.h 2018-11-23 23:57:22 +01:00
twinaphex
747bf136f2 Simplify strip_parameter_pragmas 2018-11-23 23:42:33 +01:00
Sunderland93
fbcab67d8b Fix wrong toplevel geometry 2018-11-23 23:04:06 +04:00
Sunderland93
cd8bf003d1 Add toplevel configuration 2018-11-23 21:23:53 +04:00
Sunderland93
9d5cb529c1 Add wait event for surface configure 2018-11-23 21:08:42 +04:00
Twinaphex
8514d6ccc8
Revert "Fix shader warnings" 2018-11-23 04:18:38 +01:00
Alfrix
3e7328b00a Fix shader warnings 2018-11-22 16:18:11 -03:00
Sunderland93
2615ad3f55 Make it works! 2018-11-21 21:28:32 +04:00
Sunderland93
b64f302eb7 Check for resize 2018-11-19 22:31:17 +04:00
Sunderland93
4d8defb4c9 Remove D-bus based screensaver inhibition
(will replaced to idle-inhibit in future)
2018-11-18 21:50:39 +04:00
Sunderland93
c32c98e667 Very WIP: xdg-shell support 2018-11-17 16:01:51 +04:00
jdgleaver
ca13805937 (3DS) Add 'bottom screen' enable to User Interface menu 2018-11-14 16:41:19 +00:00
Francisco Javier Trujillo Mata
8065e19cc1 Improve Initalisation of GSTextures 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
801927aaf5 Fixed issues with the colors. Now it is working fine with 2048 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
7fa7bd32d3 Now it supports force_aspect ratio 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
52544115db Add fullscreen parameter 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
4e1624359a Added Filter option in the creation of Textures 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
66159a44e5 Some clean in gfx 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
b4d2c5d85a Refactor method where transfer the frame to the textures 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
6b5ae4cdd6 Make more generic to choose the 32bits or 16bits 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
18dc40117d Applied color correction to the libretro core 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
b378ecf26b Test Core working with 2 textures 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
8a0266cf8d PS2 Input looks to be ready 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
21587ba2a4 Now RGUI shows fullscreen proper colors 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
f4680b03eb now it looks full screen 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
1f756533f9 First Content on the Screen!! 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
d7cc3b7983 PS2 making the gfx driver clean the screen 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
0880bd00b0 PS2 is compiling with null drivers 2018-11-09 22:40:50 +01:00
Themaister
afcd25a3f8 Vulkan: Fix scissor in menu driver. 2018-11-08 21:45:51 +01:00
Themaister
3f344660c0 Remove Windows \r line endings in glslang parser. 2018-11-08 21:34:21 +01:00
twinaphex
f271ea789d (VG) Buildfix 2018-11-06 20:58:41 +01:00
Stuart Carnie
fd2524429d
chore(meta): Cleanup 2018-11-06 07:56:05 -07:00
Stuart Carnie
8569ee79bc
feat(metal): Add scissor rect support
This is required for correct rendering of the ozone menu
2018-11-06 07:56:05 -07:00
Stuart Carnie
3a64ddc287
fix(metal): Enable GL context for HAVE_COCOA_METAL 2018-11-05 06:54:46 -07:00
Stuart Carnie
dde3545600
chore(cocoa): Revert to using cocoa_gl_ctx.m; remove macos_ctx.m 2018-11-04 20:50:51 -07:00
Stuart Carnie
5c1075127b
chore(metal): Separate legacy GL and Metal source
* Forks of Cocoa / Cocoa Touch to *_metal.* version
* Reverted original GL Cocoa / Cocoa Touch versions
* GL and Metal projects still build
2018-11-04 20:50:50 -07:00
jdgleaver
7be48c8034 Add Normal2x CPU filter 2018-11-02 14:30:26 +00:00
twinaphex
624698d2d9 (Ozone) Add menu color theme 2018-10-27 16:51:17 +02:00
twinaphex
75d36ebc1f (Ozone) Button legend now responds to 'Menu Swap OK/Cancel' setting 2018-10-27 06:18:56 +02:00
twinaphex
07c45cadd1 Only display CRT SwitchRes settings if video display server is
implemented
2018-10-24 04:49:53 +02:00
Themaister
66e7c73193 Keep enable state the same after loading new overlay. 2018-10-18 23:37:45 +02:00
twinaphex
ebd8e5bbc2 Cleanup 2018-10-17 06:20:22 +02:00
Themaister
3f41cd533b Fix RGUI regression on Vulkan. 2018-10-16 23:29:17 +02:00
Brad Parker
a92a27a230 gdi: ignore menu_shader_pipeline setting 2018-10-16 10:30:57 -04:00
twinaphex
778c3fff73 (GL) Use shader_driver directly 2018-10-15 06:47:18 +02:00
twinaphex
9e2d688e1d Get rid of video_context_driver_get_context_data 2018-10-15 01:27:18 +02:00
twinaphex
6b03a95b8d Cleanup 2018-10-14 20:04:29 +02:00
twinaphex
454761a6ed Get rid of video_context_driver_bind_hw_render 2018-10-14 19:49:24 +02:00
twinaphex
2edd03361c Remove video_context_driver_check_window 2018-10-14 17:49:29 +02:00
twinaphex
c73d13d4bc Don't use video_context_driver_check_window anymore - go call it
directly
2018-10-14 08:40:00 +02:00
twinaphex
448d2d333c Set ctx_driver 2018-10-14 08:22:26 +02:00
twinaphex
e661cf3cfd Rewrite video_context_driver_init_first 2018-10-14 08:13:05 +02:00
twinaphex
2bca74bbaa Fix this 2018-10-14 08:00:42 +02:00
twinaphex
24e18fcce6 Simplify video_context_driver_init_first 2018-10-14 07:59:43 +02:00
twinaphex
4d6dfd163d Remove unused function 2018-10-14 06:00:26 +02:00
twinaphex
85c1de7d3a Cleanups 2018-10-11 05:05:21 +02:00
twinaphex
75f8e2e7a1 Revert 2018-10-11 03:52:38 +02:00
twinaphex
0782c3c820 Cleanups 2018-10-11 03:26:39 +02:00
Twinaphex
77f508dccb
Merge pull request #7411 from fr500/presets
fix auto shader preset loading in d3d10, d3d11, d3d12
2018-10-11 02:34:12 +02:00
radius
454efe03dc fix auto shader preset loading in d3d10, d3d11, d3d12 2018-10-10 19:02:36 -05:00
Brad Parker
2517670f80 gdi: remove unused variable 2018-10-10 17:54:38 -04:00
twinaphex
5b4473b948 Create gl_set_core_context 2018-10-10 18:24:41 +02:00
twinaphex
c3c169aeab Add this 2018-10-10 18:08:13 +02:00
twinaphex
f336fa0337 CXX_BUILD fixes 2018-10-10 16:38:13 +02:00
twinaphex
04cc181771 Cleanups 2018-10-10 16:18:29 +02:00
Twinaphex
1fae526337
Merge pull request #7403 from bparker06/gdi_imp
win32: Improvements to GDI drivers
2018-10-10 16:13:10 +02:00
Brad Parker
b9699f4780 gdi: texture load support, fix menu text alignment, support multi-line messages 2018-10-10 09:58:49 -04:00
twinaphex
c02536af08 Roll all this back 2018-10-09 20:42:47 +02:00
flyinghead
8d586e1a0c Do not force the requested hw context to be Open GL 2018-10-09 20:31:40 +02:00
flyinghead
c11e47b08a Checking for core context returns an error in GL3
This error should be ignored.
Mac build fix
2018-10-09 19:27:55 +02:00
Flyinghead
d4815084ec Update the rendering context with the GL version whether it is a core context 2018-10-09 17:58:36 +02:00
twinaphex
a27bce38cd Simplify gl_get_context 2018-10-09 16:46:40 +02:00
twinaphex
0b3ac4e39d Fix C++ comment 2018-10-09 15:28:09 +02:00
twinaphex
508e5efdd7 Revert "Should hopefully fix Reicast issues"
This reverts commit 509ecab3fe.
2018-10-08 18:54:26 +02:00
twinaphex
509ecab3fe Should hopefully fix Reicast issues 2018-10-08 15:39:00 +02:00
Brad Parker
826c77d523 style cleanup 2018-10-02 16:56:40 -04:00
twinaphex
bba6f438cf Cleanups; set pointer_enable for libnx 2018-10-01 21:42:05 +02:00
natinusala
fef4448ddb libnx: added touch support 2018-10-01 21:22:21 +02:00
twinaphex
85ed60cf9a Cleanups 2018-10-01 03:46:12 +02:00
Twinaphex
8548e00503
Merge pull request #7335 from fr500/master
use stb font in emscripten (untested)
2018-10-01 02:15:28 +02:00
twinaphex
60eb45c102 prevent some pointer grabbing 2018-10-01 02:00:07 +02:00
twinaphex
77fba6d58d (Vulkan) Silence warning 2018-10-01 00:41:29 +02:00
radius
3c8264e9f2 use stb font in emscripten (untested) 2018-09-30 17:41:24 -05:00
twinaphex
2125f92281 Silence warnings/cleanups 2018-09-30 13:43:56 +02:00
twinaphex
4c23fa02e9 (MSVC 2013) Fix build for rcheevos
(MSVC) Fix some warnings; unused variables, etc.
2018-09-30 13:38:58 +02:00
M4xw
373bf932b3 [LIBNX] Enable Stb font 2018-09-30 04:33:00 +02:00
M4xw
48056e41fc [LIBNX] Remove freetype again 2018-09-30 04:12:25 +02:00
twinaphex
fe8a9d7dc3 Cleanups 2018-09-30 03:09:49 +02:00
M4xw
b4ae829b3f [LIBNX] Workaround for freezes caused by freetype with video threaded, revert later 2018-09-29 03:01:41 +02:00
M4xw
a8555a76c5 [LIBNX] Fix Switch video driver with enabled GL build 2018-09-28 22:53:46 +02:00
twinaphex
1012416b67 Change size of video_driver_window_title to 512 2018-09-28 21:43:23 +02:00
M4xw
be2cba3200 [LIBNX] Mesa EGL backend has been fixed, remove workaround. 2018-09-27 20:02:30 +02:00
M4xw
fd155db9cc [LIBNX] Fix font driver 2018-09-27 01:23:29 +02:00
M4xw
cf097d7f42 [LIBNX] Implement OpenGL 2018-09-27 01:23:24 +02:00
alphanu1
e6b8dcf5b0
Added functions for new CRT SwitchRes options 2018-09-23 20:42:31 +01:00
alphanu1
c362a6d7f4
Added functions for new CRT SwitchRes options 2018-09-23 20:39:40 +01:00
Alfredo Monclus
599ed980c6 Fix linux icon (#7282) 2018-09-22 13:37:22 -04:00
Alfrix
244b3bed3d New 16x16 icon 2018-09-22 12:14:18 -03:00
alphanu1
e88e8ca614
Merge pull request #92 from libretro/master
update
2018-09-22 10:41:11 +01:00
alphanu1
eaeb4cc1b8
Low res LCD core fix for CRT 2018-09-22 10:39:28 +01:00
lifajucejo
1c097fbd5b gfxWaitForVsync not needed with libnx 1.4
- still honors ctx->vsync if enabled in _frame callback for throttling
2018-09-20 22:11:52 -04:00
Yoshi Sugawara
2b72a9151d Comment out unsupported code for iOS for now, so that it does not crash on startup; fix for building in Xcode 10 2018-09-19 22:09:29 -10:00
twinaphex
60f4e39092 Buildfix 2018-09-19 02:10:10 +02:00
Twinaphex
4f85ca5f9a
Merge pull request #7225 from fr500/master
WIP: [record] start whipping some sense into this feature
2018-09-17 06:16:13 +02:00
twinaphex
2c959d8ff1 (Display server) Add get_output 2018-09-17 03:40:17 +02:00
twinaphex
b5c6586b12 Change CRT switch resolution - add options 'Off/15 Khz/31Khz' 2018-09-17 01:30:49 +02:00
radius
16bd85b118 [recording] refactor recording_is_enabled no need to use a pointer for all of this 2018-09-15 21:09:41 -05:00
twinaphex
f21493947d vim - add RetroArch style conventions 2018-09-15 17:43:34 +02:00
twinaphex
2fc08ce394 (switch_nx_gx.c) Some style nits 2018-09-15 17:39:03 +02:00
misson20000
abd86058c6 fix attribution (it's a common mistake) 2018-09-15 03:28:08 -07:00
misson20000
fa76a3cb60 CRLF -> LF 2018-09-15 03:27:05 -07:00
twinaphex
ec5d046f4c Cleanups - get rid of strcmp references 2018-09-15 07:44:21 +02:00
M4xw
64edf5f879 [LIBNX] Fixups and bare minimum to function 2018-09-14 20:38:42 +02:00
twinaphex
7428fef4bc Cleanups 2018-09-12 21:50:11 +02:00
twinaphex
0158bbe4aa Add switch_nx_gfx.c 2018-09-12 21:44:53 +02:00
twinaphex
bf75e6b9d7 video_context_driver_swap_interval - add in safeguard 2018-09-12 07:16:33 +02:00
twinaphex
650c173125 Turn public functions into static functions 2018-09-12 06:39:07 +02:00
twinaphex
3c160a6eb4 Create video_driver_get_all_flags 2018-09-12 06:31:41 +02:00
twinaphex
3f8e3547f4 (GLX) swap_control_tear should now be implemented and working 2018-09-12 04:17:41 +02:00
twinaphex
914df58d2e (WGL) Adaptive Vsync should work now for WGL 2018-09-12 03:59:25 +02:00
twinaphex
98b20d4e5d (GLX/WGL) Start implementing adaptive VSync (swap_control_tear) for GLX/WGL pt. 1 2018-09-12 02:42:24 +02:00
twinaphex
4738ef545c Change interval type to signed int 2018-09-12 00:08:13 +02:00
Twinaphex
90580d2ae1
Merge pull request #7204 from alphanu1/master
Multiple fixes
2018-09-10 21:02:14 +02:00
alphanu1
f576266ace
Update dispserv_x11.c 2018-09-10 19:36:57 +01:00
Themaister
a1989afba9 Vulkan: Fix race condition in threaded mailbox emulation. 2018-09-10 19:35:13 +02:00
alphanu1
4328c075e8
fixes 2018-09-10 18:25:32 +01:00
alphanu1
6c2d11b414
re introduced snprintf 2018-09-10 18:12:44 +01:00
alphanu1
7c05922d36
xrandr spamming fix
also re introduced snprintf
2018-09-10 18:09:42 +01:00
alphanu1
340515a9fa
Update dispserv_x11.c 2018-09-10 18:08:49 +01:00
alphanu1
d8c36e5bb8
xrandr spamming fix 2018-09-10 17:42:33 +01:00
alphanu1
30d7ef898d
Xrandr sapmming fix 2018-09-10 17:39:52 +01:00
alphanu1
adb0542748
Merge pull request #84 from libretro/master
update
2018-09-10 17:35:58 +01:00
alphanu1
1b4439413c
Update dispserv_x11.c 2018-09-09 12:50:28 +01:00
alphanu1
cf4fff8d31
snprintf broke switching 2018-09-09 11:51:37 +01:00
twinaphex
bfdb75a30e Add ifdef 2018-09-09 01:28:09 +02:00
alphanu1
5c6fc6db7e
New Porch Calc, Matched against an oscilloscope 2018-09-08 22:11:31 +01:00
alphanu1
952b46f2c1
Fix for crt interlaced bug 2018-09-08 22:09:30 +01:00
Themaister
d338dac277 Only do mailbox emulation for fullscreen.
Too large impact on performance in Windowed mode.
2018-09-08 16:27:25 +02:00
Themaister
d39f66a738 Emulate mailbox by wrapping acquire in a thread.
Needed on nVidia Windows since they don't support timeout == 0 ...
2018-09-08 15:56:49 +02:00
Themaister
157d1e7e63 Only use mailbox emulation on AMD. 2018-09-08 11:47:58 +02:00
Themaister
66c4f8fd35 Make sure to always clear out swapchain_fence_signalled. 2018-09-08 11:47:58 +02:00
Themaister
9ebac87638 Vulkan: Emulate mailbox on Windows. 2018-09-08 11:47:58 +02:00
Themaister
af534f0fa8 Vulkan maintenance fixes.
- Use VkBuffer instead of linear VkImage for staging uploads.
  Not guaranteed to be supported, and desktop IHVs recommend using
  buffers.

- Fix validation error where swapchain recreation with reuse of the old
  VkSwapchainKHR does not create a fence properly, leading to validation
  error next time that swapchain index is observed.
2018-09-08 11:47:58 +02:00
Stuart Carnie
99f497de85 feat(Metal): Add support for screen shots 2018-09-02 17:55:02 -07:00
Stuart Carnie
9d22aacaa7 refactor: Add vertex buffer struct to ShaderTypes and remove global 2018-09-02 17:53:18 -07:00
Stuart Carnie
8a63ace201 Revert "fix(gfx): Move enum to end to avoid breaking existing configurations"
This reverts commit 93b79fa
2018-09-02 13:03:16 -07:00
Twinaphex
6463f7005b
Merge pull request #7174 from stuartcarnie/sgc-metal
Fix crashes for metal; buffer overflow in xmb; Metal fullscreen issue
2018-09-02 21:55:10 +02:00
Stuart Carnie
eadc3f4a91 fix(Metal): Fix SIGFAULT if any attribute is 0 2018-09-01 16:13:23 -07:00
Themaister
1d7dfc5f47 Fix glslang_format LUT.
Was logging wrong format names.
2018-09-01 22:46:47 +02:00
Stuart Carnie
802697fdec fix(Metal): Use textures for pixel conversion 2018-09-01 11:58:37 -07:00
Stuart Carnie
577d81071e fix(Metal): Cleanup shader logging messages 2018-09-01 11:58:37 -07:00
Stuart Carnie
93b79fac90 fix(gfx): Move enum to end to avoid breaking existing configurations
* `aspect_ratio_index` relies on the ordinal values not changing
2018-09-01 11:58:37 -07:00
twinaphex
d5fa379aa8 Update header 2018-09-01 03:54:47 +02:00
twinaphex
85f093e042 Change these to numbers 2018-08-31 21:25:33 +02:00
twinaphex
a58511ec00 Revert "Compatibility fixes for OSX PPC"
This reverts commit d7899c51aa.
2018-08-31 19:20:10 +02:00
twinaphex
1265d7546c Revert "Start using raw constants for OSX version detection"
This reverts commit ab34a70873.
2018-08-31 19:19:42 +02:00
twinaphex
ab34a70873 Start using raw constants for OSX version detection 2018-08-30 16:35:44 +02:00
neville
d7899c51aa Compatibility fixes for OSX PPC 2018-08-30 16:18:51 +02:00
Twinaphex
ea87bb5a1d
Merge pull request #7122 from orbea/vulkan
Fix segfaults when starting vulkan without a working vulkan driver.
2018-08-27 18:59:00 +02:00
twinaphex
8a5d092e5b (dispserv_x11.c) Make variable bigger to avoid all the warnings and use snprintf 2018-08-27 16:09:12 +02:00
orbea
260ce526c2 Fix segfaults when starting vulkan without a working vulkan driver.
RetroArch will crash in several places when running vulkan in an
environment that does not have working vulkan drivers.

This should guard against those crashes and allow RetroArch to fail
safely in those cases.
2018-08-24 19:36:03 -07:00
orbea
d8ea30881d Default to gl instead of vulkan.
If the video_driver is set incorrectly it will default to vulkan
instead of gl. However its possible to have RetroArch built with
vulkan even with no working vulkan drivers and this will cause a
segfault.

Defaulting to gl again should be a safer default which should crash
for fewer users.

Fixes https://github.com/libretro/RetroArch/issues/5568.
2018-08-24 13:55:09 -07:00
Brad Parker
4d09ddde1c Qt: limit shader preset/pass selection to the appropriate extensions 2018-08-20 20:26:50 -04:00
Brad Parker
e4834250b9 Qt: set shader dialog title to current preset/shader name 2018-08-18 12:39:17 -04:00
twinaphex
90efa02718 Fix more scan-build issues 2018-08-18 16:16:17 +02:00
twinaphex
646e64c28c Fix some clang scan-build warnings/errors 2018-08-18 15:56:44 +02:00
Brad Parker
16459bfa91 Qt: add filter/scale to shader window 2018-08-18 00:33:59 -04:00
twinaphex
ae0d9fd60d (Wayland) Buildfixes 2018-08-17 17:42:14 +02:00
twinaphex
7250181319 Add some __WINRT__ ifdefs 2018-08-17 14:51:27 +02:00
Brad Parker
e2ff7478ca don't return uninitialized data 2018-08-17 07:49:25 -04:00
twinaphex
4a54826d9b Remove unused variable 2018-08-16 21:14:56 +02:00
twinaphex
a1d5b0fd03 Update MSVC 2012 solution 2018-08-16 20:49:31 +02:00
Brad Parker
12539f310d use strl functions 2018-08-16 13:51:44 -04:00
twinaphex
75a388cd67 Use strlcpy instead of strncpy in slang_process.cpp 2018-08-16 10:14:42 +02:00
twinaphex
6266065384 Fix more code when compiling without menu support 2018-08-16 09:59:51 +02:00
twinaphex
921e52e64f Remove old leftover buggy Win32 driver 2018-08-16 00:05:09 +02:00
Twinaphex
eee287074c
Merge pull request #7077 from bparker06/wimp_shader_param
Qt: Initial shader parameters window
2018-08-15 21:36:34 +02:00
Twinaphex
4d96fddf5e
Merge pull request #7061 from wiktorek140/sailfishos-touch
Sailfish OS  device build configuration connected with touch screen support required for device with this OS
2018-08-15 13:30:04 +02:00
Brad Parker
341cf63399 Qt: show shader pass in parameters window, reload shader params when shader is reloaded 2018-08-14 21:38:52 -04:00
Brad Parker
560149857b shaders: track the pass for each parameter 2018-08-14 18:46:32 -04:00
Brad Parker
4a86d29810 shaders: fix memory leak 2018-08-14 18:44:19 -04:00
Brad Parker
6de4384350 glsl: don't clear the shader source 2018-08-14 18:42:23 -04:00
twinaphex
a6941fb4ed Initial work done on VS2017 solution for Android 2018-08-14 16:02:31 +02:00
twinaphex
6a64e27e3d (D3D8) Add HAVE_MENU ifdefs 2018-08-14 11:41:43 +02:00
twinaphex
db9f4697f6 Add HAVE_MENU ifdefs 2018-08-14 11:40:42 +02:00
Wiktor Strzębała
45799ee034 Bring up touch support for wayland subsystem for sailfish os devices
Touch code cleanup
Make variabled static as suggest bparker06
C89 compilation error fix (at least for loops)
More C89 fixes

Signed-off-by: Wiktor Strzębała <wiktorek140@tlen.pl>
2018-08-09 20:49:27 +02:00
Tatsuya79
e48b9011bf Don't adjust audio for VRR. Silence log message about it. 2018-08-09 12:29:40 +02:00
twinaphex
aec7ed40da This crashed Wayland 2018-08-01 01:15:58 +02:00
Sven
c750235414
Merge branch 'master' into cheater 2018-07-26 19:40:20 -04:00
Sven
5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
twinaphex
9c0ed0f2c4 Don't use core profile GLSL shaders for OpenGLES 2018-07-18 10:06:30 +02:00
twinaphex
eb345019c2 Don't implement bind_block/flush_block for drivers that
don't implement it
2018-07-15 20:16:40 +02:00
Stuart Carnie
0291c41afa fix(Metal): Fix blank screen after full screen toggle; window focus 2018-07-14 11:18:21 -07:00
Twinaphex
a68a22081c
Merge pull request #6989 from Dwedit/win32_message_loop_threaded_video_fix
Move win32 message loop, now compatible with threaded video
2018-07-14 06:12:07 +02:00
Dwedit
fa00eda625 Relocation of Win32 Message Loop Fix is now tied to whether threaded video is enabled or not
Menu bar is removed if threaded video is enabled, due to code currently being unsafe when using threaded video.
2018-07-13 22:34:03 -05:00
twinaphex
0df98a53a6 Use video_driver_is_threaded_internal from within gfx/video_driver.c 2018-07-14 05:24:28 +02:00
twinaphex
cc473a25b9 Add video_driver_is_threaded 2018-07-14 05:23:03 +02:00
twinaphex
0d39701145 Get rid of double void argument 2018-07-14 00:54:14 +02:00
twinaphex
600c2c1ca1 Simplify menu_display_font 2018-07-14 00:39:46 +02:00
twinaphex
abc6eb7d8c Revert "Re-revert this - causes issues with toggling fullscreen with threaded"
This reverts commit 52a55695ce.
2018-07-14 00:22:52 +02:00
twinaphex
4758caea74 Commenting this out for now - this causes crashes with
toggling fullscreen in threaded video mode with the GL driver
2018-07-14 00:21:27 +02:00
twinaphex
52a55695ce Re-revert this - causes issues with toggling fullscreen with threaded
video mode and GL driver
2018-07-14 00:10:21 +02:00
twinaphex
38a35e53fd Revert "Move Message loop call to right before video_driver_get_status call"
This reverts commit 838dcc8a5a.
2018-07-14 00:01:25 +02:00
Brad Parker
367689a3f9 add enum for 21:9 aspect 2018-07-13 15:30:48 -04:00
Brad Parker
637ded4ef1 add 21:9 aspect ratio 2018-07-13 15:29:07 -04:00
Stuart Carnie
13a9aca88a fix(Metal): Render search box correctly 2018-07-12 23:15:24 -07:00
Stuart Carnie
167ad3b57d fix(Metal): Various Metal fixes
* OSD message background
* clear glui background
* add Metal to configuration
* added optional config to compile Metal build without OpenGL
* fixed fill_pathname_join_delim; if out_path and dir are same, don't
  strlcpy, as the results are undefined.
2018-07-12 21:33:18 -07:00
Brad Parker
dbfccb25dd sixel: fix context init 2018-07-12 22:59:05 -04:00
Brad Parker
ab27b7c85f initial SIXEL video driver 2018-07-12 16:55:08 -04:00
twinaphex
6b5ade4ac3 Should be no more deprecated warnings with core context GL for menu
shaders
2018-07-12 22:03:37 +02:00
twinaphex
60d7d1c793 Add xmb ribbon simple core shader 2018-07-12 21:34:17 +02:00
twinaphex
140e657d51 (GLSL) Add logging for compiling menu shaders 2018-07-12 21:25:39 +02:00
Brandon Wright
c81aab345c Lock sizes of enum fields at 32 bits. 2018-07-11 16:37:37 -05:00