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
aliaspider
5bc78d3ad5
(D3D11) Implement slang shader specification using Spirv-Cross.
...
(incomplete)
2018-01-31 01:08:36 +01:00
twinaphex
4aca11693e
video_shader_driver_reset_to_defaults - early return if current_shader
...
is NULL
2018-01-26 04:14:44 +01:00
Brad Parker
f087b150c9
Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now)
2018-01-25 15:50:57 -05:00
twinaphex
c227ce5ed2
Correct typo
2018-01-24 22:16:06 +01:00
twinaphex
e79c19e52a
Ifdef this for HAVE_D3D12
2018-01-24 21:38:32 +01:00
aliaspider
30d5cd1a07
(D3D10/11/12) add viewport settings.
...
- move some common routines to video_driver.c
2018-01-24 15:00:32 +01:00
aliaspider
a5bf9d8dc6
(D3D10/11/12)
...
.add a d3d10 driver.
.add more utility functions to d3d*_common files.
.add an image transfer/convert function to dxgi_common.
.various refactors / style nits.
2018-01-23 18:04:55 +01:00
twinaphex
673a190d84
Merge d3d8_renderchain into d3d8.c
2018-01-23 07:18:46 +01:00
twinaphex
4b6c4e5a6a
BUildfix for D3D enum
2018-01-23 04:25:37 +01:00
twinaphex
d3c2d90a2c
BUildfix
2018-01-23 03:53:35 +01:00
twinaphex
7e56ecba4b
Cleanups
2018-01-23 03:22:00 +01:00
twinaphex
6cb2159a50
Buildfix for D3D8 renderchain
2018-01-23 03:00:34 +01:00
twinaphex
d28d14079a
Create separate D3D8 and D3D9 drivers
2018-01-23 02:55:33 +01:00
aliaspider
094196220d
(D3D11/D3D12) initial video driver implementation.
...
- some headers from the windows 10 sdk need to be added to the include
path when targeting mingw :
d3d11.h
d3d11sdklayers.h
d3d12.h
d3d12sdklayers.h
d3d12shader.h
d3dcommon.h
d3dcompiler.h
2018-01-21 04:10:45 +01:00
twinaphex
11f26ed549
Refactor verbosity code - try to avoid log calls if verbosity is not
...
set
2018-01-17 06:28:26 +01:00
twinaphex
a8445c3ec4
D3D8 buildfix
2018-01-03 20:23:34 +01:00
twinaphex
e87cd7382e
Silence warning
2018-01-02 06:41:52 +01:00
twinaphex
cf3a010ead
Remove some HAVE_MENU ifdefs
2017-12-31 17:42:07 +01:00
twinaphex
8c2070947e
Prevent some warnings
2017-12-29 13:00:24 +01:00
misson20000
6d2a7b1f26
Nintendo Switch (libtransistor) port
2017-12-29 00:10:01 +01:00
radius
a7f989fdb6
fix fullscreen toggle
2017-12-17 13:16:40 -05:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker
247b9ea973
add menu setting for window opacity, includes generic display server interface
2017-12-11 18:12:42 -05:00