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 d51edd82392df7c7b63926f8b3ca151635ed7003.
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