twinaphex
715ddf1924
(WiiU/GX2) Add widget support (untested)
2019-02-07 02:03:48 +01:00
twinaphex
f49b6e26a0
(Metal) Add menu widget support
2019-02-07 02:00:23 +01:00
twinaphex
4b2fdfad48
(D3D10/12) Add menu widgets support - text offset is wrong
2019-02-07 01:40:15 +01:00
twinaphex
dd21cfd825
(D3D11) Implement menu widgets - offset is wrong
2019-02-07 00:43:36 +01:00
twinaphex
fb121ac75e
(Vulkan) Hook up menu widgets
2019-02-07 00:15:32 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
twinaphex
c48febc4f9
(GL2) Cleanups
2019-02-06 19:49:45 +01:00
twinaphex
1e394091d8
Namespace GL2 driver
2019-02-06 19:43:31 +01:00
orbea
c9b0ba1123
Fix travis warnings.
2019-02-05 11:27:01 -08:00
twinaphex
1b79f08715
(GL) Use set_coords function directly
2019-02-05 02:24:13 +01:00
twinaphex
ba9de324bf
Simplify gl.c
2019-02-05 02:19:16 +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
Twinaphex
7fedabee4b
Merge pull request #8163 from orbea/cleanup
...
Cleanup
2019-02-04 23:19:05 +01:00
twinaphex
845b30131f
Cleanups
2019-02-04 23:17:39 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -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
b7cee0a633
Merge pull request #8154 from orbea/nuklear
...
Further remove nuklear.
2019-02-03 06:42:05 +01:00
twinaphex
add4ac00eb
Cleanups
2019-02-03 06:28:27 +01:00
orbea
af813d9c46
Further remove nuklear.
2019-02-02 20:58:47 -08: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
9b233f71ac
Buildfixes
2019-02-03 05:32:03 +01:00
twinaphex
7e92468508
Get rid of video_shader_driver_filter_type
2019-02-03 05:28:00 +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
twinaphex
633ad1788d
Turn this into static function
2019-02-03 00:13:41 +01:00
twinaphex
91f8e8465a
(GL) Cleanups
2019-02-03 00:11:41 +01:00
twinaphex
97dc77b940
(GL) renderchain interface is gone now
2019-02-03 00:07:53 +01:00
twinaphex
1a6d0b2ce4
Update
2019-02-02 21:52:33 +01:00
twinaphex
0c0ab19b11
(GL) We don't need gl_common.c anymore
2019-02-02 21:47:31 +01:00
twinaphex
350b0dd1a2
gl_add_lut can now become a static function inside gl.c
2019-02-02 21:34:02 +01:00
twinaphex
90f1317498
Cut down on code duplication - create gl_load_luts
2019-02-02 21:32:37 +01:00
twinaphex
2560d1c105
Move gl_load_texture_data to gl_common.c
2019-02-02 17:33:58 +01:00
twinaphex
987a91a1ae
Silence some warnings
2019-01-31 21:24:13 +01:00
Brad Parker
5ea97cccb9
win32: force video driver to gdi if no accelerated graphics driver is found
2019-01-31 09:48:10 -05:00
twinaphex
406d927f6b
(D3D11) Comment out performance counter
2019-01-29 08:57:06 +01:00
natinusala
04b2ffcb9e
Fix scissoring for d3d10 and d3d11
2019-01-28 19:23:46 +01:00
Twinaphex
e8e384aa4f
Merge pull request #8076 from jdgleaver/rgui-vulkan-linear
...
(Vulkan) Enable RGUI 'Menu Linear Filter' option (please review)
2019-01-28 16:00:18 +01:00
Brad Parker
8b6676e17f
d3d9: implement scissor test
2019-01-26 20:13:39 -05:00
Brad Parker
29a07895b9
implement scissor test for D3D10/11, fixes #7897
2019-01-26 18:52:49 -05:00
jdgleaver
11af72286b
(Vulkan) Enable RGUI 'Menu Linear Filter' option
2019-01-23 11:55:17 +00:00
M4xw
7d186f7d2c
Revert PR #8043
2019-01-20 20:06:57 +01:00
twinaphex
4350073265
Revert "Revert "Fix function signature of metal_unload_texture""
...
This reverts commit 1a7d69621f
.
2019-01-20 17:34:38 +01:00
twinaphex
1a7d69621f
Revert "Fix function signature of metal_unload_texture"
...
This reverts commit bd16d5c9dc
.
2019-01-20 17:33:07 +01:00
Twinaphex
bd16d5c9dc
Fix function signature of metal_unload_texture
2019-01-20 03:31:45 +01:00
twinaphex
8349f9217c
Warning cleanup
2019-01-20 01:52:20 +01:00
twinaphex
22e99568ed
Small cleanups
2019-01-20 00:48:02 +01:00
Twinaphex
b99ad352e3
Merge pull request #8043 from daliaetnano/fix-6747-black-bug
...
Fix #6747 Black bug
2019-01-20 00:17:37 +01:00
orbea
46676289d4
Fix segfault with a null gl context.
2019-01-19 13:56:39 -08:00
Nano
c017271d8a
Fix #6747 Black bug
2019-01-19 10:26:06 +01:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Francisco Javier Trujillo Mata
3706aa9904
ClearVRAM detection improved
2019-01-16 22:57:08 +01:00
Francisco Javier Trujillo Mata
f7c9bc4e61
Make GFX PS2 support palette in the cores
2019-01-16 22:57:08 +01:00
Francisco Javier Trujillo Mata
a5d381eced
Improve VRAM clear detection
2019-01-13 20:19:21 +01:00
Francisco Javier Trujillo Mata
ba75b1f4b3
Enable the possibility to disable VSync
2019-01-13 19:15:52 +01:00
twinaphex
7ad34509e7
Silence more CXX_BUILD warnings
2019-01-12 21:16:48 +01:00
twinaphex
6ca9afbd57
Silence more warnings with CXX_BUILD
2019-01-12 18:51:06 +01:00
twinaphex
4c8e5e07c0
Fix some CXX_BUILD errors
2019-01-12 18:35:14 +01:00
M4xw
c111b4a7f0
Fix double semicolon and format line endings
2019-01-11 23:48:52 +01:00
Francisco Javier Trujillo Mata
7b175496ce
[PS2] Clean screen before the core start
2019-01-11 14:42:47 +01:00
Twinaphex
01397f008a
Revert "Fix issue #6747 black bug"
2019-01-10 22:52:13 +01:00
Twinaphex
e4f9aebbd3
Merge pull request #7973 from daliaetnano/fix-2791-black-bug
...
Fix issue #6747 black bug
2019-01-10 22:36:40 +01:00
twinaphex
b9ff2e4de1
Fix some static code analysis warnings from MSVC 2017
2019-01-10 21:47:15 +01:00
Francisco Javier Trujillo Mata
29948c0878
Apply guideline styles for PS2 files
2019-01-10 09:37:09 +01:00
Francisco Javier Trujillo Mata
a2db47bead
Improve manage of VRAM in the GFX and Font Driver for PS2
2019-01-10 02:25:02 +01:00
Nano
f1ba335cb3
Fix issue #2791 black bug
2019-01-09 22:52:45 +01:00
Twinaphex
ac04c1bfc5
Merge pull request #7892 from Datamats/libnx_nwindow
...
libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api
2019-01-08 23:36: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
Francisco Javier Trujillo Mata
9370fb604d
Enable 2 controller for PS2 Driver (multiplayer is not implemented yet)
2019-01-08 00:28:14 +01:00
Francisco Javier Trujillo Mata
26ce69694f
Create Font driver for PS2
2019-01-07 21:51:48 +01:00
Mats
462a4b24fd
libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api
2019-01-07 15:03:44 +01:00
Twinaphex
9b46caa6db
Merge pull request #7911 from fjtrujy/feature/PS2OpenRGUIMenu
...
[PS2] Open RetroArch menu from Core
2019-01-07 01:42:01 +01:00
Francisco Javier Trujillo Mata
f48ffb9aac
Open RetroArch Menu Long Pressing Start button
2019-01-07 01:38:48 +01:00
twinaphex
2686cf1498
Fix disable-rgui
2019-01-06 17:04:28 +01:00
Francisco Javier Trujillo Mata
d5a8c30dfe
PS2 Timing Improvement
2019-01-05 18:47:39 +01:00
Francisco Javier Trujillo Mata
b5cf8e90c9
Improve aspect_ratio detection in PS2 GFX ( #7879 )
2019-01-03 12:51:00 -05:00
Francisco Javier Trujillo Mata
56207bd08e
Improvement in:
...
* Makefile.ps2
* ps2_gfx
* ps2_platform
* ps2_audio
2019-01-03 13:16:28 +01:00
Francisco Javier Trujillo Mata
e2ca8aa1b5
Apply NTCS mode
2019-01-03 13:16:28 +01:00
twinaphex
1cb9f7c1bf
Fix D3D10/11/12 drivers for Win32 build
2018-12-30 05:08:57 +01:00
twinaphex
88e283f0c1
(D3D10/11/12) Some buildfixes
2018-12-30 04:51:03 +01:00
krzys-h
1cb1ea55b1
Bugfix - creating swap chain twice in d3d11
...
Not sure what I was thinking when writing this
dd60b5d576 (commitcomment-31801518)
2018-12-29 11:38:09 +01:00
twinaphex
dd60b5d576
MSVC2017 Non-UWP buildfixes
2018-12-29 02:54:17 +01:00
twinaphex
8f67cf7384
Some buildfixes
2018-12-29 02:20:25 +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 Javier Trujillo Mata
38397370e6
Apply proper color correction for 16 bits
2018-12-26 14:17:25 +01:00
Francisco Javier Trujillo Mata
69ad3273b9
Disable use of `setvbuf` for the PS2
2018-12-26 14:17:25 +01:00
Francisco Javier Trujillo Mata
40b028ebce
Replace malloc for calloc in the ps2_gfx
2018-12-26 13:48:48 +01:00
Francisco Javier Trujillo Mata
90ba2df972
Put proper license in the files for the PS2 development
2018-12-26 13:48:48 +01:00
twinaphex
374384128c
Revert "(D3D8/D3D9) Buildfixes"
...
This reverts commit 992d221af9
.
2018-12-24 03:34:58 +01:00
Twinaphex
1aee59f9f4
Revert "Fix issue #2791 black bug"
2018-12-24 03:33:18 +01:00
twinaphex
992d221af9
(D3D8/D3D9) Buildfixes
2018-12-24 03:31:01 +01:00
Nano
770bd52411
Fix issue #2791 black bug
2018-12-23 18:31:21 +01:00
Themaister
077b108aa1
Vulkan: Fix potential crash when toggling fullscreen.
...
If we have HW rendering, and we toggle fullscreen while in the menu, we
don't have a ready HW image, so fall back to black dummy texture.
2018-12-12 13:28:46 +01:00
orbea
0735fbcd57
Fix build with '--enable-sixel'. ( #7704 )
...
First bad commit 2edd03361c
2018-12-06 10:09:03 -05:00
Themaister
124d9b57d6
Vulkan: Fix blue/red flip when using HW rendered cores with history.
...
Was using frontend format of BGRA8 when core was RGBA8, with blind
vkCmdCopyImage. Fix is to use the same format as core is pushing to
history buffer.
2018-12-06 11:38:30 +01:00
Stuart Carnie
0e295716b9
feat(metal): Add native rotation support for Metal driver
...
* fix crash when frame or frame size is 0
2018-11-29 22:04:43 -07:00
natinusala
9cad7135a9
libnx: implement focus gain and loss callbacks
2018-11-28 14:11:42 +01: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
e13efbd400
Change custom_command_method_t returntype to int64_t
2018-11-26 17:39:04 +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
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
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
twinaphex
f271ea789d
(VG) Buildfix
2018-11-06 20:58:41 +01:00
Themaister
66e7c73193
Keep enable state the same after loading new overlay.
2018-10-18 23:37:45 +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
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
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
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
twinaphex
60eb45c102
prevent some pointer grabbing
2018-10-01 02:00:07 +02:00
M4xw
a8555a76c5
[LIBNX] Fix Switch video driver with enabled GL build
2018-09-28 22:53:46 +02:00
M4xw
cf097d7f42
[LIBNX] Implement OpenGL
2018-09-27 01:23:24 +02: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
twinaphex
60f4e39092
Buildfix
2018-09-19 02:10:10 +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
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
4738ef545c
Change interval type to signed int
2018-09-12 00:08:13 +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
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
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
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
e2ff7478ca
don't return uninitialized data
2018-08-17 07:49:25 -04: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
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
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
twinaphex
9c0ed0f2c4
Don't use core profile GLSL shaders for OpenGLES
2018-07-18 10:06:30 +02:00
twinaphex
0d39701145
Get rid of double void argument
2018-07-14 00:54:14 +02: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
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
Stuart Carnie
40a1446c95
feat(Metal): Reload shader preset when Metal driver reinitialized
2018-07-07 07:31:43 -07:00
Stuart Carnie
74e1f24e90
feat(Metal): Full screen support
...
* I believe there is a race condition where the viewport is not set
correctly on launch
2018-07-06 23:38:34 -07:00
Stuart Carnie
a19ea2ed07
feat(Metal): Add support for overlays
2018-07-04 13:12:40 -07:00
Stuart Carnie
048aa16599
feat(Metal): Support vsync enable / disable
2018-07-04 09:50:09 -07:00
Stuart Carnie
5e1f991e32
feat(Metal): initial xmb and glui menu support
...
TODOs
* menu shader pipeline effects
* refactor / optimize graphics rendering
2018-07-03 22:32:12 -07:00
Stuart Carnie
367c15f488
feat(Metal): font rendering
...
* FPS and other OSD messages render correctly
* add autoreleasepool around entire render loop to avoid memory leaks
2018-06-23 23:54:23 -07:00
Stuart Carnie
eacd52f009
fix(Metal): improve shader stability
...
* use MTKView, which handles layer and scaling changes automatically
between displays
2018-06-23 13:33:27 -07:00
twinaphex
0d8729daa6
FIx warning
2018-06-21 08:12:02 +02: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
misson20000
1404b63219
fix for tearing (depends on libtransistor commit cf5d0403 in v2.0.0, which is yet to be released)
2018-05-30 18:04:58 -07:00
Tatsuya79
e96463645d
Disable gl hard sync in menu
2018-05-17 17:24:10 +02:00
twinaphex
6d2b5c8052
Move read_viewport function back to d3d9.c
2018-05-17 17:17:08 +02:00
twinaphex
2d540264e8
Start hooking up set_shader_mvp function
2018-05-15 06:02:10 +02:00
twinaphex
39f45a17d2
create d3d9_convert_geometry
2018-05-14 21:32:14 +02:00
twinaphex
e9054159ec
Remove set_font_rect callback
2018-05-14 16:57:34 +02:00
twinaphex
232d3f4d92
Take out add_state_tracker function callback for D3D9 renderchain
2018-05-14 06:33:51 +02:00
twinaphex
94955eb3b5
(D3D8) Do less casting
2018-05-14 05:14:26 +02:00
twinaphex
cbe4c78979
(D3D8/D3D9) Cleanups
2018-05-14 04:55:33 +02:00
twinaphex
6a9b39da3f
Get rid of d3d.h and xdk_defines.h
2018-05-14 03:57:27 +02:00
twinaphex
8beed4c1ec
(360) Buildfix
2018-05-14 01:50:58 +02:00
twinaphex
380fa6fd5e
Updates
2018-05-13 18:51:05 +02:00
twinaphex
46f23f9fbd
Get rid of d3d_video_viewport
2018-05-13 18:24:19 +02:00
twinaphex
c6cc2c930c
Create d3d9_log_info
2018-05-13 18:01:09 +02:00
twinaphex
659d8a4ec6
(GL) Cleanups
2018-05-13 14:34:41 +02:00
twinaphex
5bde17025a
Move min_filter_to_mag to gl_common.h
2018-05-13 14:24:49 +02:00
twinaphex
08820b5245
Cleanup gl_update_input_size
2018-05-13 06:43:24 +02:00
twinaphex
1f944afff7
(GL) Cleanups
2018-05-13 06:34:15 +02:00
twinaphex
999f1db694
Cleanup
2018-05-13 06:30:13 +02:00
twinaphex
41295ef7b9
Remove viewport_info callback from D3D9 renderchain interface
2018-05-13 06:29:17 +02:00
twinaphex
dee50349ba
Rename d3d_renderchain_driver to d3d9_renderchain_driver
2018-05-13 06:03:26 +02:00
twinaphex
494ddb16d9
Get rid of viewport_info callback function - was the same for both
...
GL1 and GL2 renderchains
2018-05-13 05:56:44 +02:00
twinaphex
542294900f
(WinRT) More compilation fixes
2018-05-12 19:03:39 +02:00
Diego A
3b738e0b2d
Always enable vfilter, enable deflicker setting in progressive scan, fix vsync set to off
2018-05-10 18:44:22 -04:00
twinaphex
41d2ebf8b5
Apparently not available
2018-05-08 00:16:20 +02:00
twinaphex
2c409c606e
(Winphone) should be _DISCARD
2018-05-07 23:19:42 +02:00
twinaphex
244f167dd5
(D3D11) Start adding D3D feature level 9 and Windows Phone ifdefs
2018-05-07 23:18:59 +02:00
Ash
68d789a4ea
[WiiU] Fix out-of-bounds rendering bug
2018-05-06 21:18:03 +10:00
twinaphex
6c09195f5e
(D3D8/D3D9) Updates
2018-05-03 22:08:14 +02:00
twinaphex
6d019284f8
Get rid of some of the casts
2018-05-03 22:06:04 +02:00
twinaphex
82ebb9576f
Create d3d9_video_t and d3d8_video_t
2018-05-03 22:03:12 +02:00
twinaphex
7bc66ae710
Buildfixes for MSVC 2015
2018-05-03 15:20:06 +02:00
twinaphex
f1d707a043
Running gl_check_capability from gl_get_flags resulted in a crash
...
on some Android systems, so unfortunately we cannot selectively hide
away GPU Hard Sync for now
2018-04-26 20:45:01 +02:00
twinaphex
37b1c9e8e9
Add NULL entry
2018-04-26 16:05:57 +02:00
twinaphex
023e280319
win32_get_refresh_rate not available on Xbox
2018-04-25 14:20:37 +02:00
twinaphex
6b31bd8b48
Only show Menu Linear Filter for RGUI and only show it for
...
video drivers that implement it
2018-04-24 15:14:06 +02:00
twinaphex
c506f489df
(D3D8) Hook up Menu Linear Filter
2018-04-24 14:49:58 +02:00
twinaphex
a75e7ede0d
(D3D9) Implement Menu Linear Filter
2018-04-24 14:47:21 +02:00
twinaphex
45cea92ba2
Remove null_renderchain
2018-04-23 14:57:37 +02:00
twinaphex
e54cb1b121
Only show black frame insertion for the video drivers/context drivers
...
that support it
2018-04-23 14:15:21 +02:00
twinaphex
f1fa1d4879
Previously, GPU Hard Sync options would only show up if the
...
video driver was explicitly set to the GL driver; now, it can be
dynamically shown for more video drivers if there are going to be
more drivers supporting this feature other than GL
2018-04-23 13:42:09 +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
b1a2d1991c
(d3d10.c) Cleanups
2018-04-23 13:09:05 +02:00
twinaphex
6f3003554e
(D3D10/D3D11/D3D12) Don't load menu pipeline shaders unless XMB
...
is selected
2018-04-23 12:59:28 +02:00
twinaphex
eb69025ca8
Cleanups
2018-04-23 11:30:38 +02:00
twinaphex
2a655116a6
Set #define CINTERFACE in these files
2018-04-22 14:27:39 +02:00
twinaphex
248f1242dc
Some warning fixes
2018-04-21 18:14:19 +02:00
twinaphex
dae0f36a20
Some cleanups
2018-04-21 15:00:35 +02:00
twinaphex
30c824c30a
Try to fix MSVC warning
2018-04-21 08:54:57 +02:00
twinaphex
6929db9fb6
(D3D10/D3D11) Compile shaders with SM 4.0 instead of 5.0
2018-04-21 05:36:59 +02:00
twinaphex
832cc4e945
(MSVC) Silence warnings
2018-04-21 05:20:22 +02:00
aliaspider
b78dcf9f4c
update D3D10 driver.
2018-04-21 03:56:19 +01:00
twinaphex
9f2b56a929
Update Direct3D 10 driver
2018-04-21 03:27:41 +02:00
twinaphex
16df2ceb4e
Fix Xbox OG
2018-04-17 11:39:59 +02:00
twinaphex
b0e62f3ec6
(D3D11) Add more feature levels
...
(D3D11) If CreateDeviceAndSwapchain fails, error out gracefully
2018-04-17 21:29:02 +02:00
Brandon Wright
c4f818599c
Add some fbdev refresh rate polls. Also Xv.
2018-04-16 16:23:59 -05:00
Brandon Wright
95f8205fd1
Add DRM interface for refresh rate.
2018-04-16 15:36:46 -05:00
Brandon Wright
e049605359
Add refresh rate polling to Win32 >= Windows 7.
2018-04-15 19:33:38 -05:00
Brandon Wright
533f898132
Add get refresh rate context function. Implement for X11 and Wayland.
2018-04-15 17:56:12 -05:00
Brandon Wright
7a00534378
Add poke interface for get_refresh_rate.
2018-04-15 17:56:11 -05: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
260cd62482
Cleanup some CXX_BUILD warnings
2018-04-09 18:53:26 +02:00
twinaphex
50edd0d467
Remove unused variable
2018-04-09 16:45:44 +02:00
Twinaphex
08a54e45f2
Get rid of a lot of implicit conversions
2018-04-09 15:56:45 +02:00
twinaphex
92b46a8275
Some cleanups
2018-03-30 15:50:27 +02:00
Brandon Wright
3bbff3c689
Use _NET_WM_STATE_FULLSCREEN as a first measure, only falling back to override-redirect when not supported.
2018-03-29 17:13:51 -05:00
Brandon Wright
5da1aa0af7
Allow compositor disabling on X11 fullscreen through _NET_WM_BYPASS_COMPOSITOR.
...
Note: KWin doesn't bypass compositor on override-redirect windows, so enabling windowed fullscreen is necessary.
2018-03-29 15:20:14 -05:00
twinaphex
6e662a8064
(D3D12) Buildfix
2018-03-29 15:29:36 +02:00
twinaphex
ef5830b233
Silence some CXX_BUILD warnings
2018-03-29 15:27:30 +02:00
Dwedit
2c1cb6cf55
Rename "cached_device" to "cached_device_d3d11" avoid a name conflict on griffin builds
2018-03-28 10:33:37 -05:00
aliaspider
97ecba8575
D3D11: hwrender: add support for cache_context.
2018-03-26 17:44:08 +01:00
aliaspider
3d96cacd71
add experimental D3D11 hwrender support.
2018-03-25 23:14:14 +01:00
aliaspider
88d1c1fdca
msvc build fix.
2018-03-25 23:11:31 +01:00
twinaphex
9b8713aebd
Fix Coverity defects
2018-03-24 11:59:01 +01:00
twinaphex
9057ffbde4
use boolean.h instead of stdbool.h
2018-03-24 11:45:50 +01:00
twinaphex
4d1b4f905f
Start adding OSD statistics - doesn't work yet for SDL2/SDL
2018-03-23 17:43:49 +01:00
orbea
7526b12338
Fix apitrace shader compiler warning.
...
2418: message: major shader compiler issue 2: 0:3(311): warning: `atime' used uninitialized
2418 @0 glCompileShader(shader = 27)
2418: warning: 0:3(311): warning: `atime' used uninitialized
2018-03-20 17:39:33 -07:00
aliaspider
b948cf46e7
(Vulkan) add missing queue locks when calling vkQueueWaitIdle.
2018-03-15 09:21:23 +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
misson20000
e934f11065
NSW: skip frames if we can't acquire a buffer (newer libtransistors use three buffers, making this very unlikely to happen)
2018-03-06 20:55:40 -08:00
misson20000
4a4de74518
NSW(gfx): clear image row-by row for better caching (it's seriously a LOT faster), do pixel format conversion in scalers, and remove timing debug messages
2018-03-06 19:52:03 -08:00
misson20000
90c36c52ce
NSW: fix graphics driver colors for rgb32 and don't break aspect ratio when scaling menu texture
2018-03-05 23:45:28 -08:00
misson20000
7487d938b3
NSW: remove global state in graphics driver, as it is no longer necessary
2018-03-05 20:14:52 -08:00
twinaphex
63823b339a
Buildfix for D3D8
2018-03-03 15:34:21 +01:00
twinaphex
b4a743fff4
Split up menu display drivers for D3D8/D3D9 into separate drivers;
...
split up d3d_common into separate files
2018-03-03 15:28:58 +01:00
twinaphex
0566b056a5
Take out d3d_common function call from d3d_w32_font.c
2018-03-03 05:42:14 +01:00
twinaphex
3f1ae25713
(D3D8) Buildfix 2
2018-03-02 17:44:48 +01:00
twinaphex
ed67653086
(D3D8) Buildfix
2018-03-02 17:43:58 +01:00
twinaphex
371b6a604e
(Xbox) Buildfix
2018-03-02 17:43:18 +01:00
twinaphex
588707f543
Cleanups
2018-03-02 17:30:21 +01:00
twinaphex
0ec5ce8cfe
Get rid of d3d context drivers
2018-03-02 17:23:43 +01:00
twinaphex
95371cbda1
(Xbox 360) Buildfix
2018-03-02 17:05:30 +01:00
twinaphex
dfdbc00a84
Cleanup Xbox 360 code from d3d_ctx
2018-03-02 17:03:34 +01:00
twinaphex
dbf2fae5c1
(D3D9) Get rid of context driver
2018-03-02 17:00:11 +01:00
twinaphex
fc9e018534
Implement d3d9_set_video_mode
2018-03-02 16:53:15 +01:00
twinaphex
7c599b715e
Implement d3d9_has_windowed
2018-03-02 16:46:32 +01:00
twinaphex
9606db6f79
Start untangling more functions from context driver
2018-03-02 16:38:57 +01:00
twinaphex
af5a2f61a1
(D3D9) Start getting rid of context driver for D3D9 driver
2018-03-02 15:30:39 +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
7acd4b1847
(Windows) Buildfixes - use fseek for MSVC 2003 and earlier
2018-02-17 19:11:49 +01:00
twinaphex
89cd494ab7
(WiiU) Buildfix
2018-02-17 11:27:14 +01:00
radius
7913b88853
fix potential wiiu crash
2018-02-17 00:10:08 -05:00
twinaphex
070c09faec
Avoid more pointer grabbing for video driver ptr
2018-02-16 20:42:37 +01:00
twinaphex
1e2d8de9ca
Move renderchain code to the relevant files
2018-02-16 11:24:10 +01:00
Andrés
d3504abc5d
try to fix shader preset loading on WiiU
2018-02-12 12:27:16 -05:00
Andrés
521433d1c7
Merge pull request #6293 from aliaspider/master
...
(D3D) better handling of frame duping.
2018-02-11 21:36:21 -05:00
aliaspider
72e6909aaa
(D3D) better handling of frame duping.
2018-02-12 03:25:37 +01:00
Twinaphex
34edaaf98b
Merge pull request #6291 from aliaspider/master
...
(D3D12) silence warning.
2018-02-12 01:32:16 +01:00
aliaspider
8a93e8d503
(D3D12) silence warning.
2018-02-12 01:29:44 +01:00
Twinaphex
e428cec428
Merge pull request #6290 from aliaspider/master
...
(D3D11/12) add overlays.
2018-02-12 01:25:19 +01:00
aliaspider
98682197c9
(D3D11/12) add overlays.
2018-02-12 01:19:43 +01:00
Twinaphex
327e2237d6
Merge pull request #6289 from aliaspider/master
...
(D3D11/12) prevent double-free when resizing framebuffers.
2018-02-11 23:03:04 +01:00
aliaspider
19aed2af36
(D3D11/12) prevent double-free when resizing framebuffers.
...
(D3D12)
- correctly support lut/filtering/wrap options for slang shaders.
- rework frame sync.
2018-02-11 22:56:37 +01:00
twinaphex
6738d64546
Cleanups
2018-02-11 16:45:40 +01:00
Twinaphex
d8257f4817
Merge pull request #6279 from aliaspider/master
...
(D3D12) slang shaders support.
2018-02-11 02:00:46 +01:00
aliaspider
37bebb5b65
(D3D12) slang shaders support.
2018-02-11 00:00:20 +01:00
twinaphex
b31779c588
(D3D8/9) Don't do allocation for this struct
2018-02-10 22:27:38 +01:00
twinaphex
b45b1b3e55
(D3D8) Refactor texture loading to no longer be thread-unsafe
2018-02-10 21:36:40 +01:00
twinaphex
b141c37fe9
Get rid of set_mvp function in D3D9 renderchain driver - use
...
one common set_mvp function instead
2018-02-10 21:21:09 +01:00
twinaphex
843a7f200c
(D3D9) Make video texture load functions thread-safe
2018-02-10 21:13:24 +01:00
aliaspider
e11209ac79
(D3D12) precompute alpha before scaling when generating mipmaps.
2018-02-09 16:33:08 +01:00
aliaspider
6fe379d978
(D3D12) add a compute shader for mipmap generation.
2018-02-09 14:57:07 +01:00
Twinaphex
8e33b35b09
Merge pull request #6257 from aliaspider/master
...
(D3D11/12) fix dialogbox / gradient.
2018-02-08 20:54:05 +01:00
aliaspider
97813b9722
(D3D11/12) fix dialogbox / gradient.
2018-02-08 17:11:24 +01:00
radius
30353792a5
update gx2_gfx to use retroarch_get_shader_preset()
2018-02-07 21:26:01 -05:00
radius
e9b7c7267e
fix some potential crashes when a shader is not set in config
2018-02-07 21:26:01 -05:00
radius
c64d5556c1
readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time
2018-02-07 21:25:59 -05:00
aliaspider
0d88799e6d
(D3D12) add menu display driver.
2018-02-08 00:18:05 +01:00
aliaspider
92afd7387d
(D3D12) add a font driver.
2018-02-08 00:18:04 +01:00
aliaspider
e42015e026
(D3D12) allow for dynamic allocation of descriptors.
2018-02-08 00:18:04 +01:00
aliaspider
757a9c08de
(D3D) refactors.
2018-02-08 00:18:04 +01:00
aliaspider
4ccb844ad6
(D3D12) add font and menu pipelines.
2018-02-08 00:18:04 +01:00
aliaspider
b030588669
(D3D12) refactor d3d12_init_samplers, add support for wrap modes.
2018-02-08 00:18:04 +01:00
aliaspider
6d90aae5d6
(D3D12) refactor init_pipeline.
2018-02-08 00:18:04 +01:00
twinaphex
cbd5e87711
Indenting nits
2018-02-04 22:12:53 +01:00