twinaphex
042c2e82a0
Try to prevent rotation on menu
2018-01-24 10:16:03 +01:00
twinaphex
9018012c5c
(D3D8) Now handles rotation properly (except for RGUI frame
...
being rotated as well)
2018-01-24 10:08:52 +01:00
aliaspider
a6b24ce995
(d3d10/11/12) reformat some files.
2018-01-24 07:45:45 +01:00
twinaphex
80b17668b6
Add initial VS2013 solution
2018-01-24 01:29:45 +01:00
twinaphex
4dd3a22679
(D3D12) Silence MSVC warnings
2018-01-24 00:38:11 +01:00
aliaspider
956c6ca25a
(d3d10/11/12) resize swapchain correctly when the window's size changes.
2018-01-23 20:27:03 +01:00
aliaspider
3a53010b13
(D3D10/12) frame duping. re-enable vsync.
2018-01-23 19:11:44 +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
c6fd61cc86
(D3D8) Buildfix
2018-01-23 07:21:53 +01:00
twinaphex
673a190d84
Merge d3d8_renderchain into d3d8.c
2018-01-23 07:18:46 +01:00
twinaphex
ce19e7c98a
Get rid of unused reinit function and get rid of other
...
unused stuff in D3D8
2018-01-23 07:00:25 +01:00
twinaphex
393ebfc467
(D3D8) No automatic generation of mipmaps possible, so remove this code
2018-01-23 06:53:07 +01:00
twinaphex
bb1fdad0d9
(Switch) Replace malloc() with calloc() in switch_gfx.c
2018-01-23 06:48:10 +01:00
twinaphex
93523782e5
Uniquely name D3D9
2018-01-23 06:43:03 +01:00
twinaphex
f1c5812ff8
(D3D8) Buildfixes
2018-01-23 06:31:33 +01:00
twinaphex
3a30c71cea
(D3D8) Buildfix
2018-01-23 06:30:46 +01:00
twinaphex
9be084de00
Static / public functions and interfaces need to be named
...
uniquely for Griffin
2018-01-23 06:29:33 +01:00
misson20000
5f8c888e0f
[NSW] remove checks for running under Mephisto, since not only do they prevent us from running under Yuzu, but we don't have libtransistor_context anymore
2018-01-22 20:36:32 -08:00
twinaphex
4b6c4e5a6a
BUildfix for D3D enum
2018-01-23 04:25:37 +01:00
twinaphex
d28d14079a
Create separate D3D8 and D3D9 drivers
2018-01-23 02:55:33 +01:00
twinaphex
1a20fff7f2
Revert "reimplement mvp for D3D8"
...
This reverts commit f0d47bcd13
.
2018-01-22 23:03:02 +01:00
twinaphex
f0d47bcd13
reimplement mvp for D3D8
2018-01-22 23:01:20 +01:00
twinaphex
3271b61b6a
Some safeguards
2018-01-22 20:03:34 +01:00
twinaphex
6ee8ddb496
(D3D11) Some minor style nits
2018-01-22 07:35:36 +01:00
aliaspider
80df049f41
(D3D11/12) refactors/fixes. add blending and selectable samplers for
...
d3d12.
2018-01-21 23:46:50 +01:00
twinaphex
e601190ecb
(D3D11/12) Fix warnings
2018-01-21 07:57:25 +01:00
twinaphex
8d7e9b31a4
Cleanups
2018-01-21 06:34:33 +01:00
Twinaphex
ffff5df787
Merge pull request #6148 from aliaspider/master
...
(D3D11/D3D12) initial video driver implementation.
2018-01-21 04:59:18 +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
Toad King
55334aeffd
fix black frame insertion in emscripten
2018-01-20 13:01:48 -06:00
twinaphex
4a5de7ed6a
Use D3D common format functions
2018-01-20 16:45:45 +01:00
twinaphex
cc1a828c87
d3d_get_color_format_backbuffer - cleanups
2018-01-20 16:35:59 +01:00
twinaphex
c106783e85
(XDK1) Now renders RGUI and game frame properly
2018-01-20 06:25:02 +01:00
twinaphex
4bd4692cf2
Get rid of another _XBOX ifdef
2018-01-20 02:09:51 +01:00
twinaphex
fb257eb21e
(GL/Raspberry Pi) Should fix the regression with GL cores on
...
Raspberry Pi
2018-01-19 22:45:04 +01:00
twinaphex
a3b593f27b
(D3D) Take this out for Xbox
2018-01-19 22:41:58 +01:00
twinaphex
d8e9e3383d
Revert "(Xbox) Swizzled formats on Xbox need to be POW2"
...
This reverts commit f608b5ed52
.
2018-01-19 05:06:46 +01:00
twinaphex
7484e01034
Revert "This one complains too"
...
This reverts commit 1a3a88a62e
.
2018-01-19 05:06:24 +01:00
twinaphex
1a3a88a62e
This one complains too
2018-01-19 05:04:11 +01:00
twinaphex
f608b5ed52
(Xbox) Swizzled formats on Xbox need to be POW2
2018-01-19 05:00:50 +01:00
twinaphex
daa2a572b9
Cleanup
2018-01-19 03:52:32 +01:00
twinaphex
4ef66e6e8c
This should make XMB/MaterialUI render correctly on D3D8
2018-01-19 02:24:10 +01:00
twinaphex
281223eae8
Xbox ifdefs
2018-01-17 08:54:06 +01:00
twinaphex
136068098d
Xbox fixes
2018-01-17 08:51:56 +01:00
aliaspider
ebd9430982
(D3D8) can now render content frame, rgui and overlays.
2018-01-17 07:10:45 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
twinaphex
c4d3ea6f8d
Add want_mipmap function parameter to d3d_texture_new
2018-01-16 09:11:14 +01:00
twinaphex
4ead2df09e
(D3D) Remove HAVE_FBO ifdef - should make shaders work again
2018-01-16 08:15:10 +01:00
twinaphex
3bdea333e1
enable this
2018-01-16 02:22:53 +01:00
twinaphex
9d144e28fc
Use D3DFVF_XYZ for PC, D3DFVF_XYZRHW for Xbox
2018-01-16 02:04:50 +01:00
twinaphex
fdffc1a178
One ifdef less
2018-01-15 22:04:15 +01:00
twinaphex
f26b18c7a4
D3D8 compilation fixes
2018-01-15 20:58:13 +01:00
twinaphex
391fd3eadc
Fix CXX_BUILD for D3D
2018-01-15 21:44:49 +01:00
twinaphex
59b5ecf7db
(XDK) Buildfixes
2018-01-15 06:36:02 +01:00
Twinaphex
e948412bb4
Merge pull request #6108 from aliaspider/master
...
(direct3D) fix scaling in the menu display driver.
2018-01-15 03:48:40 +01:00
aliaspider
25a7c04a27
(direct3D) fix scaling in the menu display driver.
2018-01-15 03:45:37 +01:00
twinaphex
93b523e6ea
C89 buildfix
2018-01-15 01:01:41 +01:00
aliaspider
7b09d5399c
(Direct3D) Menu display driver implementation.
2018-01-14 02:21:48 +01:00
aliaspider
24cb240079
(WIIU) add remaining menu shaders.
...
- move some files around.
2018-01-12 02:54:45 +01:00
aliaspider
eac088696a
(WIIU) add ribbon shader. fix menu bg gradient.
2018-01-11 02:09:03 +01:00
twinaphex
7e9945cde9
Buildfix
2018-01-09 23:47:13 +01:00
Twinaphex
2a42983b4f
Merge pull request #6077 from aliaspider/master
...
(WIIU) fix detection of 32bit input frames.
2018-01-09 17:53:47 +01:00
aliaspider
a8d3ddc05d
(WIIU) fix detection of 32bit input frames.
2018-01-09 17:05:09 +01:00
Twinaphex
ae8d0630e2
Merge pull request #6076 from aliaspider/master
...
(WIIU) custom shader: add support for input textures and most uniforms.
2018-01-09 16:52:20 +01:00
aliaspider
f34e180b40
(WIIU) custom shader: add support for input textures and most uniforms.
2018-01-09 16:41:01 +01:00
Twinaphex
bf1bd83631
Merge pull request #6071 from fr500/master
...
Disable hard sync on FF without mangling settings"
2018-01-09 03:43:33 +01:00
Twinaphex
31728bd2ca
Merge pull request #6074 from aliaspider/master
...
(WIIU) revert forced 480p mode.
2018-01-09 03:29:28 +01:00
aliaspider
22a776bb3e
(WIIU) revert forced 480p mode.
2018-01-09 03:26:11 +01:00
Twinaphex
ae9e13324d
Merge pull request #6073 from aliaspider/master
...
(WIIU) improve support for custom shaders.
2018-01-09 03:22:49 +01:00
aliaspider
0236b52b03
(WIIU) update uniform blocks correctly for custom shaders.
2018-01-09 03:06:54 +01:00
radius
8007c3efd7
Disable hard sync on FF without mangling settings
2018-01-08 20:06:24 -05:00
twinaphex
7fdb621481
Update
2018-01-08 23:23:37 +01:00
twinaphex
8f9d807306
Remove some more Xbox ifdefs
2018-01-08 23:06:09 +01:00
twinaphex
23ace06ca1
Cleanups
2018-01-07 20:55:00 +01:00
twinaphex
141f09ad2e
Cleanups
2018-01-07 20:25:30 +01:00
twinaphex
d3a4cc90c8
Cleanups - get rid of shader ifdefs
2018-01-07 20:21:08 +01:00
twinaphex
3ab8f017d9
Cleanups
2018-01-07 11:06:27 +01:00
twinaphex
88d1e455e3
Add code that allows for debug D3D
2018-01-07 10:46:53 +01:00
twinaphex
9f6a97db76
Update
2018-01-06 21:10:30 +01:00
twinaphex
ef05fd8a78
Cleanups
2018-01-06 19:51:29 +01:00
twinaphex
9b52164b00
Create d3d_get_adapter_display_mode
2018-01-06 16:10:05 +01:00
twinaphex
23437f27b4
Cleanups
2018-01-06 15:42:47 +01:00
twinaphex
b42c92c619
Create d3d_is_windowed_enable
2018-01-06 15:32:02 +01:00
twinaphex
67220c358c
Create d3d_get_color_format_front_buffer
2018-01-06 15:25:11 +01:00
twinaphex
7cc8040347
Create d3d_get_color_format
2018-01-06 15:18:02 +01:00
Andrés
dedcd26495
Merge pull request #6053 from aliaspider/master
...
(WIIU) add preliminary multi-pass shader support.
2018-01-05 21:48:30 -05:00
aliaspider
55d262f5d8
(WIIU) add preliminary multi-pass shader support.
...
can load *.slangp and *.slang files. since there is no runtime compiler,
precompiled shaders (*.gsh) need to be present next to each *.slang
source file.
2018-01-06 03:39:53 +01:00
twinaphex
f677a7ad7e
Add HAVE_OVERLAY to qb system
2018-01-05 16:10:34 +01:00
aliaspider
8e095164e0
(WIIU) add a frame shader to match the shaders used by the gl/vulkan
...
drivers.
2018-01-05 13:18:55 +01:00
aliaspider
a7632620da
(WIIU) add a sprite shader.
2018-01-04 17:38:04 +01:00
twinaphex
6eddea99c0
Cleanups
2018-01-04 14:50:56 +01:00
SaltyFist
ad695a8b72
(switch) Add support for RETRO_PIXEL_FORMAT_XRGB8888
2018-01-04 07:28:17 +01:00
misson20000
a039e6c41e
(NSW) temporary fix for graphic buffer dequeue failure
2018-01-04 07:28:12 +01:00
orbea
a4ab4794cf
C89_BUILD: Remove c++ style comments
2018-01-03 14:56:22 -08:00
twinaphex
3a3776ba24
Create d3d_initialize_symbols
2018-01-03 18:38:13 +01:00
twinaphex
30ba656f5c
Create d3d_create
2018-01-03 18:09:31 +01:00
twinaphex
dddfbe311a
(XBox OG) Buildfix
2018-01-03 14:42:09 +01:00
twinaphex
88a91af0dc
Remove this rule from the conditional
2018-01-03 14:40:41 +01:00
twinaphex
7a481236bf
(Xbox OG) Some more buildfixes
2018-01-03 14:37:35 +01:00
twinaphex
82d44e9ad3
Cut down on more HAVE_MENU ifdefs
2017-12-31 18:02:14 +01:00
twinaphex
bd16fd49ab
Fix ./configure --disable-rgui
2017-12-31 17:53:11 +01:00
twinaphex
cf3a010ead
Remove some HAVE_MENU ifdefs
2017-12-31 17:42:07 +01:00
aliaspider
0a32642f17
(WIIU) shader: use a single attribute stream.
2017-12-31 14:06:49 +01:00
misson20000
be5ebbc039
(NSW) since we haven't yet gotten the OS graphics driver, upon calling display_finalize
, to release some of the (currently global) resouces we give it when we initialized it, we need to maintain a little bit of global state in the graphics driver so it can be freed and reinitialized when we load a core. this should be able to be reverted when we implement alloc_pages
in libtransistor. see https://github.com/reswitched/libtransistor/issues/74 and https://github.com/reswitched/libtransistor/issues/69
2017-12-31 03:04:15 +01:00
Twinaphex
d9c0f769c7
Merge pull request #6006 from aliaspider/master
...
(WIIU) update shader and add alpha blending to menu + overlays.
2017-12-31 00:21:53 +01:00
aliaspider
b371f4bb32
(WIIU) add a color attribute to tex_shader.
...
+ some fixes to overlay and menu display code.
2017-12-30 23:21:32 +01:00
misson20000
6254ddecf2
(NSW) initial support for menu
2017-12-30 11:14:45 +01:00
twinaphex
893cd2b472
Make this C89-compatible
2017-12-29 04:46:13 +01:00
misson20000
3101ee8036
(NSW) fix compilation errors and warnings for switch drivers
2017-12-29 04:45:25 +01:00
twinaphex
5c876647ed
(NSW) Small cleanups
2017-12-29 00:45:00 +01:00
misson20000
6d2a7b1f26
Nintendo Switch (libtransistor) port
2017-12-29 00:10:01 +01:00
twinaphex
4ecb4d5dfb
(Wiiu) Add overlays courtesy of r-type, thanks
2017-12-27 08:38:03 +01:00
aliaspider
1f143927ca
(CTR) build fix.
2017-12-25 08:51:50 +01: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
twinaphex
c4d8a8c800
Free after intfstream_close
2017-12-11 20:24:00 +01:00
twinaphex
1cd7568f1f
(gx_gfx) Go through intfstream
2017-12-11 13:26:52 +01:00
twinaphex
61d3f90cae
Add hint defines to libretro.h
2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb
Start using VFS API constant defines
2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537
Replace function signatures of file_stream file functions
2017-12-10 22:25:38 +01:00
Themaister
75b84b4f94
Support pending swapchain creation.
2017-12-09 17:28:20 +01:00
Themaister
714684a4d3
Don't wait for WSI fence unless it has been signalled.
2017-12-09 17:28:20 +01:00
twinaphex
48c3a50932
Move more variables
2017-12-04 13:03:14 +01:00
twinaphex
f47888aeda
Move more variables to renderchain data
2017-12-04 12:50:22 +01:00
twinaphex
19ad9aa1cb
Add resolve extensions callback
2017-12-04 12:43:22 +01:00
twinaphex
05ab278aca
Pass chain userdata to renderchain driver
2017-12-04 11:54:30 +01:00
twinaphex
512a1b4cb6
Cleanups
2017-12-04 06:03:11 +01:00
twinaphex
c869cc5102
Refactor GL code
2017-12-04 05:55:18 +01:00
twinaphex
b2fbb9aeda
Prepare to map DeleteFramebuffersEXT like this
2017-12-04 04:18:28 +01:00
twinaphex
6221512911
use EXT version of Framebuffer/Renderbuffer functions for MacOS X
...
PowerPC
2017-12-04 04:04:07 +01:00
radius
2747067f61
this probably fixes the shader on noveau and others
2017-12-03 15:10:24 -05:00
radius
3cd7026819
fix the shader and the label
2017-12-03 12:20:07 -05:00
radius
bada13a215
let it snow
2017-12-02 22:47:44 -05:00
Brad Parker
130203c431
gdi: fix closing window via X button
2017-11-27 20:49:56 -05:00
twinaphex
c0d8a2f093
Cleanup
2017-11-16 14:01:42 +01:00
twinaphex
bfd815985f
Rename function callback
2017-11-16 12:02:25 +01:00
twinaphex
721b5f9529
Add set_mvp function callback
2017-11-15 16:51:29 +01:00
twinaphex
b6b6ba9226
No more GL_FF_MATRIX/GL_FF_VERTEX
2017-11-15 14:30:38 +01:00
twinaphex
619acbb5aa
Start implementing video_driver_set_mvp properly
2017-11-15 14:16:06 +01:00
twinaphex
b50a667335
Buildfixes for Win32
2017-11-14 21:45:11 +01:00
twinaphex
229841b1c4
Create video_driver_set_coords
2017-11-14 21:43:13 +01:00
twinaphex
683c437941
Updates
2017-11-14 21:34:03 +01:00
twinaphex
da15f9d730
Cleanups
2017-11-13 09:19:33 +01:00
twinaphex
6493b79324
Some buildfixes for CXX_BUILD
2017-11-13 09:11:09 +01:00
twinaphex
d861d2b0ae
Updates
2017-11-13 09:02:22 +01:00
twinaphex
67fea30406
Remove remaining references to HAVE_FBO
2017-11-13 08:55:41 +01:00
twinaphex
ec123ef6ca
Get rid of most of the HAVE_FBO usage
2017-11-13 06:20:30 +01:00
twinaphex
6fa5fcfa1f
Add has_fbo member variable - fixes GL issues
2017-11-13 05:23:44 +01:00
twinaphex
60d96b60b5
Start adding gl1_renderchain.c
2017-11-12 17:32:18 +01:00
twinaphex
3ab26b6738
Prevent warning
2017-11-12 17:17:40 +01:00
twinaphex
5eadf021cf
early return
2017-11-12 17:16:14 +01:00