twinaphex
ebae7ebc79
Input driver - Get rid of 'own driver' mechanism
2019-02-27 17:17:34 +01:00
twinaphex
829aedc6e2
(Video/Audio) Remove 'own driver' mechanism
2019-02-27 17:09:15 +01:00
Brad Parker
f5f492845f
add setting for screen orientation, with initial android implementation
2019-02-21 00:31:55 -05:00
twinaphex
158a442036
Add further HAVE_OPENGL1 support
2019-02-17 10:42:16 +01:00
alphanu1
e11c910c39
Fix native naming after new additions
...
CRT dynamic width changes
Change menu detection width
Using alternative variables for CRT width and height
see output
Add files via upload
Add files via upload
Add files via upload
Add files via upload
Add files via upload
Add files via upload
Add files via upload
Add files via upload
Add files via upload
Add files via upload
Add files via upload
Update video_crt_switch.c
Update video_crt_switch.c
Update video_display_server.h
Update video_display_server.c
Update dispserv_win32.c
Update dispserv_x11.c
Update menu_cbs_ok.c
X centring on the fly
X centring on the fly
Update dispserv_x11.c
X centring on the fly
Update dispserv_win32.c
Fix dispserv_win32.c
Fix dispserv_win32.c
2019-02-12 21:23:13 +00:00
alphanu1
c9c3c626e8
turn dynamic super res off on the fly
2019-02-12 11:23:53 +00:00
alphanu1
a76c1f4c51
Removed CRT setting video driver build info
2019-02-12 10:10:35 +00:00
alphanu1
f7d2fbd212
fix for dynamic super resolutions
2019-02-12 10:04:41 +00:00
alphanu1
14b80cc3e1
incorporation of dynamic super res
...
Closer to native look super resolution. Used to prevent artefacts
2019-02-12 09:44:06 +00:00
twinaphex
49bade15ae
(video_driver.c) Cleanups
2019-02-12 06:22:50 +01:00
twinaphex
a51acb8377
Buildfix
2019-02-12 04:03:10 +01:00
Brad Parker
d64933b30d
gl1: put behind HAVE_OPENGL1, off by default for now
2019-02-08 16:04:23 -05:00
Brad Parker
74fd184097
initial GL1 video driver, only rgui is working currently
2019-02-08 12:14:55 -05:00
twinaphex
7022786f34
Revert parts of menu_widgets that were causing breakage, but leave
...
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
twinaphex
1e394091d8
Namespace GL2 driver
2019-02-06 19:43:31 +01:00
twinaphex
0a04a1c80a
(GL) Cleanups
2019-02-05 02:27:08 +01:00
twinaphex
9877e1ce3e
(GL) Cleanups
2019-02-05 02:12:42 +01:00
twinaphex
5102eff399
(GL) Move GL-only shader code to gl.c
2019-02-05 01:13:39 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
4c56167446
Convert to linux line endings.
2019-02-03 15:43:42 -08:00
twinaphex
4cbbd3470b
Revert "Simplify video_driver_set_mvp"
...
This reverts commit 1dd89e1bce
.
2019-02-03 19:40:48 +01:00
twinaphex
4aadd53d80
Revert "Get rid of video_shader_driver_scale"
...
This reverts commit 256b28fa2a
.
2019-02-03 19:40:36 +01:00
twinaphex
1eeb58c5dd
Revert "Cleanups"
...
This reverts commit 4554669750
.
2019-02-03 19:40:27 +01:00
twinaphex
5a45464bb3
Revert "Reimplement video_driver_set_coords"
...
This reverts commit 93ded925d3
.
2019-02-03 19:40:21 +01:00
twinaphex
43884758c5
Revert "(GL) Cleanups"
...
This reverts commit 5bab7e4460
.
2019-02-03 19:40:15 +01:00
twinaphex
5bab7e4460
(GL) Cleanups
2019-02-03 18:38:18 +01:00
twinaphex
93ded925d3
Reimplement video_driver_set_coords
2019-02-03 18:29:00 +01:00
twinaphex
dd366cd5c5
Revert "Simplify set_coords"
...
This reverts commit e10eb51f71
.
2019-02-03 18:05:14 +01:00
twinaphex
e10eb51f71
Simplify set_coords
2019-02-03 18:03:07 +01:00
twinaphex
4554669750
Cleanups
2019-02-03 17:49:31 +01:00
twinaphex
256b28fa2a
Get rid of video_shader_driver_scale
2019-02-03 17:39:25 +01:00
twinaphex
67e777767c
Revert "Remove video_shader_driver_get_ident"
...
This reverts commit 0814cc34ee
.
2019-02-03 07:07:50 +01:00
twinaphex
0814cc34ee
Remove video_shader_driver_get_ident
2019-02-03 07:06:57 +01:00
twinaphex
1dd89e1bce
Simplify video_driver_set_mvp
2019-02-03 06:53:02 +01:00
twinaphex
add4ac00eb
Cleanups
2019-02-03 06:28:27 +01:00
twinaphex
0db583c245
Get rid of video_shader_driver_compile_program
2019-02-03 05:52:41 +01:00
twinaphex
9a04c4c67b
Get rid of video_shader_driver_get_prev_textures
2019-02-03 05:49:18 +01:00
twinaphex
000787837e
Cleanups
2019-02-03 05:41:43 +01:00
twinaphex
7e92468508
Get rid of video_shader_driver_filter_type
2019-02-03 05:28:00 +01:00
twinaphex
6f7d67aa77
(GL/video driver) More cleanups
2019-02-03 05:07:29 +01:00
twinaphex
845c8d1757
Get rid of more video_shader_driver functions
2019-02-03 05:05:23 +01:00
twinaphex
7e81ac4218
Get rid of video_shader_driver_mipmap_input
2019-02-03 04:47:52 +01:00
twinaphex
9aa542b1ae
* Get rid of video_shader_driver_use
...
* Get rid of Nuklear - ozone/menu widgets is probably the replacement
for it - Zarch will go next
2019-02-03 04:37:54 +01:00
alphanu1
76bf63f905
RPi Additions new switching method
...
Partil new switching method
2019-01-30 20:17:32 +00:00
Brad Parker
90db5e7e27
Implement in-menu sound effects
2019-01-27 11:22:16 -05:00
M4xw
7d186f7d2c
Revert PR #8043
2019-01-20 20:06:57 +01:00
Nano
c017271d8a
Fix #6747 Black bug
2019-01-19 10:26:06 +01:00
benoa
10723bca01
Wii: Fix Gamma setting not saved.
2019-01-10 18:18:20 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Twinaphex
22e54dfc6b
Merge pull request #7839 from frangarcj/orbis2
...
[WIP] ORBIS / PS4 Port
2018-12-30 01:04:50 +01:00
krzys-h
4fb06703b3
Port d3d12 driver for UWP
2018-12-28 22:10:26 +01:00
krzys-h
b201d669b5
First iteration of UWP support
...
Enough to kind of run
Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
Francisco José García García
48167d46bc
[ORBIS] Initial video context driver
2018-12-28 01:27:13 +01:00
Tatsuya79
c0cada4b55
Fix title window fps counter.
2018-11-30 00:30:12 +01:00
grant2258
b89410043a
add missing %s
2018-11-28 08:22:33 +00:00
dukemiller
1d14512cb0
Allow framecount to be displayed independently without fps counter
2018-11-27 21:32:15 -07:00
radius
aab6a86633
only apply fixed window size when the setting is enabled
2018-11-26 21:15:03 -05:00
radius
1187df922a
restore old functionality till the change is done in other platforms
2018-11-25 17:24:54 -05:00
radius
c2fc35f2cc
repurpose the old settings to the new window sizing code
2018-11-25 11:10:58 -05: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
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
Stuart Carnie
3a64ddc287
fix(metal): Enable GL context for HAVE_COCOA_METAL
2018-11-05 06:54:46 -07: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
ebd8e5bbc2
Cleanup
2018-10-17 06:20:22 +02: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
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
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
60eb45c102
prevent some pointer grabbing
2018-10-01 02:00:07 +02:00
twinaphex
fe8a9d7dc3
Cleanups
2018-09-30 03:09:49 +02:00
twinaphex
1012416b67
Change size of video_driver_window_title to 512
2018-09-28 21:43:23 +02:00
M4xw
cf097d7f42
[LIBNX] Implement OpenGL
2018-09-27 01:23:24 +02:00
alphanu1
c362a6d7f4
Added functions for new CRT SwitchRes options
2018-09-23 20:39:40 +01:00
twinaphex
b5c6586b12
Change CRT switch resolution - add options 'Off/15 Khz/31Khz'
2018-09-17 01:30:49 +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
914df58d2e
(WGL) Adaptive Vsync should work now for WGL
2018-09-12 03:59:25 +02:00
twinaphex
4738ef545c
Change interval type to signed int
2018-09-12 00:08:13 +02:00
alphanu1
952b46f2c1
Fix for crt interlaced bug
2018-09-08 22:09:30 +01: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
341cf63399
Qt: show shader pass in parameters window, reload shader params when shader is reloaded
2018-08-14 21:38:52 -04:00
Tatsuya79
e48b9011bf
Don't adjust audio for VRR. Silence log message about it.
2018-08-09 12:29:40 +02: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
Brad Parker
637ded4ef1
add 21:9 aspect ratio
2018-07-13 15:29:07 -04:00
Brad Parker
ab27b7c85f
initial SIXEL video driver
2018-07-12 16:55:08 -04:00
Dwedit
41ce61974d
A hack to invalidate the `frame_cache_data` pointer during the following events:
...
Load Game, Reset, Init, Unload, Unload Game, Video Driver Destroy, Video Driver Free, Video Driver Init
This prevents an invalid pointer from being read if the first frame starts out paused.
2018-07-06 09:53:31 -05:00
Stuart Carnie
411bcf8bdd
feat(apple): Metal support for macOS
...
* includes rgui
* shader support
This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex
3aba080434
Integrate HLSL code into d3d9_hlsl_renderchain.c
2018-05-16 15:52:11 +02:00
Dwedit
bafb23edc3
Additional null check in video_driver.c
...
I have managed to trigger a null pointer exception on one of these two functions, so for safety, I added in null checks for the structs and function pointers.
2018-05-09 19:25:33 -05:00
Brad Parker
a1aefc901c
Qt WIMP GUI
2018-04-30 14:33:05 -04:00
twinaphex
2760586086
Cleanups
2018-04-24 04:46:13 +02:00
twinaphex
d6c17178a3
Add some logging for shader backend setup
2018-04-23 18:25:41 +02:00
twinaphex
c4c8699ee3
Only show max swapchain images if supported by video driver and/or
...
context driver
2018-04-23 13:34:30 +02:00
twinaphex
dae0f36a20
Some cleanups
2018-04-21 15:00:35 +02:00
twinaphex
ec2267daa6
Cleanups
2018-04-16 04:35:23 +02:00
twinaphex
4cc3cf7344
Only restore resolution through resolution switch if CRT
...
switch mode was ever actually used
2018-04-16 03:19:33 +02:00
Brandon Wright
533f898132
Add get refresh rate context function. Implement for X11 and Wayland.
2018-04-15 17:56:12 -05:00
twinaphex
6d00810716
Simplify video_driver_monitor_adjust_system_rates
2018-04-15 19:38:01 +02:00
twinaphex
dc7c4fea2d
Prevent Coverity warning
2018-04-15 18:31:46 +02:00
twinaphex
87cf910396
(CRT switch) Cleanups
2018-04-15 17:12:28 +02:00
Twinaphex
a2516d23a3
Merge pull request #6469 from alphanu1/master
...
CRT Switchres Capabilities
2018-04-15 16:56:15 +02:00
twinaphex
97cf6613da
(XMB/Shaders) Reimplement menu shader loading for GLSL/Cg/HLSL backends - if
...
XMB is selected, it will compile the shader pipelines in
advance
2018-04-12 02:20:17 +02:00
twinaphex
f071e8b440
Solve more Clang static analysis warnings
2018-04-09 16:42:12 +02:00
alphanu1
9524203051
Add files via upload
...
Amended braces and function calls.
2018-03-31 15:17:55 +01:00
twinaphex
ef039c2c08
Cleanups
2018-03-29 22:39:41 +02:00
alphanu1
d06386d0a5
Add files via upload
...
Variables removed from headers.
2018-03-29 17:54:46 +01:00
alphanu1
024b23aa2c
Add files via upload
2018-03-26 20:29:34 +01:00
alphanu1
3b9036cc79
Add files via upload
...
Requested changes
2018-03-26 20:22:35 +01:00
alphanu1
51276a682f
Add files via upload
...
Changed variable names
2018-03-26 17:18:43 +01:00
alphanu1
b30aca2d6d
CRT
2018-03-26 16:08:29 +01:00
twinaphex
875450e228
Statistics - add sample count
2018-03-24 15:42:45 +01:00
twinaphex
33d99fe75b
Add fps / ms metrics to statistics
2018-03-24 15:39:02 +01:00
twinaphex
1fb7d14b36
Add audio statistics
2018-03-24 12:38:25 +01:00
twinaphex
647f1a48a6
Add max size to statistics
2018-03-24 12:08:43 +01:00
Twinaphex
473d978d78
Merge pull request #6444 from Dwedit/original_suggestion
...
Functions to suspend and resume audio and video, and environment function for core to query status of enabled/disabled audio and video
2018-03-24 09:54:47 +01:00
Dwedit
7deeb6d2fa
Functions to enable and disable audio and video, and an environment function to query status of audio and video enables
2018-03-23 14:12:05 -05:00
twinaphex
4d1b4f905f
Start adding OSD statistics - doesn't work yet for SDL2/SDL
2018-03-23 17:43:49 +01:00
twinaphex
0ece3d8397
Start implementing frame_time/frame_count to video_info
2018-03-23 13:30:30 +01:00
twinaphex
32b2808fe0
Revert "Turn scaler_ctx_scale_direct into inline function"
...
This reverts commit d51edd8239
.
2018-03-14 23:48:47 +01:00
twinaphex
d51edd8239
Turn scaler_ctx_scale_direct into inline function
2018-03-11 18:14:17 +01:00
twinaphex
0ec5ce8cfe
Get rid of d3d context drivers
2018-03-02 17:23:43 +01:00
twinaphex
9606db6f79
Start untangling more functions from context driver
2018-03-02 16:38:57 +01:00
twinaphex
4c08bdc0e9
Add GFX_CTX_GX_API
2018-03-01 22:22:13 +01:00
twinaphex
16c1bd7a03
Create context get_api function
2018-03-01 21:16:54 +01:00
twinaphex
128dff15ab
Add better fallback in case current_video_context_api is none
2018-03-01 18:15:04 +01:00
twinaphex
c8028f3150
Set current_video_context_api for GL and Vulkan
2018-03-01 17:51:55 +01:00
twinaphex
fbead501f3
Move SHADER_DIR_INIT to end of video driver init function
2018-02-26 19:33:27 +01:00
twinaphex
696fa900a1
Refactor macro functions which were unsafe
2018-02-26 18:08:17 +01:00
twinaphex
5b79d2b942
Refactor video_shader_driver_set_parameters
2018-02-26 17:51:52 +01:00
twinaphex
5665e27324
Nits
2018-02-26 15:12:19 +01:00
twinaphex
964e9db588
Reduce calls to video_driver_get_ptr - set it once for
...
video_frame_info_t
2018-02-16 17:19:55 +01:00
twinaphex
1e2d8de9ca
Move renderchain code to the relevant files
2018-02-16 11:24:10 +01:00
radius
789897481b
fix a bug with the || clean-up, tried to clean up the whole thing a bit
2018-02-14 22:32:19 -05:00
radius
5b99a74cd8
remove the empty || that is shown when FPS display is disabled
2018-02-13 22:43:34 -05:00
aliaspider
37bebb5b65
(D3D12) slang shaders support.
2018-02-11 00:00:20 +01:00
radius
ce5b481fc8
android build fix
2018-02-07 21:26:03 -05:00
radius
4eb7ca5db1
better fix for shader next / shader prev
2018-02-07 21:26:03 -05:00
radius
37454f79a8
fix SHADER_NEXT/SHADER_PREV
2018-02-07 21:26:00 -05:00
twinaphex
88cb40834c
Style nits
2018-02-02 22:50:07 +01:00
Twinaphex
f096e667d8
Merge pull request #6204 from aliaspider/master
...
(D3D11) Implement slang shader specification using Spirv-Cross.
2018-02-01 16:33:58 +01:00
twinaphex
b0013dbd68
Cleanups
2018-01-31 22:49:19 +01:00