Commit Graph

2873 Commits

Author SHA1 Message Date
twinaphex 684374eec8 Remove D3DVIEWPORT dependency 2018-01-25 10:03:50 +01:00
Twinaphex ef17085216
Merge pull request #6175 from aliaspider/master
(D3D11) add ribbon shader.
2018-01-25 09:50:57 +01:00
aliaspider 427003fa3b (D3D11) add ribbon shader.
- it doesn't look quite right though.
2018-01-25 09:48:07 +01:00
Twinaphex 85fab182b8
Merge pull request #6174 from aliaspider/master
(D3D11) autogen mipmaps when needed / fix text colors.
2018-01-25 09:33:44 +01:00
aliaspider 17aa49004f (D3D10/11/12) prevent some crashes on driver re-init. 2018-01-25 06:24:39 +01:00
aliaspider da3a90a025 (D3D11) misc. 2018-01-25 05:47:19 +01:00
aliaspider 2a54cbca75 (D3D11) autogen mipmaps when needed. 2018-01-25 04:57:49 +01:00
twinaphex 0588c3c68e Don't rely on LPDIRECT3DTEXTURE 2018-01-25 04:28:50 +01:00
twinaphex 26f9489f89 Replace LPDIRECT3D 2018-01-25 04:12:37 +01:00
Twinaphex f07571f8eb
Merge pull request #6171 from aliaspider/master
(D3D11) sample the font atlas correctly.
2018-01-25 01:59:31 +01:00
aliaspider ccc9d36949 (D3D11) sample the font atlas correctly. 2018-01-25 01:58:17 +01:00
Twinaphex ccfd9d79dd
Merge pull request #6170 from aliaspider/master
(D3D11) update the included shader.
2018-01-25 01:49:16 +01:00
aliaspider 0cd2310a6f (D3D11) forgot to update the included shader. 2018-01-25 01:46:30 +01:00
Twinaphex 3bfc13223c
Merge pull request #6169 from aliaspider/master
(D3D11) font + menu display drivers.
2018-01-25 01:46:17 +01:00
twinaphex bc81a9dc88 Dehardcode LPDIRECT3DDEVICE usage 2018-01-25 01:45:03 +01:00
aliaspider 8354ffd452 (D3D12) add support for scaling/rotation im menu display driver. 2018-01-25 01:34:53 +01:00
aliaspider 45541a0d44 (D3D11) change the sprite vertex buffer to a ring buffer to avoid data
races with the gpu.
2018-01-25 01:03:54 +01:00
aliaspider 68a6b7f402 (D3D11) change the sampler adressing mode to clamp. fixes the background
in xmb.
2018-01-25 00:45:06 +01:00
aliaspider 812eefa601 (D3D11) add menu display driver. 2018-01-25 00:20:06 +01:00
twinaphex 4dc6eb0ae4 (D3D8) Rotation no longer affects RGUI 2018-01-24 22:50:44 +01:00
aliaspider 840bd459df (D3D11) add a font driver. 2018-01-24 20:51:19 +01:00
Twinaphex 472abb1e8f
Merge pull request #6167 from aliaspider/master
(D3D10/11/12) add viewport settings.
2018-01-24 17:40:22 +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
Twinaphex c30715db10 Revert "Try to prevent rotation on menu"
This reverts commit 042c2e82a0.
2018-01-24 10:28:55 +01:00
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
twinaphex c5292025c3 Cut down on HAVE_FBO usage and make sure gl->fbo_inited is set to
false if HAVE_FBO is not defined
2017-11-12 17:15:29 +01:00
Brad Parker 23527a82ca free VAO before the renderchain is destroyed 2017-11-11 13:55:05 -05:00
Brad Parker 69f69849be fix circular dependency of renderchain and core context init 2017-11-11 13:51:33 -05:00
twinaphex 40cfde0eba (MSVC 2010) Buildfix 2017-11-10 04:53:08 +01:00
twinaphex faab2526c8 Create gl_bind_texture 2017-11-10 03:55:10 +01:00
twinaphex 77ac13b2e9 Buildfix 2017-11-09 01:16:35 +01:00
twinaphex a4c9c738b8 Add init_textures_reference 2017-11-08 22:06:10 +01:00
twinaphex 4f016b2c2c Update 2017-11-08 19:31:00 +01:00
twinaphex 3e1f4defb8 Buildfix 2017-11-08 18:54:15 +01:00
twinaphex 3e0b4552d6 Cleanups 2017-11-08 18:49:45 +01:00
twinaphex 9ab13b719b Get rid of another ifdef 2017-11-08 18:48:01 +01:00
twinaphex 5f7527df08 Move readback function to renderchain 2017-11-08 18:45:28 +01:00
twinaphex c825f849f5 CLeanups 2017-11-08 18:31:17 +01:00
twinaphex d6cc447aa0 Add PBO callback functions 2017-11-08 18:22:05 +01:00
twinaphex 7c6377a7fa Cleanups 2017-11-08 17:45:39 +01:00
twinaphex 9f987dd97b Get rid of NO_GL_READ_PIXELS 2017-11-08 17:42:02 +01:00
twinaphex 3428e3d80a Cleanup 2017-11-08 17:10:41 +01:00
twinaphex e91cc7aced Get rid of one extraneous HAVE_GLSL ifdef 2017-11-08 17:08:03 +01:00
twinaphex 9f79b99c94 Init renderchain prior to calling renderchain_driver 2017-11-08 16:58:23 +01:00
twinaphex f28d6009ec Update 2017-11-08 16:53:43 +01:00
twinaphex 6fefc71aa2 Cleanups 2017-11-08 16:49:42 +01:00
twinaphex c1d5622255 Get rid of another ifdef 2017-11-08 16:41:37 +01:00
twinaphex 4b0932ffb3 Move copy_frame to renderchain 2017-11-08 16:38:56 +01:00
twinaphex bc45ba38bf Cleanups 2017-11-08 16:25:57 +01:00
twinaphex a295169a3b Add restore_default_state callback - remove more ifdefs 2017-11-08 16:20:55 +01:00
twinaphex 308818afd1 Add VAO callback functions 2017-11-08 16:16:17 +01:00
twinaphex 5b268b79d2 Cleanups 2017-11-08 16:00:37 +01:00
twinaphex 9dd253adea Cleanup 2017-11-08 15:52:23 +01:00
twinaphex 5252d3216a Fix heap use after free error 2017-11-08 15:49:02 +01:00
twinaphex 4a7e8b03b2 Cache core context setting 2017-11-08 05:59:08 +01:00
twinaphex 24434db9d9 (GL) Cleanups 2017-11-08 05:47:37 +01:00
twinaphex a72461c16b Create disable_client_arrays function pointer 2017-11-08 05:44:12 +01:00
twinaphex dc664ff4f2 Cleanups 2017-11-08 01:53:24 +01:00
twinaphex c1f0fceb4f More buildfixes 2017-11-08 00:59:16 +01:00
twinaphex 97e0ffde9f Buildfix for iOS 2017-11-08 00:53:57 +01:00
twinaphex 0085b24fd5 Cut down on gl_check_capability calls 2017-11-08 00:49:01 +01:00
twinaphex 4cae577ade Cleanups 2017-11-08 00:07:04 +01:00
twinaphex dc700c5d8b Get rid of more ifdefs 2017-11-08 00:05:12 +01:00
twinaphex 0f6a3c8f9d Start cutting down on HAVE_GL_ASYNC_READBACK ifdef 2017-11-07 23:19:54 +01:00
twinaphex 5ea63f3b08 Get rid of HAVE_GL_SYNC ifdef 2017-11-07 23:13:26 +01:00
twinaphex 7a33bfe924 Get rid of more HAVE_FBO ifdefs 2017-11-07 22:54:38 +01:00
twinaphex 3ccf8c19f1 Start getting rid of HAVE_FBO ifdefs 2017-11-07 21:34:25 +01:00
twinaphex 0100e7b673 Update 2017-11-07 21:08:54 +01:00
twinaphex fc43a14637 Updates 2017-11-07 21:03:29 +01:00
twinaphex fe2bf47b98 Add more to renderchain driver 2017-11-07 20:56:08 +01:00
twinaphex 00d52a4783 Cleanups 2017-11-07 11:06:18 +01:00
twinaphex a7cd8d94b0 Start going through renderchain driver interface for GL 2017-11-07 11:01:30 +01:00
twinaphex 40a7755fe2 Cleanups 2017-11-06 19:39:21 +01:00
Ash 0d38612f4a
[WiiU] Various warning/format string fixes
All things from unsigned comparisons to missing initializers; we got it
here.
2017-11-04 20:37:30 +11:00
twinaphex bb051f185b MSVC/C89 buildfixes 2017-10-22 05:13:22 +02:00
orbea 5ec052b675 Fix compilation with --enable-xshm.
Fixes https://github.com/libretro/RetroArch/issues/5551.
2017-10-18 09:33:09 -07:00
rz5 0a0c538e2b (gl driver) Set flags after detecting GL core context 2017-10-13 22:48:17 +01:00
Brad Parker fff3e225d2 comments 2017-10-10 15:28:29 -04:00
Brad Parker 072b347c0f fix OSD background alignment with non-default X/Y positions 2017-10-10 15:16:58 -04:00
Brad Parker a4bc1c9768 add menu options for OSD background color 2017-10-10 14:53:32 -04:00
Brad Parker 7aadb0ee13 allow transparency for OSD background 2017-10-10 14:00:49 -04:00
Brad Parker f156f7cd94 initial working OSD background color (only when content not loaded) 2017-10-09 23:30:11 -04:00
Brad Parker a153ed0b42 testing 2017-10-09 21:19:32 -04:00
twinaphex d10de20bff Start compiling Griffin as C for 360 - C89 fixes 2017-10-03 04:11:41 +02:00
twinaphex 721afe22d8 (MSVC 2010) Compile griffin.c as C 2017-10-02 22:06:32 +02:00
twinaphex fa0728d6b7 (NGC/Wii) BUildfix 2017-10-02 20:31:38 +02:00
twinaphex c3bcbaea14 Convert d3d.cpp to C 2017-10-02 07:48:57 +02:00
twinaphex 9c639ec529 Don't use std::vector 2017-10-02 06:12:33 +02:00
twinaphex f6fb1fd953 Create d3d_create_device 2017-10-02 03:15:49 +02:00
twinaphex 6b1a1272a7 Remove d3d->d3d_err 2017-10-02 01:41:23 +02:00
twinaphex ace611798e No longer include <string> for d3d.h 2017-10-02 01:38:48 +02:00
twinaphex 52b479fb22 Turn std::string shader_path into char * 2017-10-02 01:38:06 +02:00
twinaphex ff40cba3de Create d3d_vertex_declaration_free - wrap more D3D functions 2017-10-01 22:23:28 +02:00
twinaphex 9eba2c8e39 Fix CXX_BUILD on Windows 2017-09-28 18:53:09 +02:00
twinaphex a3ded01b64 Cleanups 2017-09-27 23:16:37 +02:00
twinaphex e9a072c1ce uniquely name D3D function for initing renderchain 2017-09-20 14:53:40 +02:00
twinaphex 105b98b837 Rename gl_legacy_renderchain to gl2_renderchain 2017-09-19 15:06:49 +02:00
twinaphex d149d590cf Fix some Xbox unresolved symbols 2017-09-14 22:24:04 +02:00
twinaphex 557c6c1d19 (D3D) Try to treat HLSL shaders same as Cg shaders for now 2017-09-13 04:37:29 +02:00
twinaphex 170b368044 (360) Some buildfixes 2017-09-13 04:21:00 +02:00
twinaphex dbb6adb453 C89_BUILD fixes 2017-09-11 04:17:28 +02:00
twinaphex 0a6c8122d0 Cleanups 2017-09-09 02:36:08 +02:00
twinaphex 2dee343ec7 Rearrange variables 2017-09-09 01:35:15 +02:00
twinaphex c0207e9b56 Revert "Reduce size of variables"
This reverts commit 79f1166c6e.
2017-09-09 00:20:39 +02:00
twinaphex 79f1166c6e Reduce size of variables 2017-09-08 23:44:10 +02:00
Charlton Head d29e8c18fa Better error handling in *xv_init() 2017-09-07 12:28:16 -05:00
Brad Parker 0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex 674dbfed19 Cleanups 2017-09-05 04:57:34 +02:00
twinaphex bde5a6dc19 Rename renderchain_driver_t to d3d_renderchain_driver_t 2017-09-05 04:21:40 +02:00
twinaphex 3eecbd7135 Fix d3d9_cg_renderchain.cpp 2017-09-05 03:27:00 +02:00
twinaphex 374b6115e1 Update HLSL backend 2017-09-05 03:21:58 +02:00
twinaphex c691bbaedc Start going through compilation errors 2017-09-05 00:57:58 +02:00
Brad Parker 35c4770c9b gdi: manually convert RGB444 to RGB555 to get around BI_BITFIELDS limitation on non-NT platforms 2017-09-01 20:52:58 -04:00
Brad Parker c7d7c5c909 gl: don't try to render a blank OSD message on every frame 2017-08-31 11:59:23 -04:00
Brad Parker 5e3531a5f2 win98: fix core video graphics corruption\nbitmapinfoheader size should never include masks, but this is undocumented 2017-08-30 00:48:02 -04:00
Brad Parker e3d68cd131 GDI: fix flickering of text 2017-08-22 23:39:42 -04:00
twinaphex 9c32d03c1e (Vulkan/Win32) C89_BUILD fixes 2017-08-12 17:56:30 +02:00
twinaphex c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +02:00
twinaphex ba36055632 (GX) Buildfix 2017-08-06 13:43:01 +02:00
twinaphex 169aea5ae1 (GX) Another buildfix 2017-08-06 05:54:46 +02:00
twinaphex 740ad823ab (GX) Buildfix 2017-08-06 05:52:40 +02:00
twinaphex 86f7972aa8 (Wii) Backport
0574b91595
- untested
2017-08-06 04:40:55 +02:00
Brad Parker b1904bcfa6 caca: enable OSD text drawing 2017-08-04 21:51:14 -04:00
Brad Parker c8e6a98651 gdi: enable OSD text drawing 2017-08-04 21:47:46 -04:00
twinaphex 9fe27117f2 Revert "(iOS) Take this out - see if it solves our issues"
This reverts commit 1cf6f2f20f.
2017-07-21 05:24:41 +01:00
twinaphex 1cf6f2f20f (iOS) Take this out - see if it solves our issues 2017-07-19 18:42:59 +01:00
twinaphex b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex 03ee897ae2 Try implementing core context version of XMB ribbon 2017-06-27 06:31:18 +02:00
ensrha 93ea78772d Add missing verbosity include 2017-06-19 14:38:26 +01:00
twinaphex c7ac70a923 Combine video_renderchain_driver.c and video_driver.c 2017-06-12 15:45:58 +02:00
Zoran Vuckovic 08b6fdb697 Add missing include directive 2017-06-12 14:13:08 +02:00
Daniel Jimenez 22fc07a839 Fix mirrored images in vertical games on 3DS (bug #4817)
On branch master
 Your branch is up-to-date with 'origin/master'.
 Changes to be committed:
	modified:   ctr_gfx.c
2017-06-11 18:12:37 -07:00
hizzlekizzle ba2cf008c6 update Cg menu ribbon for additive blending
Fixes solid white ribbon.
2017-05-30 20:13:58 -05:00
aliaspider 934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
aliaspider 801cc57e82 (WiiU) improve task scheduling. 2017-05-22 11:19:26 +01:00
aliaspider 634de19dc9 (WiiU) enable libretrodb. 2017-05-22 06:07:27 +01:00
aliaspider db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
Jean-André Santoni 0b1716650b Use additive blending for the ribbon in GL and Vulkan 2017-05-22 01:29:56 +02:00
Jean-André Santoni 1bd07c34c7 Make the Vulkan ribbon consistant with the GL ribbon 2017-05-22 00:39:09 +02:00
aliaspider 8dee95651f (WiiU) add a font driver. 2017-05-21 03:05:41 +01:00
twinaphex b7b7c67ca3 Windows buildfix 2017-05-20 17:47:56 +02:00
twinaphex efce4d0abf Revert "Add cb_set_shader_coords"
This reverts commit 06df028722.
2017-05-19 21:21:40 +02:00
twinaphex 06df028722 Add cb_set_shader_coords 2017-05-19 21:13:44 +02:00
twinaphex d8f5065d64 Add cb_set_shader_mvp 2017-05-19 19:52:33 +02:00
twinaphex 64fdadf60f Use cb_shader_use 2017-05-19 19:42:34 +02:00
twinaphex 452c02653e Turn gl_set_shader_viewport into gl_set_shader_viewports 2017-05-19 19:39:46 +02:00
twinaphex a830051076 Update gx_gfx.c 2017-05-19 16:33:59 +02:00
twinaphex 2a54544eb3 Add cb_shader_use to video_frame_info 2017-05-19 14:24:19 +02:00
twinaphex 59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex 4e04e95713 Buildfix 2017-05-18 04:03:49 +02:00
twinaphex 3f7a30a4b3 Start hooking up dummy callback functions to video_context_data
so that conditionals aren't necessary
2017-05-18 03:37:02 +02:00
twinaphex 941a5d4f94 Go through function callback for swap_buffers as well 2017-05-18 03:05:07 +02:00
twinaphex 86ee08b7a7 Add video context driver update window title callback
to video_frame_info_t
2017-05-18 02:53:12 +02:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
aliaspider 36137d22e5 Vulkan: use the command buffer provided as parameter in
vulkan_copy_staging_to_dynamic.
2017-05-15 05:35:17 +01:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex 17a15273ba Create function out of video_driver_is_focused - no longer
call video_driver_context_focus from video driver
2017-05-13 19:19:49 +02:00
twinaphex d4756f83e5 Stop calling video_driver_context_has_windowed from within video
drivers
2017-05-13 19:11:32 +02:00
twinaphex f6c8aba119 Move video_context_driver_update_window_title to video_driver_frame 2017-05-13 18:58:13 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex bac9973354 Cleanups 2017-05-09 00:58:01 +02:00
Andrew 858e15b837 Fix performance issue with max_swapchain_images
This fixes a performance problem introduced in my last commit when
max_swapchain_images == 3.

In my last commit I incorrectly stated the 3rd buffer was not being
used, after doing some additional testing I realized I was mistaken,
it can indeed be used due to the used page tracking.

Reverting that portion of my previous commit.
2017-05-05 16:58:17 -07:00
Andrew 01e25bd5c7 Fix max_swapchain_images and do some additional cleanup
When max_swapchain_images was originally added it worked properly,
but was subsequently broken by using the value to specify the number
of buffers allocated.

Due to how the dispmanx driver works, only 2 buffers are ever actually
used, so the 3rd buffer in the "swapchain" ended up doing nothing.

Fix this by restoring it to the original intent, that is, if
max_swapchain_images <= 2 wait for vsync after the flip (reducing
lag), otherwise wait at the last possible moment (increasing lag).

Additionally, fix up some unnecessary void* usage where type safety
could be maintained.
2017-05-04 18:45:59 -07:00
Andrew a1d094e64e Minor race fix and small cleanup to dispmanx_gfx
It's unlikely it was causing issues, but another race existed in the
dispmanx driver, it incremented the pending page count after sending the
update request.

If a context switch happened between sending the update and incrementing
the page count, the vsync callback would decrement it from 0 and cause
the uint to overflow.

Throw in a minor C89 fix and some whitespace fixups too.
2017-04-29 17:09:07 -07:00
twinaphex 4d419b2b56 (sdl_gfx.c) Update 2017-04-29 18:47:29 +02:00
twinaphex 60242e161a Buildfix 2017-04-29 18:45:58 +02:00
twinaphex dd83b4a043 (Vita) Buildfix 2017-04-29 17:52:16 +02:00
twinaphex e84adb504f Don't try to call video_driver_is_threaded from outside
gfx/video_driver.c - only exception right now - menu_display.c
2017-04-29 16:52:52 +02:00
twinaphex 91abbdd4f1 video_viewport_get_custom will never be NULL 2017-04-29 16:22:07 +02:00
twinaphex c8bf28842f Get rid of some calls to video_driver_viewport_get_custom 2017-04-29 16:11:31 +02:00
twinaphex 2322e77795 Add to video_frame_info 2017-04-29 16:07:02 +02:00
twinaphex 6930262ec2 Update/buildfixes 2017-04-29 12:44:45 +02:00
Francisco José García García afe173c883 [VITA] Really fix build 2017-04-29 12:02:26 +02:00
Twinaphex ccd4bdbd60 Merge pull request #4862 from andrewlxer/master
Fix dispmanx triple buffering race and re-enable triple buffering
2017-04-29 11:16:51 +02:00
Francisco José García García f7c56ddda3 [VITA] Fix build 2017-04-29 09:06:49 +02:00
Andrew 301a094ef9 Avoid potential dispmanx_gfx driver lockup
The dispmanx driver had a small race wherein if the vsync completed
between checking for a free page and waiting on the condvar, it would
hang forever waiting for a condition that would never fire.

I'm hoping this is what was causing the triple buffering lockups. In
my testing with it re-enabled and this fix, things are stable (and
much more performant than with triple buffering disabled).
2017-04-28 20:24:36 -07:00
Andrew 253c8cd997 Revert "DISPMANX: Disable triple buffering for now, for stability reasons."
This reverts commit 0b75671c21.
2017-04-28 20:20:43 -07:00
twinaphex 552845a94d Buildfixes 2017-04-29 02:39:32 +02:00
twinaphex 6d8789f4c1 (GX) Buildfix 2017-04-29 02:03:17 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex f0c2d786ae Update arrays struct 2017-04-28 22:59:13 +02:00
twinaphex 87106b03c1 (3DS) Buildfix 2017-04-28 22:14:34 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex 4ef0809931 (GX) Another buildfix 2017-04-28 15:29:54 +02:00
twinaphex 684e83ef30 Updates 2017-04-28 15:19:39 +02:00
twinaphex 0da40fb3aa Move all float settings 2017-04-28 14:57:55 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex 2a13af52fc Revert "video_init function - video_info_t should not be const -"
This reverts commit c8bcbad4a7.
2017-04-24 12:25:14 +02:00
twinaphex e5b38315fe Revert "Add real_width and real_height to video_info struct - let"
This reverts commit 831ea1a507.
2017-04-24 12:25:07 +02:00
twinaphex 8a215ce30e Revert "Cut down on another video_driver_set_size call"
This reverts commit b951c84e01.
2017-04-24 12:24:55 +02:00
twinaphex b951c84e01 Cut down on another video_driver_set_size call 2017-04-24 12:23:09 +02:00
twinaphex 831ea1a507 Add real_width and real_height to video_info struct - let
the drivers set this depending on the video width/height they
get back from the video context driver
2017-04-24 12:18:28 +02:00
twinaphex c8bcbad4a7 video_init function - video_info_t should not be const -
try to set video_driver_width/video_driver_height outside
of video driver init function
2017-04-24 12:03:21 +02:00
twinaphex 5a3b78bad3 Get rid of more performance counters 2017-04-24 11:24:16 +02:00
twinaphex d06c963a19 Get rid of PERF_ENABLE blocks 2017-04-24 11:20:30 +02:00
twinaphex 365c7f9c8b (Video drivers) Cleanups 2017-04-24 10:08:32 +02:00
twinaphex 8efa2b146e Add this to d3d_alive 2017-04-24 09:44:15 +02:00
twinaphex 34852e159a Cut down on amount of times video_driver_build_info is called 2017-04-23 22:20:11 +02:00
twinaphex aea00f1e00 Use memcmp instead of string_is_equal for more instances 2017-04-23 12:17:51 +02:00
twinaphex 0f2a6f3dd2 Don't use performance counters in GL/Vulkan/video thread wrapper
unless PERF_ENABLE is defined
2017-04-23 11:31:11 +02:00
twinaphex a88284897b (D3D) Use C-style allocation for d3d->menu 2017-04-23 09:38:44 +02:00
twinaphex aa2c29ac8b (exynos_gfx.c) Use memcmp 2017-04-22 09:34:30 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex 5bfc513af4 Buildfixes 2017-04-19 02:03:01 +02:00
twinaphex 7790fc3647 MOve renderchain files to dir 2017-04-19 01:51:05 +02:00
twinaphex 32c91baca6 Move read_viewport and viewport_info to render_chain_gl_legacy.c 2017-04-19 01:25:34 +02:00
twinaphex 0c5a87b1d7 Create scaler_ctx_scale_direct 2017-04-16 11:03:29 +02:00
twinaphex 257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex 32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
twinaphex fbd6d0ebc6 Turn more matrix 4x4 functions into macros 2017-04-16 03:53:07 +02:00
twinaphex 7f4b490fdb Prevent implicit memsets with struct video_viewport 2017-04-15 19:43:52 +02:00
twinaphex 55a0b7d1a9 Create default_ortho static variable 2017-03-25 10:22:57 +01:00
twinaphex 7d79e367f9 (GL) Prevent implicit memset; some other general cleanups 2017-03-25 10:18:24 +01:00
twinaphex d77c209c85 Cleanups 2017-03-25 10:13:18 +01:00
twinaphex a72cdb77ad Update logs 2017-03-24 01:33:22 +01:00
twinaphex 396857db9a Update logs 2017-03-24 01:28:58 +01:00
twinaphex 1b27c3dec1 Make some log messages more consistent 2017-03-24 00:28:21 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
hunterk a1124b8ded (Vulkan) add bokeh menu shader for vulkan 2017-02-20 22:59:05 -06:00
twinaphex 0d873b6da1 (Vulkan) Add fancy snow for Vulkan 2017-02-20 21:51:58 +01:00
twinaphex 962149ef63 (Vulkan) Add pipeline_snow 2017-02-20 21:25:40 +01:00
Hans-Kristian Arntzen 2d88530c98 Vulkan: Simple snow pipeline works.
Some other fixes too.
2017-02-20 20:53:59 +01:00
aliaspider 461d6ed3e0 (WiiU) use the TV resolution instead of the gamepad resolution for
viewport settings. fixes #4655
2017-02-17 15:06:48 +01:00
vanfanel 0b75671c21 DISPMANX: Disable triple buffering for now, for stability reasons. 2017-02-12 19:27:59 +01:00
Nicolas Adenis-Lamarre 9993435cf9 sdl2 renderer: remove the random flashing black borders
on the batocera linux distribution (https://github.com/nadenislamarre/batocera.linux),
retroarch gives some flashing black borders sometimes when running a game.
It looks like sometimes the rendering is done without clearing the screen causing
this flashing effect.

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2017-02-08 22:31:26 +01:00
Brad Parker 373535f329 DOS: improve color accuracy and scaling, thanks to aliaspider 2017-02-08 00:17:12 -05:00
Brad Parker 0bdcdac2da DOS: scale menu frame to fit screen 2017-02-05 15:23:38 -05:00
Brad Parker 3dfe93b13f DOS: swap red/blue in rgui menu frame 2017-01-31 18:10:27 -05:00
Brad Parker 2661d5556b DOS: fix image scaling and colors for 16-bit core video 2017-01-30 13:51:41 -05:00
Brad Parker 343ac9fea7 DOS: scale 16-bit core video to fit screen 2017-01-29 00:48:22 -05:00
twinaphex 0d3703bc13 (Vita) Buildfix 2017-01-25 18:39:55 +01:00
twinaphex 0a7538f1b8 Create menu_display_get_fb_size 2017-01-25 18:32:16 +01:00
twinaphex 374fd57270 Remove the few performance counters that depend on runloop_ctl 2017-01-25 18:15:58 +01:00
twinaphex a9164b7124 Try to use performance counter plus functions in most cases 2017-01-25 17:12:43 +01:00
twinaphex 6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +01:00
twinaphex 3a4963b474 (vita2d_gfx.c) Cleanups 2017-01-24 14:08:28 +01:00
twinaphex 19d2649c61 Update psp1_gfx.c 2017-01-24 14:04:12 +01:00
twinaphex 93812f58ba We don't need the settings variable here 2017-01-24 14:02:09 +01:00
vanfanel ae3cdaccb9 DISPMANX: Add missing include and remove redundant one. 2017-01-24 13:58:55 +01:00
Twinaphex 7aaf193810 Merge pull request #4492 from aliaspider/master
(Wii) another fix devkitpro r29.
2017-01-24 01:26:06 +01:00
aliaspider 3a6e49311f (Wii) use C version of guMtxConcat (ps_guMtxConcat broken in devkitpro
r29).
2017-01-24 01:23:18 +01:00
Brad Parker 7c41903ecb GDI: fix color rendering of RGUI menu 2017-01-23 14:50:31 -05:00
aliaspider 021b510452 (WiiU) refactors/cleanups. 2017-01-23 16:14:05 +01:00
The Last Cabra 0e542037d8 Merge branch 'master' into master 2017-01-23 15:16:19 +01:00
twinaphex e0a560f60a Turn C++ comments into C comments 2017-01-23 01:37:19 +01:00
twinaphex a104c73738 Go back to this 2017-01-22 23:19:35 +01:00
twinaphex 8698525f86 Only show the frame when libretro_running is true 2017-01-22 21:42:42 +01:00
twinaphex 2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex d4b7edff4a Cut down on menu_driver_ctl usage from within video drivers 2017-01-22 17:30:32 +01:00
Brad Parker 9d3c20929a DOS: vga palette looks ok now 2017-01-22 10:47:11 -05:00
Brad Parker 5c83e993ba DOS: use custom VGA color palette, rgui looks nice but still is not green 2017-01-22 10:47:11 -05:00
Brad Parker 89fc14d165 DOS: horizontal scale test 2017-01-22 10:47:11 -05:00
Brad Parker c4bfa6b0d2 DOS: initial VGA int13 graphics driver 2017-01-22 10:47:11 -05:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 57f8c637bf Cut down on runloop_ctl calls inside gfx/drivers 2017-01-22 12:38:20 +01:00
Brad Parker 0290f4713c caca: fix font alignment 2017-01-21 15:39:35 -05:00
twinaphex b97b40af75 (vg.c) Buildfix 2017-01-21 18:54:13 +01:00
twinaphex c8141123d6 (GX) Cleanup warnings 2017-01-21 00:55:21 +01:00
xhp-creations 577ee09727 (WIIU) fix rotation of menu
(WIIU) fix rotation of menu
2017-01-20 11:22:30 -05:00
xhp-creations a8232f1b46 (WIIU) add rotation support
(WIIU) add rotation support
2017-01-20 10:29:53 -05:00
vanfanel 7ae7e2eaee DISPMANX: now waiting for free pages after issuing flip, instead of before, to avoid input lag. 2017-01-20 14:59:14 +01:00
twinaphex 30c7754029 Buildfix 2017-01-20 14:37:02 +01:00
twinaphex 58a47e860a Add use_rgba member to video_frame_info_t 2017-01-20 14:04:50 +01:00
twinaphex 0b8037d893 (360) Fix typo 2017-01-19 20:35:23 +01:00
Brad Parker a54ea9ad88 show titlebar again for remaining drivers 2017-01-19 18:08:39 +00:00
Brad Parker c0e55cba37 window title fix for SDL 2017-01-19 17:51:22 +00:00
twinaphex 7cce305c06 Add header for sdl_gfx.c 2017-01-19 17:48:03 +01:00
twinaphex fe84312340 Add some header includes 2017-01-19 17:20:42 +01:00
twinaphex 27ae782a8e (CTR) Add this header 2017-01-19 17:17:20 +01:00
twinaphex 0d33888a24 (dispmanx_gfx.c) Cleanups 2017-01-19 16:50:09 +01:00
twinaphex e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
Twinaphex 7961bf6d23 Merge pull request #4455 from libretro/refactor
Video driver changes
2017-01-19 15:59:23 +01:00
twinaphex 9d1de5c974 Rewrite video_context_driver_set_resize 2017-01-19 14:31:57 +01:00
Brad Parker b44c8c9995 store buffer for window title, only update actual title when it changes 2017-01-19 00:33:52 -05:00
Twinaphex 78e06ca07f Cleanup variables 2017-01-19 00:11:29 +01:00
twinaphex 1a30cfea09 Remove more video_driver_get_size calls 2017-01-18 23:13:19 +01:00
twinaphex 55b8b8c244 Reduce amount of calls to video_driver_get_size 2017-01-18 23:07:05 +01:00
twinaphex c5445d2980 Reduce amount of times video_driver_get_size is called 2017-01-18 23:02:24 +01:00
twinaphex f4adbd04ae (gl.c) Reduce amount of time video_driver_get_size is called inside
gl_frame
2017-01-18 22:55:03 +01:00
twinaphex 1981c4b83e Typo fix 2017-01-18 22:25:11 +01:00
twinaphex d010a852e4 Call menu_driver_frame once per video_frame call 2017-01-18 22:20:47 +01:00
twinaphex bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
Alcaro 31d93cc4b7 Fix #4449 2017-01-18 19:00:38 +01:00
twinaphex a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex 0354ced675 Style nits 2017-01-17 19:02:49 +01:00
twinaphex 4743230b09 Some header includes shouldn't be system includes 2017-01-17 18:15:11 +01:00
twinaphex 7931436f5b Apply xerpi diff 2017-01-17 18:12:23 +01:00
twinaphex 724b68d5cb (gdi_gfx.c) Style nits 2017-01-17 10:54:48 +01:00
Brad Parker 5eaf00b39d GDI: fix rendering of 32-bit color cores 2017-01-16 20:41:09 -05:00
Brad Parker e4bdc5ce8b GDI: remove unused code and fix menu toggle in rgui and xmb 2017-01-16 20:41:09 -05:00
Brad Parker e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
Brad Parker 7acfa39fb9 GDI: MSVC2010 build fix 2017-01-16 20:41:08 -05:00
Brad Parker 8d9a43eec6 GDI: pitch seems to be reported wrong? this looks correct now 2017-01-16 20:41:07 -05:00
Brad Parker c09996cd22 GDI: don't need to store the padding 2017-01-16 20:41:07 -05:00
Brad Parker d6300a7946 GDI: video correctly fills the screen now, but resolution is poor. why is it scaled down by half? 2017-01-16 20:41:07 -05:00
Brad Parker 0ee3f39d76 GDI: no more flicker 2017-01-16 20:41:07 -05:00
Brad Parker f51472395a GDI: fix bad color due to reading as RGB555 instead of 565 2017-01-16 20:41:07 -05:00
Brad Parker 6b89064242 GDI: no more alternating black lines, but now video only takes up half the window 2017-01-16 20:41:07 -05:00
Brad Parker acd6826df9 GDI: stretch video output to fill window 2017-01-16 20:41:07 -05:00
Brad Parker 69bac11f02 GDI: fix window not clearing on every frame, requires both FillRect calls and InvalidateRect 2017-01-16 20:41:06 -05:00
Brad Parker 6c62901ae5 GDI: fix window not responding, but menu corruption still happens if set_gdi_pixel_format is called 2017-01-16 20:41:06 -05:00
Brad Parker bdc68e679f GDI: flip image and render text after other graphics 2017-01-16 20:41:06 -05:00
Brad Parker 6fe2a974a5 GDI: does not freeze after a few seconds anymore, but the window still freezes when moving the mouse into it 2017-01-16 20:41:06 -05:00
Brad Parker 8eba18a54f GDI: xmb draws for a few seconds and then freezes 2017-01-16 20:41:06 -05:00
Brad Parker 90ef57948c GDI testing 2017-01-16 20:41:06 -05:00
Brad Parker 177d811475 GDI driver partially visible with RGUI/game now, need to figure out why it isn't totally visible. Also need to stretch the frame, swap red/blue and flip vertically. 2017-01-16 20:41:05 -05:00
Brad Parker 49d7be9813 MSVC GDI buildfix 2017-01-16 20:41:05 -05:00
Brad Parker 2c6a24653c testing 2017-01-16 20:41:04 -05:00
Brad Parker e6d7116da0 create GDI window 2017-01-16 20:41:04 -05:00
Brad Parker 05c37bd39f initial GDI driver skeleton 2017-01-16 20:41:04 -05:00
Brad Parker c283c1eaf4 disable shader dialog until video_threaded issues are fixed 2017-01-16 19:26:28 -05:00
Twinaphex 105fa863ec Merge pull request #4418 from vanfanel/master
DISPMANX: Put guard back in to avoid potential lockups!
2017-01-15 13:55:58 +01:00
vanfanel 5a1e8d55fb DISPMANX: Put guard back in to avoid potential lockups! 2017-01-15 13:47:30 +01:00
Twinaphex 35df333ac4 Merge pull request #4417 from vanfanel/master
DISPMANX: implement pitch alignment for better videocore blitting per…
2017-01-14 23:08:07 +01:00
vanfanel 869a050a18 DISPMANX: implement pitch alignment for better videocore blitting performance 2017-01-14 23:01:05 +01:00
twinaphex 69ebda74c4 FIx shader 2017-01-14 22:48:02 +01:00
radius 33863714ab speed this up a bit 2017-01-14 15:54:56 -05:00
vanfanel 8640522073 DISPMANX: remove commented line 2017-01-14 15:56:54 +01:00
vanfanel da640aaa28 DISPMANX: Honor swapchain setting properly 2017-01-14 15:54:20 +01:00
vanfanel f0c2826994 DISPMANX: Fix refreshrate calculation by updating menu surface asynchronously 2017-01-14 14:38:18 +01:00
twinaphex 8c9e0405fb Create video_driver_build_info 2017-01-13 16:09:32 +01:00
Matthew Wolff f6284721d8 Fix forgotten parameter of video_monitor_get_fps 2017-01-12 23:40:58 -06:00
twinaphex c1c35c5120 More platform build fixes 2017-01-10 21:15:52 +01:00
twinaphex f233745483 (SDL gfx) Buildfix 2017-01-10 21:01:13 +01:00
twinaphex f1ef1a6a59 (GX) Buildfix 2017-01-10 20:18:49 +01:00
twinaphex 76ae7ac4a0 Cleanup some of the video drivers - add some members to
video_info_t to reduce the need for accessing the settings
struct
2017-01-10 18:16:22 +01:00
twinaphex 0b03e95d95 We no longer need the settings struct inside gl_init 2017-01-10 18:08:05 +01:00
twinaphex 8bd12368ef Pass joypad_driver name to input_driver_init function and make
sure we don't need to access the settings struct from the
input driver
2017-01-10 17:59:48 +01:00
twinaphex c086a18ceb video_driver_frame_filter no longer needs to grab pointer to
settings
2017-01-09 15:46:40 +01:00
twinaphex 36fb6776b2 Don't grab settings pointer in video_monitor_get_fps function 2017-01-09 15:42:14 +01:00
twinaphex 35fefb1c09 Do away with yet more pointer grabbing of settings 2017-01-09 15:14:16 +01:00
twinaphex 6b3cc9068d Pass video_info to swap_buffers too 2017-01-09 14:59:15 +01:00
twinaphex 3d92ce140e Pass video_frame_info_t to update_window_title 2017-01-09 14:42:07 +01:00
twinaphex be2f921ee2 Don't use settings pointer inside video_frame function 2017-01-09 14:25:59 +01:00
Twinaphex 6b2601eb91 Merge pull request #4384 from fr500/master
small optimization by @aliaspider
2017-01-09 00:39:10 +01:00
radius 86e8c409fe small optimization by @aliaspider 2017-01-08 18:36:06 -05:00
twinaphex 68d484bf60 Set supports_rgba before calling image_texture_load 2017-01-08 21:49:23 +01:00
radius f87f7d026d improve readability a bit 2017-01-07 22:47:55 -05:00
twinaphex c57ab8f37a Add pipeline_bokeh to shader_glsl.c 2017-01-08 02:16:47 +01:00
twinaphex 09a83525a9 Add pipeline_bokeh.glsl.frag.h 2017-01-08 02:13:36 +01:00
vanfanel 7ba3ff9c12 DISPMANX: Fix hang when null frame is passed (TyrQuake core) 2017-01-05 23:47:33 +01:00
Logan McNaughton 34ad1555f1 Use this code for GLES2 and GLES3 2016-12-30 13:56:54 -07:00
Logan McNaughton 90a1c76abb This wasn't working on Android 2016-12-30 10:22:12 -07:00
Logan McNaughton f45a75fa98 Use RGBA for internal format 2016-12-26 13:00:38 -07:00
hunterk 5ec5b199f6 less invasive revert for blue/red swap 2016-12-25 20:22:28 -06:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Logan McNaughton 21779c87b8 Missed one of the texture formats 2016-12-20 10:10:23 -07:00
Logan McNaughton 3392f3996b Fix up some texture format code 2016-12-20 08:57:13 -08:00
twinaphex feae0823ce Prevent some implicit memsets 2016-12-17 14:40:06 +01:00
Logan McNaughton fc4c7529a1 Fix internal formats used with texture creation 2016-12-14 09:54:55 -08:00
twinaphex f9b019c83a Rename loadTexture to gl_load_texture_image 2016-12-14 16:59:16 +01:00
Logan McNaughton 8cd2566128 Simplify glTexImage2D/glTexStorage2D calls
Also add support for glTexStorage2DEXT (GLES2)
2016-12-14 07:29:37 -08:00
twinaphex 6a45541f24 (Vulkan) Rename pipeline files 2016-12-12 13:17:20 +01:00
twinaphex a94b15ac86 (Vulkan) Add pipeline snow simple shader 2016-12-12 05:21:38 +01:00
Arzed Five 18392a5e40 (XMB VK snow) Attempt to fix the Vulkan snow menu shader 2016-12-12 03:46:26 +00:00
twinaphex c0caae124e Prevent warning 2016-12-11 22:11:03 +01:00
Brad Parker 7c176c3d14 replace simple snow with fancy snow code with different parameters 2016-12-11 13:00:12 -05:00
aliaspider 5cf8391c5a replace the glsl snow shader with a more lightweight version.
(gpu usage is approximately 25% compared to the original.)
2016-12-11 15:52:32 +01:00
barbudreadmon ad273d6299 Fix for issue #4165
vulkan video driver don't rotate the same way as gl video driver without this.
2016-12-11 10:53:02 +01:00
twinaphex a210e4f6fe (PS3) Some build fixes 2016-12-10 09:39:07 +01:00
twinaphex 1b29d41661 (render_chain_gl_legacy.c) Cleanups 2016-12-10 07:30:14 +01:00
twinaphex be459a6281 Cleanups 2016-12-10 07:28:08 +01:00
twinaphex aa5730dbc9 (render_chain_gl_legacy.c) Cleanups 2016-12-10 07:26:50 +01:00
Logan McNaughton 1d69baca82 Use glTexStorage2D for FBO textures 2016-12-08 21:14:10 -07:00
Logan McNaughton b275b2e113 Use RGBA8 for FBO texture internal format on GLES3
GLES3 supports GL_RGBA8 as an internal format for textures.

Using the sized format (RGBA8 instead of RGBA) allows more flexibility. In my case I am trying to use glCopyImageSubData and it only works on textures with sized internal formats.
2016-12-07 11:22:24 -07:00
twinaphex bcfb80072c (XDK) Remove this - would have to be reimplemented 2016-12-07 07:02:41 +01:00
twinaphex de94f77629 (XDK) Buildfixes 2006-05-14 14:02:54 +02:00
twinaphex 2b262c6b32 (render_chain_xdk.cpp) Add d3d.h include 2016-12-07 06:48:04 +01:00
twinaphex ec676e3e62 Add header include 2016-12-07 06:46:15 +01:00
twinaphex ccacfcda60 (render_chain_xdk.cpp) Add header include 2016-12-07 06:34:22 +01:00
twinaphex e0c3626791 Turn this into _XBOX360 ifdef 2016-12-07 06:32:05 +01:00
twinaphex 28fa2a240a (XDK) Buildfixes 2006-05-14 13:36:54 +02:00
twinaphex 53ca2f0a53 Add runloop.h include 2016-12-07 06:22:57 +01:00
Brad Parker 32a3026654 enable standard derivatives extension for GLES, adds support for complex XMB ribbon 2016-12-06 21:04:12 -05:00
Brad Parker 12294c96aa check for high precision floats on GLES, then enable if supported 2016-12-06 21:04:12 -05:00
Brad Parker f90ab6e189 default to highp precision for GLES 2016-12-06 21:04:12 -05:00
twinaphex d3db3a7ec4 (Vulkan) Add pipeline simple snow 2016-12-06 00:51:48 +01:00
twinaphex 9f470c53ae Add 'Simple Snow' shader to GLSL backend 2016-12-06 00:48:36 +01:00
Hans-Kristian Arntzen eb7870db5a Vulkan: Check for more cases in vulkan_load_texture().
*Sigh*
2016-12-03 18:54:34 +01:00
Hans-Kristian Arntzen b96f1fa067 Vulkan: Load a dummy texture if needed. 2016-12-03 17:48:48 +01:00
Brad Parker e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker d891f1c90b remove explicit unicode def/undefs 2016-12-02 14:34:29 -05:00
Brad Parker ba54f20626 initial libcaca video driver 2016-12-01 12:13:45 -05:00
Brad Parker cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05:00
twinaphex d57d672d15 Remove unused variable 2016-11-28 02:25:38 +01:00
twinaphex cd0bf8f31a Prefer to use strlcpy instead of strcpy 2016-11-26 17:11:30 +01:00
Lioncash d34202aea6 vulkan: Move vk_t pointer dereferences after the null check 2016-11-25 23:21:31 -05:00
Lioncash 918710cb2e drm_gfx: Fix typo in log message 2016-11-25 12:19:09 -05:00
Lioncash bc28d46bbb drm_gfx: Fix memory leak in fail case 2016-11-25 12:17:53 -05:00
aliaspider e2f7145112 (WiiU) video driver: set the correct monitor refresh rate on init.
- add a performance counter.
2016-11-22 22:47:06 +01:00
FIX94 8a62d5ea96 (WiiU) massive changes in the audio driver, this should hopefully work better
(WiiU) making sure the menu is properly drawn before swapping buffers, fixes visible menu drawing lines
2016-11-21 03:18:48 +01:00
twinaphex 5fc1b0c88e Remove obsolete font_driver_has_render_msg 2016-11-20 17:51:16 +01:00
twinaphex 856d6b37be Turn video_shader_driver_set_coords into macro 2016-11-20 16:48:54 +01:00
twinaphex ef610312e7 Turn video_shader_driver_set_mvp into macro 2016-11-20 16:45:06 +01:00
twinaphex dd0a8d1778 Turn video_shader_driver_set_parameters into macro 2016-11-20 16:40:08 +01:00
twinaphex 2deb306967 Turn video_shader_driver_use into macro 2016-11-20 16:31:45 +01:00
Jean-André Santoni d4296b016f Make shader names consistent, step 5 2016-11-19 00:30:56 +01:00
Jean-André Santoni 9c83658368 Make shader names consistent, step 4 2016-11-19 00:29:13 +01:00
Jean-André Santoni d1bf61076d Make shader names consistent, step 3 2016-11-19 00:27:54 +01:00
Jean-André Santoni 35d8ec12c5 Make shader names consistent, step 2 2016-11-19 00:23:07 +01:00
Jean-André Santoni 3b2b7580db Make shader names consistent, step 1 2016-11-19 00:20:52 +01:00
Jean-André Santoni 4e74375356 Replace the modern snow glsl vertex shader 2016-11-19 00:08:59 +01:00
twinaphex 2be4ca1755 Simplify vertex snow shaders 2016-11-18 09:54:19 +01:00
twinaphex a2c69ec254 Added snow shader hooks - doesn't work yet though - shader driver
system is very limited in terms of how we can set custom menu
shaders - will require a rethink
2016-11-17 20:54:29 +01:00
twinaphex 23aa03fcdd Start adding snow shaders 2016-11-17 20:21:20 +01:00
aliaspider ec8fd655b0 (WiiU) add support for 32bpp mode. 2016-11-16 19:03:01 +01:00
aliaspider e23ead0b17 (WiiU) video driver: check data pointer validity before using it. member
functions seem to be called before driver init.
2016-11-14 15:09:53 +01:00
Twinaphex d978a0aa90 Merge pull request #3991 from aliaspider/master
(WiiU) implement viewport/filtering options.
2016-11-13 19:23:32 +01:00
aliaspider 975c442b1a (WiiU) implement viewport/filtering options. 2016-11-13 18:43:22 +01:00
Twinaphex d4eba0ab96 Merge pull request #3985 from aliaspider/master
(WiiU) update.
2016-11-13 02:22:18 +01:00
Jean-André Santoni 72161acbd3 Smoother ribbon 2016-11-11 20:04:55 +01:00
Jean-André Santoni 02be74b9c4 Revert "New ribbon noise. Will have to be ported to GLSL modern, Vulkan and Cg"
This reverts commit 1fa5b66a23.
2016-11-11 19:59:27 +01:00
aliaspider 9ecd8b18e0 (WiiU) set swap interval to 1 when vsync is active. 2016-11-10 15:11:33 +01:00
aliaspider 158fd3404e (WiiU) enable blending. 2016-11-10 14:24:44 +01:00
aliaspider 6f7f6a363b (WiiU) only wait for vsync when not missed. 2016-11-10 14:24:20 +01:00
Jean-André Santoni 1fa5b66a23 New ribbon noise. Will have to be ported to GLSL modern, Vulkan and Cg 2016-11-09 11:59:43 +01:00
twinaphex a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
aliaspider 79192c0ead (WiiU) video: set swap interval to 0 when nonblocking.
add an fps log.
2016-11-08 10:51:07 +01:00
FIX94 4a285fd4e1 (WiiU) fixed random pixels being displayed on game start/close and exit
(WiiU) fixed touchscreen sending invalid data which broke the menu toggle
2016-11-07 02:42:12 +01:00
FIX94 11db939b9b -(WiiU) added in option to disable vsync 2016-11-06 23:29:54 +01:00
aliaspider 0de5019fab (WiiU) clear textures on init. 2016-11-06 22:13:07 +01:00
Twinaphex 38b3e4042d Merge pull request #3953 from aliaspider/master
(WiiU) working sound.
2016-11-06 19:18:11 +01:00
aliaspider e5a07a406a (WIIU) cleanup debug code from the video driver. 2016-11-06 18:59:50 +01:00
Hans-Kristian Arntzen 0d718a9365 Vulkan: Workaround warning from validation layers. 2016-11-06 16:07:44 +01:00
aliaspider d3b3c18a6f (WIIU) GX2 rendering. 2016-11-05 15:05:46 +01:00
twinaphex f707d39c54 Let's just get rid of this problematic check instead 2016-10-31 15:30:20 +01:00
twinaphex de3c1a04db Simplifications 2016-10-31 15:24:03 +01:00
twinaphex 4ff6d8c108 Add more logging 2016-10-31 15:12:34 +01:00
aliaspider e055b7cbc1 (WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
from WUT.
2016-10-29 02:56:40 +01:00
aliaspider afdaf9afbd (WIIU) display core frames. 2016-10-27 23:02:40 +01:00
aliaspider a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00
twinaphex 456c4c4d58 Remove video_driver_cached_frame_render wrapper function 2016-10-25 00:42:26 +02:00
twinaphex 213e357918 Move gl_capabilities to libretro-common 2016-10-24 04:06:05 +02:00
twinaphex 09067e67c3 Create gl_symlinks.h 2016-10-24 04:02:03 +02:00
twinaphex e512065d7d Start making gl_capabilities.c more usable by libretro-common 2016-10-24 03:55:14 +02:00
twinaphex 35ba7fb2c4 Prevent implicit and superfluous memset 2016-10-21 20:04:56 +02:00
twinaphex f3ad815dd9 Prevent implicit memsets 2016-10-21 06:15:20 +02:00
twinaphex 7ebac14e47 (D3D) Cleanups 2016-10-20 05:36:02 +02:00
twinaphex 41212b40c5 Remove DONT_HAVE_STATE_TRACKER 2016-10-20 05:11:35 +02:00
twinaphex 648877757f Revert "(D3D) Cleanups"
This reverts commit e50f8b061d.
2016-10-20 05:07:03 +02:00
twinaphex e50f8b061d (D3D) Cleanups 2016-10-20 05:05:37 +02:00
twinaphex 2cb7cc01bf (D3D) Cleanups 2016-10-20 05:00:20 +02:00
twinaphex e71f8baa5f d3d_overlay_render - cleanup 2016-10-20 04:51:48 +02:00
twinaphex 2b576ebc1c Get rid of _XBOX defines 2016-10-20 04:37:13 +02:00
twinaphex 275814e291 Replace font_driver_free(NULL) calls with font_driver_free_osd()
inside video drivers
2016-10-20 00:39:33 +02:00
Higor Eurípedes 6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
Francisco José García García 81e7a60759 (VITA) Try to use NEON 2016-10-17 18:39:53 +02:00
Twinaphex dd2c3ab1ee Merge pull request #3815 from Brunnis/master
Implement support for video_max_swapchain_images setting
2016-10-17 16:21:53 +02:00
Mikael Brunnhede 2cb9c912f4 Implement support for video_max_swapchain_images setting. 2016-10-17 11:23:34 +02:00
Francisco José García García 8e631df6c4 (VITA) Temporal fix for clear screen 2016-10-16 17:45:06 +02:00
aliaspider f9e7d4dc3f (3DS) fix gfx corruption when closing content. 2016-10-13 12:16:07 +01:00
aliaspider d48445fc1e (3DS) video driver:
- texture handling improvement.
- flush pending tasks while waiting for vsync.
2016-10-10 22:25:25 +01:00
aliaspider c78f697c16 (3DS) wrap texture coordinate swizzeling in a function. 2016-10-10 22:22:08 +01:00
Francisco José García García bcfa865569 (VITA) Wait for rendering before free overlays 2016-10-10 19:35:14 +02:00
twinaphex f698e0cfac Add GL_CAPS_GLES3_SUPPORTED 2016-10-08 14:11:12 +02:00
twinaphex d71a688685 (D3D9/Cg) Cleanups 2016-10-08 08:39:44 +02:00
aliaspider 4edbb48f34 (3DS) missing return value. 2016-10-08 01:17:48 +01:00
Twinaphex 49d520c5d5 Merge pull request #3736 from aliaspider/master
(3DS) more fixes.
2016-10-04 21:50:15 +02:00
aliaspider d87adcd226 (3DS) fix texture combiner stages in 32bit mode. 2016-10-04 20:38:00 +01:00
Brad Parker 1f27773fe0 C89_BUILD fix 2016-10-04 12:15:46 -04:00
aliaspider 23eef2c6ee (3DS) video driver: (cont.) 2016-10-04 15:55:30 +01:00
aliaspider c4daa087d4 (3DS) video driver: add some checks for the validty of incoming data. 2016-10-04 15:49:55 +01:00
twinaphex 23ed63f33a move device_aspect variable 2016-10-02 20:37:14 +02:00
aliaspider 056224bf50 (3DS) avoid using ctrGuCopyImage during font init for now. (fixes freeze
on cia builds)
2016-09-30 16:16:18 +01:00
aliaspider afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
aliaspider 5db13323f6 (3DS) create gfx/common/ctr_common.h.
remove depthbuffer.
use vramalloc.
2016-09-28 20:59:54 +01:00
aliaspider dc16477c46 (3DS) fix tearing, the displayed framebuffer was being set to the
currently selected drawbuffer.
2016-09-28 18:34:38 +01:00
aliaspider 8266a423cd (3DS) update for latest ctrulib. 2016-09-28 18:09:17 +01:00
Francisco José García García 8a6625753d (Vita) Add get framebuffer 2016-09-27 23:39:24 +02:00
twinaphex 6d702f3538 Remove unused buf_fps variable 2016-09-22 21:51:22 +02:00
twinaphex 8d9eccfd65 (xvideo.c) Prevent null pointer dereferences for geom variable 2016-09-22 20:54:06 +02:00
Higor Eurípedes c08650f1f9 Remove trailing whitespace 2016-09-17 21:20:27 -03:00
Higor Eurípedes d4305d65d9 (gl) Fix gl_check_error()
gl_check_error() was leaking memory and the error message was never
returned to the calling context.
2016-09-17 21:19:57 -03:00
Alcaro 9485263555 Fix implicit strstr 2016-09-15 21:16:25 +02:00
twinaphex d4797781ea (GX) Buildfix 2016-09-11 16:44:29 +02:00
twinaphex 3cf24afc44 (CTR) Buildfix 2016-09-11 16:43:56 +02:00
Alcaro 0720d5ad77 Kill warning 2016-09-11 16:38:36 +02:00
twinaphex 51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex 606e37fcbd Cleanups 2016-09-11 15:07:07 +02:00
twinaphex 7ac1ed7e10 Cleanups 2016-09-11 14:54:34 +02:00
twinaphex 202e3e796e Get rid of more general.h includes 2016-09-11 14:46:53 +02:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
twinaphex db6171676a Use retro_assert everywhere 2016-09-08 11:59:44 +02:00
Twinaphex ac2676b25f (glcapabilies.h) Add HAVE_CONFIG_H ifdef 2016-09-08 05:51:20 +02:00
Francisco José García García 04b5dbdb5c (VITA) Silence texture load 2016-09-07 23:53:20 +02:00
Alcaro 37a907eb51 These aren't needed. 2016-09-07 14:40:10 +02:00
Alcaro 3f105fe71f Perform evil experiments (run this driver in a completely different program) 2016-09-07 14:30:27 +02:00
Alcaro e243614db8 Create half-broken XShm driver, to perform evil experiments on 2016-09-07 13:39:00 +02:00
twinaphex 245a65a0d7 Change this 2016-09-07 01:12:35 +02:00
dankcushions cdc4bff3fb Fix build on Raspberry Pi (3) 2016-09-06 21:54:53 +01:00
mudlord f3a0d8518e mudlord is a fucking clot/hack and needs to be shot.
Should have tested on other drivers than Nvidia Windows.
2016-09-07 05:56:07 +10:00
Brad Miller 94be5a8651 Update modern_pipeline_xmb_ribbon.glsl.vert.h
nit
2016-09-06 15:58:37 +10:00
mudlord d77759cc1b change 2016-09-06 15:45:57 +10:00
mudlord 73a1cd4631 greatly optimized modern vertex shader for ribbon. 2016-09-06 15:42:16 +10:00
twinaphex 266a06ffb1 Revert "Expose GPU Hard Sync for GLES 3 too"
This reverts commit a74813c9ea.
2016-09-05 21:43:02 +02:00
twinaphex bd45d7a707 gl_capabilities.c - cleanups 2016-09-05 21:25:38 +02:00
twinaphex 67c2965612 OpenGL ES should not reach this code 2016-09-05 21:22:38 +02:00
twinaphex a74813c9ea Expose GPU Hard Sync for GLES 3 too 2016-09-05 21:16:30 +02:00
twinaphex 280aa831b5 Remove verbosity.h header dependency on gl_capabilities.c 2016-09-05 21:12:44 +02:00
twinaphex 43edd76736 Add headers 2016-09-05 21:09:21 +02:00
twinaphex 86d2a36407 (Win32) Buildfixes 2016-09-05 18:43:32 +02:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex f0702ac72c (PS3) Buildfix 2016-09-05 07:59:26 +02:00
twinaphex 76732249b6 Cleanups 2016-09-05 07:30:44 +02:00
Twinaphex ef43a573a3 Silence warnings 2016-09-05 07:28:55 +02:00
twinaphex 1edaa20029 header cleanups for gl_capabilities.c 2016-09-05 07:26:32 +02:00
twinaphex 1bed2dc3c4 Buildfix 2016-09-05 07:22:44 +02:00
twinaphex 1a241fa9ce Rewrite this 2016-09-05 07:22:44 +02:00
twinaphex 7af3b79416 Create gl_capabilities.c/gl_capabilities.h 2016-09-05 07:04:56 +02:00
Brad Parker 0eb1777a1f remove extra semicolons 2016-09-03 10:30:21 -04:00
twinaphex 064f74825a CXX_BUILD buildfix 2016-09-01 18:26:01 +02:00
twinaphex 467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
twinaphex ddb9cff2af More header include cleanups 2016-09-01 18:10:59 +02:00
twinaphex ba7d638b99 Use string_is_equal 2016-08-29 18:46:41 +02:00
twinaphex 0f5118d895 feedback_pass - change to 0 2016-08-27 16:02:21 +02:00
Alcaro cad2eee9e0 Fix some PS3 derps 2016-08-27 13:54:02 +02:00
Francisco José García García 4221374072 (VITA) Add XMB support 2016-08-23 02:49:53 +02:00
Francisco José García García 70f16cddda (VITA) Fix setting aspect ratio 2016-08-15 02:39:34 +02:00
Twinaphex 50afc567b3 Prevent unused variable 2016-08-10 07:20:49 +02:00
twinaphex 04e7e51845 Move log message 2016-08-08 18:44:12 +02:00
twinaphex 8da3054968 Change this to HAVE_OPENGLES instead of HAVE_OPENGLES2 2016-08-08 18:40:58 +02:00
twinaphex becf96837e Allow for GL_DEBUG on GLES3/GLES 3.1/GLES 3.2 2016-08-08 18:37:46 +02:00
Francisco José García García cddef9827d (VITA) Fix rgb32 2016-08-08 01:51:23 +02:00
Hans-Kristian Arntzen 96818a297c Vulkan: Fix validation errors with OriginalHistory.
For some reason, OriginalHistory blit happened inside a render pass.
Also add more TRANSFER_SRC_BIT caps to images as they might have to be
copied to history.
2016-08-07 01:09:15 +02:00
twinaphex 0164ce3725 Move comments 2016-08-06 17:31:01 +02:00
twinaphex ef74742078 Change GL_CAPS_FBO 2016-08-06 17:28:15 +02:00
twinaphex 083bc4eed3 Cut down on some HAVE_FBO ifdefs 2016-08-06 03:18:19 +02:00
twinaphex 444d957978 (PSGL) Fix 32bit color 2016-08-03 17:07:38 +02:00
twinaphex b8de32587b (GL) Fix PSGL build 2016-08-03 16:47:01 +02:00
twinaphex afce6fccc5 (GL) Fix statement is unreachable warnign 2016-08-03 16:28:52 +02:00
Francisco José García García d514963a95 (VITA) Show fps 2016-08-03 02:02:44 +02:00
twinaphex b7b5ffe28c Above case should handle this already 2016-08-03 00:24:03 +02:00
twinaphex 02f0b4a428 GL_CAPS_BGRA8888 - Query for Apple extension GL_APPLE_texture_format_BGRA8888 too 2016-08-03 00:21:48 +02:00
twinaphex a517b39cfb Implement CAPS_PACKED_DEPTH_STENCIL for non-GLES too 2016-08-03 00:19:44 +02:00
twinaphex 36963b91c7 (GL capabilities) Packed depth stencil - if GLES is 3 or higher,
assume yes, also query EXT_packed_depth_stencil
2016-08-03 00:15:47 +02:00
twinaphex 23f4e8bdfa (Android/GLES) Should work with HW render context again 2016-08-03 00:08:50 +02:00
twinaphex 871b1740a8 Rename render_chain_driver.h to render_chain_gl.h 2016-08-02 16:22:57 +02:00
twinaphex fb641dabd1 (Griffin ) Buildfix 2016-08-02 15:01:34 +02:00
twinaphex 84588a1527 (GL) Move more code 2016-08-02 03:12:48 +02:00
twinaphex 9b06ec6c4e (GL) Move more FBO functions to render_chain_gl_legacy 2016-08-02 03:10:55 +02:00
twinaphex bd3cd08be8 (GL/FB) Still compiles and links with --disable-fbo 2016-08-02 03:04:27 +02:00
twinaphex d391159f39 Move more HAVE_FBO code to render_chain_gl_legacy 2016-08-02 02:56:44 +02:00
twinaphex 85ec02ba6b (GL) Move more renderchain code over to render_chain_gl_legacy 2016-08-02 02:54:38 +02:00
twinaphex 78806bf33c Move more renderchain code over to render_chain_gl_legacy.c 2016-08-02 02:38:46 +02:00
twinaphex a8e74f0aa2 (GL) Start moving renderchain code over to separate files 2016-08-02 02:27:23 +02:00
twinaphex ab8471959e (D3D) 80-char style nits 2016-08-02 01:47:11 +02:00
twinaphex a0d3a148e7 Move force SRGB disable check at beginning of capability check 2016-08-02 00:56:21 +02:00
twinaphex 31ca6ca5ea (GL) Rename another function 2016-08-02 00:42:03 +02:00
twinaphex 188dd9bd69 Create gl_renderchain_add_lut 2016-08-02 00:31:04 +02:00
twinaphex ec91878187 (GL) rename to gl_recompute_pass_sizes 2016-08-02 00:25:28 +02:00
twinaphex 9c1155283b (GL) Create gl_renderchain_convert_geometry 2016-08-02 00:23:38 +02:00
twinaphex e8480a72a6 (D3D) Correct one shader 2016-08-01 22:45:07 +02:00
twinaphex c314077f1d (D3D) Cleanups of shaders 2016-08-01 22:43:51 +02:00
twinaphex a2bbbee713 (D3D) Header fix pt. 2 2016-08-01 22:21:11 +02:00
twinaphex fd6a9fd3bd (D3D) Fix include 2016-08-01 22:18:42 +02:00
twinaphex 8d186dab88 Relocate D3D drivers 2016-08-01 22:05:57 +02:00
twinaphex 124454430b (GL) Go through gl_query_core_context_in_use 2016-08-01 21:58:18 +02:00
Twinaphex becef95dc2 (GL) Silence unused variable 2016-08-01 21:55:02 +02:00
Francisco José García García 95b630636d (VITA) Rotation workaround 2016-08-01 20:26:29 +02:00
twinaphex e3dc0261c0 (GL) Cleanups 2016-08-01 18:10:34 +02:00
twinaphex 46c8bba59e (GL) Cut down on ifdefs 2016-08-01 18:08:18 +02:00
twinaphex 10ceec4c99 (GL) Cleanups 2016-08-01 17:46:02 +02:00
twinaphex b7458f5523 (GL) Cleanups 2016-08-01 17:40:53 +02:00
twinaphex 34488802d9 Create GL_CAPS_SRGB_FBO_ES3 2016-08-01 17:36:07 +02:00
twinaphex 09ea570dcb Create GL_CAPS_FP_FBO 2016-08-01 17:33:50 +02:00
twinaphex 3d76f6e79f gl_check_capability - cleanups 2016-08-01 17:30:58 +02:00
twinaphex 76c021df09 Create GL_CAPS_SRGB_FBO 2016-08-01 17:28:43 +02:00
twinaphex 9b5703c9f3 Create GL_CAPS_FULL_NPOT_SUPPORT 2016-08-01 17:23:01 +02:00
twinaphex 91bef22613 EGL images should be usable with GLES3 and later too 2016-08-01 16:47:24 +02:00
twinaphex a45239359c (GL) Create GL_CAPS_UNPACK_ROW_LENGTH
(GL) Cut down on HAVE_OPENGLES2 ifdefs and try to use
HAVE_OPENGLES instead
2016-08-01 16:36:57 +02:00
twinaphex 6d76a04b0f (GL) Cleanups
(Emscripten) Add HAVE_RPNG/HAVE_RJPEG
2016-08-01 16:25:02 +02:00
twinaphex 78217ca32b (GL) Create GL_CAPS_ES2_COMPAT 2016-08-01 16:19:41 +02:00
twinaphex bbc303c7f2 (GL) Create GL_CAPS_PACKED_DEPTH_STENCIL 2016-08-01 16:11:35 +02:00
twinaphex 375a2f2480 Create GL_CAPS_DEBUG 2016-08-01 16:06:19 +02:00
twinaphex 4b1ab53361 Create gl_check_capability 2016-08-01 16:01:21 +02:00
twinaphex 1aac393f73 (GL) Cut down on some forward declarations 2016-08-01 15:40:02 +02:00
twinaphex 94763e1db4 (GL) Remove one unnecessary HAVE_MENU ifdef 2016-08-01 15:31:29 +02:00
Twinaphex ec82db21d2 Merge pull request #3301 from frangarcj/master
(VITA) Fix rotation
2016-07-31 20:31:08 +02:00
Francisco José García García b4bd9cf830 (VITA) Fix rotation 2016-07-31 19:48:55 +02:00
Hans-Kristian Arntzen 4e8e79eabd Vulkan: Add mipmapping support. 2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen d39a3619d6 Begin implementation of LUTs in Vulkan. 2016-07-31 12:26:14 +02:00
Hans-Kristian Arntzen f54b0c0ff0 Vulkan: Implement swap_interval > 1.
We have to fake it by duping since Vulkan has no native support for
this.
2016-07-24 00:34:48 +02:00
Hans-Kristian Arntzen 8c1b935969 Vulkan: Implement BFI. 2016-07-24 00:07:32 +02:00
Hans-Kristian Arntzen 8569028189 Vulkan: Use manual memory management for cached/incoherent devices. 2016-07-15 16:12:30 +00:00
twinaphex 76cc6fd8ec Start implementing signal handler code once in frontend driver code 2016-07-08 02:38:33 +02:00
twinaphex 0346cf70d5 Seems to come from here - add license text to it -
1ec3c44bdd/tree/tests/util/format.c
2016-07-04 15:05:50 +02:00
twinaphex 54e137d9f7 Cleanups 2016-07-03 10:47:09 +02:00
twinaphex fe1dc51889 Add missing file 2016-07-03 10:44:53 +02:00
twinaphex a8bba31429 Cleanups 2016-07-03 10:44:34 +02:00
twinaphex d53cbfbdfb Backport DRM video driver 2016-07-03 10:37:07 +02:00
Hans-Kristian Arntzen 4729ec9e1b Add support for signalling semaphores from frontend.
Useful for conserving framebuffer memory.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen 54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Hans-Kristian Arntzen b013a9c863 Vulkan: Replace prebaked shaders with glslc -mfmt=c.
Far more clean and avoids illegal punning.
2016-06-25 14:55:03 +02:00
Hans-Kristian Arntzen 972a5db7ae Vulkan: Fix shader module leak. 2016-06-25 14:06:14 +02:00
Hans-Kristian Arntzen 07880e3f45 Vulkan: Begin hooking up validation layers.
Found lots of regressions due to bad reformatting.
2016-06-25 13:52:33 +02:00
Hans-Kristian Arntzen d043123f71 Vulkan: Add support for queue transfers in HW rendering. 2016-06-25 11:39:52 +02:00
vanfanel c097eed755 VIDEO/DISPMANX: Make the HW Bilinear Filtering setting work. 2016-06-16 11:37:02 +02:00
vanfanel 03dd7d4b51 VIDEO/DISPMANX: Fixed segfault when loading new core and content from RGUI 2016-06-15 14:28:13 +02:00
twinaphex 4e91f6fcd0 Use CG macro instead 2016-06-08 05:26:33 +02:00
Twinaphex 710a3fe249 Merge pull request #3090 from fr500/nuklear
[nk] fix nuklear / linux
2016-06-08 02:46:02 +02:00
radius 991ea3c008 [nk] fix nuklear in linux and don't request a core context on windows 2016-06-07 19:40:11 -05:00
FIX94 b80bba2061 (GX) only apply better gamma setting to wii and use old setting on ngc
(GX) show gamma setting in the video options on ngc, was hidden before
2016-06-05 18:57:29 +02:00
FIX94 f3d0860483 (GX) improved video gamma setting by allowing a wider spectrum (0.1 to 3.0) 2016-06-05 18:03:39 +02:00
twinaphex b23784ddc5 Update modern_alpha_blend.gls.vert.h 2016-05-30 08:55:31 +02:00
twinaphex 632cc599d6 Change modern_alpha_blend.glsl.frag.h 2016-05-30 08:53:49 +02:00
twinaphex 0f12336737 Take this out too 2016-05-30 08:51:41 +02:00
twinaphex d93d8e7a8f Update stock_fragment_modern 2016-05-30 08:44:13 +02:00
twinaphex d39d925c1d Fix opsque Cg shader 2016-05-29 03:48:08 +02:00
twinaphex da6a74b2dc Leave only GLSL_330 macro 2016-05-28 20:58:49 +02:00
Twinaphex 2056d25e3e Update GLSL_330_ES/GLSL_330_CORE 2016-05-28 20:56:37 +02:00
Twinaphex e331281d6a (shaders_common.h) Fix GLES 2016-05-28 20:56:02 +02:00
twinaphex 3d5cc14030 Convert other shaders 2016-05-28 18:43:00 +02:00
twinaphex 653359911a Cleanup shaders 2016-05-28 18:18:23 +02:00
radius 38305f8fb7 Update the menu driver to work with the latest version 2016-05-24 21:41:51 -05:00
twinaphex 91220c3448 Remove logically dead code 2016-05-23 21:49:40 +02:00
twinaphex 7c0532c3e7 Remove logically dead code 2016-05-23 21:47:41 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex 80ce237878 (HAVE_MENU not defined) Buildfixes 2016-05-17 08:02:13 +02:00
twinaphex 281a33d61f Rename function to performance_counter_init 2016-05-16 09:58:45 +02:00
twinaphex f5bc75c640 Rename retro_perf_start/retro_perf_stop 2016-05-16 09:53:54 +02:00
twinaphex 18355d4748 Rename retro_perf_stop 2016-05-16 09:48:14 +02:00
twinaphex 0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex cda8e7b560 Rename gl_init_vao to gl_check_vao 2016-05-16 06:14:32 +02:00
twinaphex e2cc3bc08d Create gl_query_core_context_in_use 2016-05-16 05:55:42 +02:00
twinaphex c28b4da58c Remove more dependencies on gl pointer 2016-05-16 05:50:39 +02:00
twinaphex 8f2c665dc7 Remove dependence on gl pointer for querying extensions 2016-05-16 05:47:34 +02:00
twinaphex 21438fc0af Some buildfixes for GL_DEBUG 2016-05-12 02:58:09 +02:00
neville 67e64f4ca6 gl_check_mipmap - don't look for GL_EXT_framebuffer_object here
- breaks OSX PPC
2016-05-11 23:04:48 +02:00
twinaphex c9d3936ee5 Check for GL_EXT_framebuffer_object too 2016-05-11 22:49:41 +02:00
twinaphex fc56f6ebdb Add some HAVE_THREADS ifdefs 2016-05-11 10:10:30 +02:00
twinaphex 78783cc2aa Buildfixes for compiling without HAVE_MENU 2016-05-11 10:06:15 +02:00
twinaphex 4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex 7c20f2b868 Change namespace of thread functions 2016-05-10 03:14:23 +02:00
twinaphex dde471e001 Rename gfx_ structs 2016-05-10 02:39:09 +02:00
twinaphex 2ebb92834c Rename gfx_fbo_rect to video_fbo_rect 2016-05-10 02:34:36 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 6bbe5fb83a Avoid warning 2016-05-09 19:24:10 +02:00
twinaphex 44ed8d1116 CXX_BUILD fixes 2016-05-09 05:48:47 +02:00
twinaphex 7272a3fdaf Prevent some warnings 2016-05-09 04:54:25 +02:00
twinaphex 9c1d1f3af8 (GL) Remove these conditionals - mipmap support should be
detected at runtime
2016-05-09 04:38:20 +02:00
twinaphex 3dfd8a0584 Split up vertex/fragment shader conditionals for XMB ribbon 2016-05-09 04:31:21 +02:00
twinaphex 3e40b77108 Improve check for gl_check_mipmap 2016-05-09 03:49:57 +02:00
twinaphex ca976aeda9 Make gl_load_texture_data a static function 2016-05-09 03:44:46 +02:00
twinaphex 4e535f77c6 Add gl_check_mipmap 2016-05-09 03:40:59 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
Torsten Paul 737e2832f2 Fix typos in VideoCore driver causing compile error on Raspberry Pi. 2016-05-08 21:55:46 +02:00
twinaphex 1b8e8ac22a Remove video_shader_driver_ctl 2016-05-08 21:11:27 +02:00
twinaphex ed5954420b (MSVC) Buildfixes 2016-05-08 20:40:42 +02:00
twinaphex b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
Twinaphex be1daeebd7 Merge pull request #2971 from t-paul/screensaver-fix
Suppress screensaver only if requested by user settings.
2016-05-08 20:26:39 +02:00
twinaphex 7399ba386a Rename gfx_ctx_ prefix 2016-05-08 19:24:23 +02:00
Torsten Paul 1979ea52d2 Suppress screensaver only if requested by user settings. 2016-05-08 19:22:45 +02:00
Hans-Kristian Arntzen f91b36eec8 Fix inconsistencies between Vulkan and GL in ribbon.
Also fixes a shitty bug in menu_driver_draw_bg with pointer to stack.
2016-05-08 15:21:53 +02:00
Hans-Kristian Arntzen 8870e85395 More fixes for menu_display_ctl.
Grep shows nothing now.
2016-05-08 14:18:12 +02:00
Hans-Kristian Arntzen 66c4f608e6 Clear out rest of video_driver_ctl use. 2016-05-08 14:10:28 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
Hans-Kristian Arntzen 464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
Hans-Kristian Arntzen 26cfedc546 Add XMB ribbon shaders to Vulkan. 2016-05-08 09:54:36 +02:00
twinaphex e482bc7556 (GL) Avoid warning 2016-05-05 02:08:07 +02:00
twinaphex eb2a4f5c56 (GL) Nits 2016-05-05 02:07:33 +02:00
twinaphex 2c77616ec3 (gfx/drivers) Cleanups 2016-05-05 01:59:05 +02:00
twinaphex 1b84895ba0 (GL) Cleanup gl_check_fbo_dimensions 2016-05-05 01:42:08 +02:00
twinaphex d4a322add3 Cleanups 2016-05-05 01:33:54 +02:00
twinaphex 0ad0763413 gl_read_viewport - cleanup 2016-05-05 01:32:35 +02:00
twinaphex 7feac862db (GL) Cleanups 2016-05-05 01:29:52 +02:00
twinaphex 9465a00d4b Create video_frame_convert_rgba_to_bgr 2016-05-04 18:44:39 +02:00
twinaphex bfcc89f580 (SDL) Use video_frame_scale 2016-05-04 16:56:16 +02:00
twinaphex 7b2a2f2336 Create video_frame_scale 2016-05-04 16:44:38 +02:00
twinaphex bf53a939da Create gfx/video_frame.h 2016-05-04 16:32:24 +02:00
twinaphex 83584c84f8 (sdl_gfx.c) Style nit 2016-05-04 04:45:46 +02:00
twinaphex 66b6129e98 Cleanups 2016-05-04 04:43:24 +02:00
twinaphex 3ba02a3786 Cleanups 2016-05-04 04:34:05 +02:00
twinaphex a393d9a75b Cleanups 2016-05-04 04:22:41 +02:00
Twinaphex 51565e6336 (iOS) Avoid some analyze warnings 2016-05-04 04:10:33 +02:00
twinaphex 65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
twinaphex b4f4720f51 (Cg) Update Cg simple ribbon courtesy of teepee 2016-04-26 22:11:58 +02:00
twinaphex 54c0ca4bf5 C89_BUILD fixes 2016-04-25 13:45:53 +02:00
twinaphex d7b3e9cc8f Add old shader versions of XMB ribbon 2016-04-24 20:25:56 +02:00
Twinaphex 5a0d656a47 (XMB) Rename noise2 to xmb_noise2 - fixes shader compilation
on OSX
2016-04-23 05:21:40 +02:00
Jean-André Santoni 422c6d8984 (XMB) Ribbon lighting + readability tweaks 2016-04-23 05:24:44 +07:00
twinaphex 1bbc2f09b5 (courtesy of teepee) Rewrite the ribbon code to use the coordinate
array
2016-04-19 23:00:55 +02:00
Twinaphex 9d0047798d Merge pull request #2874 from aliaspider/master
(3DS) gfx driver: improvements / fixes.
2016-04-18 18:10:40 +02:00
aliaspider 0ffba39280 (3DS) restore state correctly when suspending/exiting app. (fixes #2207) 2016-04-18 16:38:32 +01:00
aliaspider 4f54025a50 (3DS) 3D slider display mode selection tweaks. 2016-04-18 15:55:34 +01:00
aliaspider 0f8895bcc3 (3DS) the parallax layer register can be written to from userland with
GSPGPU_WriteHWRegs.
2016-04-18 15:22:41 +01:00
twinaphex 2d69615f1d Add some compatibility defines for XMB ribbon pipeline shader 2016-04-18 03:56:08 +02:00
twinaphex faa3e3557c Exclude SDL for C89_BUILD 2016-04-18 03:23:47 +02:00
Twinaphex 25c2acb98d Merge pull request #2873 from lakkatv/master
(XMB) Fix the ribbon with GLES
2016-04-17 21:58:57 +02:00
Jean-André Santoni 8e4934edae (XMB) Fix the ribbon with GLES 2016-04-18 02:50:48 +07:00
Twinaphex 1b111feb9e Merge pull request #2872 from aliaspider/master
(3DS) add more display modes for the top screen that can be controlled by the 3D slider.
2016-04-17 21:16:07 +02:00
aliaspider 4994de806a (3DS) add more display modes for the top screen that can be controlled
by the 3D slider.
2016-04-17 20:10:21 +01:00
twinaphex 7b3b4de3b9 Ribbon GLSL fragment shader - remove this unused line 2016-04-17 18:25:25 +02:00
twinaphex ec4f961348 (XMB Cg) Ribbon works with Cg now too 2016-04-17 17:59:40 +02:00
aliaspider 1465cf1ffc (3DS) allow setting a start offset in the texture 2016-04-17 15:30:44 +01:00
aliaspider a609a748db (3DS) move shaders to a subdirectory. 2016-04-17 13:27:55 +01:00
aliaspider 27fc306b19 (3DS) refactor shaders. 2016-04-17 13:23:56 +01:00
twinaphex 6579b5f3c8 Add XMB shader compilation to shader_gl_cg.c 2016-04-17 05:52:26 +02:00
twinaphex 30ade96fc0 Add Cg conversions of XMB ribbon/Zahnrad 2016-04-17 05:48:06 +02:00
twinaphex 9386fb2fa0 Move D3D9 HLSL font shader to file 2016-04-17 04:13:23 +02:00
twinaphex b3220cf53e Move zahnrad shaders to separate files 2016-04-17 02:36:07 +02:00
Twinaphex 8616b21e1f Merge pull request #2869 from aliaspider/master
(3DS) change shader format/assembler
2016-04-17 00:18:00 +02:00
twinaphex e9d16655f0 Create d3d_shaders 2016-04-17 00:16:32 +02:00
twinaphex 02e0be55a8 Move GL stock shader to gfx/drivers/gl_shaders 2016-04-17 00:11:52 +02:00
twinaphex f0f60901ff Move all shader files to header files (gfx/drivers/gl_shaders) 2016-04-17 00:08:45 +02:00
twinaphex 8b6abde2f9 Start moving GL shaders to gfx/drivers/gl_shaders 2016-04-16 23:57:37 +02:00
aliaspider ad0d73d8f0 (3DS) refactor shaders. simplify texture combiner usage. 2016-04-16 22:38:13 +01:00
aliaspider c370afd861 (3DS) start porting shaders to the picasso format. 2016-04-16 20:26:05 +01:00
twinaphex 92faefbccc (GL) Cleanups - gl_set_shader 2016-04-16 07:19:21 +02:00
twinaphex dfe723c727 gl_shader_init - cleanup 2016-04-16 07:16:32 +02:00
twinaphex 4e041ff3d0 (GL) gl_shader_init - Cleanups 2016-04-16 05:36:09 +02:00
twinaphex 7b88378952 Add params to video_shader_ctx_init 2016-04-16 05:14:39 +02:00
twinaphex 8a90e2777c Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND 2016-04-16 01:50:20 +02:00
twinaphex 9d85afd358 Refactor SHADER_CTL_USE 2016-04-15 07:37:06 +02:00
Hans-Kristian Arntzen c7b96b75b8 Vulkan: Add more error logging. 2016-03-29 17:36:13 +02:00
Hans-Kristian Arntzen 38a305bb6e Vulkan: Add proc address query functions to HW interface.
Allows cores to avoid linking directly against any extra library.
Update HW interface version to 2 to signal ABI change.

Note that the interface is still experimental and can change at any time.
2016-03-29 16:35:31 +02:00
Hans-Kristian Arntzen 1ff4445ba0 Remove dead code with full_x/full_y.
Very confusing and no longer serves any purpose anyways.
2016-03-29 15:28:13 +02:00
Hans-Kristian Arntzen 82db5a4950 Vulkan: Use single UBO for all passes and sync indices.
Significantly reduces number of allocations.
2016-03-26 19:39:51 +01:00
Hans-Kristian Arntzen 3838b3c045 Vulkan: Add frame count suport. 2016-03-25 22:06:31 +01:00
Hans-Kristian Arntzen 83ab0d799f Vulkan: Begin implementing history and feedback. 2016-03-25 14:51:37 +01:00
twinaphex 1b289c0f05 (libretro-common) Update 2016-03-24 04:23:17 +01:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex 870bce981d (gl.c) Indenting nits 2016-03-24 03:32:00 +01:00
twinaphex e1c47a68fe Take prototype declaration out of video_driver.h 2016-03-23 06:57:29 +01:00
Hans-Kristian Arntzen f1a5725f66 Vulkan: Host writes are implicitly flushed on submit.
Use TOP_OF_PIPE/0 access instead to work
around spammy asserts on Anvil.

We still have to invalidate the caches however.
2016-03-21 16:57:04 +01:00
Hans-Kristian Arntzen 7899d449e6 Vulkan: Also invalidate fragment uniform buffer 2016-03-21 11:49:27 +01:00
Hans-Kristian Arntzen a21687b5d7 Vulkan: Ensure vertex caches are invalidated. 2016-03-21 10:10:29 +01:00
Hans-Kristian Arntzen 84923a0465 Vulkan: Tighten up pipeline barrier usage.
Lots of memory barriers used with TOP_OF_PIPE which is not valid.
2016-03-21 10:02:00 +01:00
Hans-Kristian Arntzen 07524fe433 Vulkan: Log about format use. 2016-03-21 09:29:41 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex 70bb4c69f3 CXX_BUILD - silence some warnings 2016-03-20 05:26:16 +01:00
twinaphex 8b4a41155d C89_BUILD buildfixes 2016-03-20 05:24:05 +01:00
Alwin Garside 97b60b1e20 Fixed emscripten build 2016-03-13 15:30:30 +01:00
Hans-Kristian Arntzen f02faeea27 Vulkan: Fix segfault on nVidia. 2016-03-06 12:33:46 +01:00
Hans-Kristian Arntzen c00d32f30f Vulkan: Get correct window mode size. 2016-03-06 12:18:11 +01:00
Hans-Kristian Arntzen 6cde59a8ad Vulkan: Add more detailed counters. 2016-03-06 12:11:44 +01:00
twinaphex eebcde721b Rename video_coord_array 2016-03-05 07:28:02 +01:00
twinaphex 64a77af881 Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex 414c63b59a (VG) Silence some warnings
(Libretro-common) Add some headers
2016-03-02 23:09:31 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex 86a8899b0f (Android) Start preparing Android JNI Makefiles for Android 2016-03-01 18:46:40 +01:00
Themaister bce0d55a43 Vulkan: Allocate correct number of descriptors.
Have to allocate for entire pool, not per set.
2016-03-01 09:44:18 +01:00
twinaphex b79edb6095 Reimplement function pointers 2016-03-01 02:21:53 +01:00
twinaphex 937230564d move more code to vksym.h 2016-03-01 01:53:48 +01:00
twinaphex 4a1a623099 (Vulkan) Add more funcptrs 2016-02-29 23:09:05 +01:00
twinaphex 0e60d20705 Add Command Function pointers 2016-02-29 23:04:17 +01:00
twinaphex 67ea4e1d6b (Vulkan) Pipeline function pointers 2016-02-29 22:55:31 +01:00
twinaphex 1fbac78e35 (Vulkan) Go through function pointer for vkDestroyPipelineCache 2016-02-29 22:38:58 +01:00
twinaphex 1b85ee442f Go through funcptr for vkAllocateCommandBuffers 2016-02-29 22:23:35 +01:00
twinaphex 83dc7db6c7 (Vulkan) Add descriptor set layout function callbacks 2016-02-29 22:04:23 +01:00
twinaphex caed6c61cb (Vulkan) Function pointer for vkFreeCommandBuffers 2016-02-29 21:58:10 +01:00
twinaphex 1e407079e4 Add function pointers for image view functions 2016-02-29 21:55:54 +01:00
twinaphex a6eb40b3d2 Add funcptr for vkAllocateCommandBuffers 2016-02-29 21:51:42 +01:00
twinaphex 4771c45ed3 Add render pass command function pointers 2016-02-29 21:43:04 +01:00
twinaphex 7f5d0f2763 (Vulkan) More function pointers for command buffer functions 2016-02-29 21:37:35 +01:00
twinaphex 860ffff3c9 (Vulkan) Go through funcptr for vkEndCommandBuffer 2016-02-29 21:31:51 +01:00
twinaphex eae652d6a5 Go through funcptr for vkDestroyCommandPool 2016-02-29 21:17:21 +01:00
twinaphex 8232135922 Cleanups 2016-02-29 20:08:56 +01:00
twinaphex e669f92399 (Vulkan) Cleanups 2016-02-29 20:07:11 +01:00
twinaphex 8a06e27c22 (Vulkan) Cleanups 2016-02-29 19:44:46 +01:00
twinaphex 59ad8fcfde (Vulkan) Cleanups 2016-02-29 19:43:54 +01:00
twinaphex f0458495f4 Go through funcptr for vkDestroyPipeline 2016-02-29 19:41:25 +01:00
twinaphex d45f0e0946 Some cleanups 2016-02-29 19:39:49 +01:00
twinaphex 670eede306 Go through function pointer for vkCmdClearAttachments 2016-02-29 19:34:40 +01:00
twinaphex fc7a972466 Go through function pointers for vkMapMemory/vkUnmapMemory 2016-02-29 19:20:42 +01:00
twinaphex 28d5ca6a86 (Vulkan) Style nits 2016-02-29 19:16:21 +01:00
twinaphex b660fb8878 Create sampler function pointers 2016-02-29 19:11:09 +01:00
twinaphex 0e91bb6852 Go through more function pointers 2016-02-29 19:03:18 +01:00
twinaphex 1d96e80b05 (Vulkan) More funcptrs 2016-02-29 18:40:30 +01:00
twinaphex 5863996d83 Go through VKFUNC 2016-02-29 17:06:41 +01:00
twinaphex 6c9e8041c6 Add function pointer for vkCreateCommandPool 2016-02-29 16:41:49 +01:00
twinaphex 6dce80ea07 Add function pointers for vkCreatePipelineCache and vkCreatePipelineLayout 2016-02-29 16:37:15 +01:00
twinaphex 778b50fc28 Add funcptr for vkCreateFramebuffer 2016-02-29 16:32:34 +01:00
twinaphex 361cce328d vkCreateRenderPass - add funcptr 2016-02-29 16:30:45 +01:00
twinaphex 4248e244a8 Go through funcptr for vkCmdCopyImage 2016-02-29 06:52:08 +01:00
twinaphex 01f5a7ad84 Go through vkQueueWaitIdle function pointer 2016-02-29 06:31:55 +01:00
twinaphex 09f2b64c1f gl_render_overlay -add early return 2016-02-29 01:43:40 +01:00
twinaphex 34f3963e4e Simplify RUNLOOP_CTL_IS_SLOWMOTION 2016-02-29 01:33:14 +01:00
twinaphex 6fbad68561 (gl.c) Cleanup 2016-02-29 01:29:49 +01:00
twinaphex 7d346d627f Robustness fixes 2016-02-29 01:22:39 +01:00
twinaphex ca497533db Fix C89_BUILD warning 2016-02-28 22:47:46 +01:00
Monroe88 a669039523 Add option for menu linear filter 2016-02-27 17:30:12 -06:00
twinaphex ac3cb48302 (VG) Style nits 2016-02-26 17:36:39 +01:00
twinaphex d9b86c4f6b Remove stub xshm video driver for now 2016-02-26 17:29:35 +01:00
twinaphex 2746bf0cb1 (xvideo.c) Cleanups 2016-02-26 17:26:26 +01:00
twinaphex 94b8e8820e (xvideo.c) Style nits 2016-02-26 17:24:36 +01:00
FIX94 1ed54b8683 Merge branch 'master' of https://github.com/FIX94/RetroArch 2016-02-23 03:40:40 +01:00
FIX94 4f48e61b98 (GX) allow all resolutions to use aspect ratio settings and allow custom viewport x and y to use as much of the screen as possible while making sure to keep the system screen position in mind 2016-02-23 03:40:14 +01:00
twinaphex ef1feca097 Some C89_BUILD fixes 2016-02-22 12:25:41 +01:00
Hans-Kristian Arntzen cece4e5ae2 Vulkan: Add workaround for broken VkImageView swizzling.
Certain early drivers fail to apply swizzle mask.
2016-02-21 13:52:30 +01:00
Hans-Kristian Arntzen f09338b1b8 Set alphaBlendOp correctly. 2016-02-21 13:40:19 +01:00
Hans-Kristian Arntzen 0dddd671f8 Vulkan: Use more approriate barrier 2016-02-21 12:59:11 +01:00
Hans-Kristian Arntzen 4259ea3d06 Merge branch 'master' of git://github.com/libretro/RetroArch 2016-02-21 12:45:26 +01:00
Hans-Kristian Arntzen 36eb07e067 Vulkan: Use copy paths if needed. 2016-02-21 12:33:16 +01:00
twinaphex fbc7eaf287 (vulkan.c) Style nits 2016-02-20 20:29:52 +01:00
twinaphex 1426cf7fb2 (vulkan.c) Style nits 2016-02-20 20:15:46 +01:00
Hans-Kristian Arntzen fa449646e9 Bug fixes for Vulkan readback.
We were getting weird and inconsistent viewport sizes back.
2016-02-20 14:04:33 +01:00
Hans-Kristian Arntzen bcac4a204f Vulkan: Set initial viewport after keep_aspect is correct.
Fixes fullscreen recording.
2016-02-20 13:46:20 +01:00
Hans-Kristian Arntzen 5542427246 Try to use cached memory for readbacks.
Speeds up nVidia readbacks by order of magnitude.
2016-02-20 12:04:53 +01:00
Hans-Kristian Arntzen 459c55989a Use vkCmdCopyImage for readbacks.
Blits often imply render targets.
2016-02-20 11:21:39 +01:00
Hans-Kristian Arntzen c74c7ae053 Vulkan: Work around broken push constants on Ivy Bridge.
Use UBOs instead, should be more compatible with early drivers.
2016-02-18 18:36:49 +01:00
Hans-Kristian Arntzen a1ae86a808 Remove obsolete shaders. 2016-02-18 18:36:49 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex 954ac39b91 Create SHADER_CTL_GET_PREV_TEXTURES 2016-02-14 22:22:40 +01:00
twinaphex e790b503d9 Add SHADER_CTL_GET_IDENT 2016-02-14 22:17:00 +01:00
twinaphex 38034abce6 Add SHADER_CTL_DIRECT_GET_CURRENT_SHADER 2016-02-14 21:55:19 +01:00
twinaphex 46b963619a Create SHADER_CTL_WRAP_TYPE 2016-02-14 21:41:16 +01:00
twinaphex bd74390cde Add SHADER_CTL_USE 2016-02-14 20:01:39 +01:00
twinaphex b4dcbb235f Add SHADER_CTL_FILTER_TYPE 2016-02-14 19:51:32 +01:00
twinaphex 37c2b47915 Add SHADER_CTL_SET_MVP 2016-02-14 19:43:47 +01:00
twinaphex 02ec7830d9 Create SHADER_CTL_INFO 2016-02-14 19:30:48 +01:00
twinaphex cdd6684bb9 Create SHADER_CTL_SCALE 2016-02-14 19:21:54 +01:00
twinaphex 6c1b96f50d Add SHADER_CTL_SET_COORDS 2016-02-14 18:59:42 +01:00
twinaphex 20441299e1 Add SHADER_CTL_MIPMAP_INPUT 2016-02-14 18:48:17 +01:00
twinaphex fab6903522 Create SHADER_CTL_INIT 2016-02-14 18:41:45 +01:00
twinaphex 678cabc48c Add SHADER_CTL_DEINIT 2016-02-14 18:22:38 +01:00
twinaphex 7c4b372208 Add SHADER_CTL_GET_FEEDBACK_PASS 2016-02-14 18:19:48 +01:00
twinaphex fe3c3f5203 Create SHADER_CTL_INIT_FIRST 2016-02-14 18:17:43 +01:00
twinaphex f906e828ba Add SHADER_CTL_SET_PARAMS 2016-02-14 18:14:51 +01:00
twinaphex f9824dd53e Simplify video_shader_driver_set_params 2016-02-14 18:09:12 +01:00
twinaphex 5e1f289cd4 80-char width limit, style nits 2016-02-14 17:02:55 +01:00
twinaphex 57c4db4338 Style nits 2016-02-14 16:59:21 +01:00
twinaphex 5b581e70ba 80-char width limit style nits 2016-02-14 16:27:29 +01:00
twinaphex c2d7b330aa vg.c - buildfix 2016-02-14 16:15:01 +01:00
twinaphex 68969d1363 Add GFX_CTL_GET_VIDEO_SIZE 2016-02-14 02:26:20 +01:00
twinaphex bcaf08ad2d Add GFX_CTL_SET_RESIZE 2016-02-14 02:15:43 +01:00
twinaphex 5516ff05b5 Create GFX_CTL_SET_VIDEO_MODE 2016-02-14 02:12:18 +01:00
twinaphex 6413449944 (Android/EGL Images) Buildfixes 2016-02-14 02:00:14 +01:00
twinaphex 154f85c6fa Add GFX_CTL_SUPPRESS_SCREENSAVER 2016-02-13 23:39:12 +01:00
twinaphex f6afe72a1e Add GFX_CTL_IMAGE_BUFFER_WRITE 2016-02-13 23:35:47 +01:00
twinaphex 0a9787ec49 Create GFX_CTL_INPUT_DRIVER 2016-02-13 23:26:33 +01:00
twinaphex ce41c5bbca Create GFX_CTL_TRANSLATE_ASPECT 2016-02-13 22:07:56 +01:00
twinaphex f94e9c532e Create GFX_CTL_PROC_ADDRESS_GET 2016-02-13 22:02:49 +01:00
twinaphex 254d2d1fff Avoid crash in gl_frame 2016-02-13 21:15:18 +01:00
twinaphex 9e186b4587 Create GFX_CTL_SWAP_INTERVAL 2016-02-13 20:45:45 +01:00
twinaphex 46c9ff36ef Create GFX_CTL_CHECK_WINDOW 2016-02-13 19:53:14 +01:00
twinaphex b9a5c326cd Create GFX_CTX_GET_VIDEO_OUTPUT_SIZE 2016-02-13 19:36:02 +01:00
twinaphex 7c28ddbfc5 Add GFX_CTL_IMAGE_BUFFER_INIT 2016-02-13 18:51:16 +01:00
twinaphex ef6ef13143 Add GFX_CTL_GET_VIDEO_OUTPUT_PREV/GFX_CTL_GET_VIDEO_OUTPUT_NEXT 2016-02-13 18:47:38 +01:00
twinaphex 00e4793bed Add GFX_CTL_BIND_HW_RENDER 2016-02-13 18:36:23 +01:00
twinaphex b7c41c9fcd Remove gfx_ctx_show_mouse 2016-02-13 18:29:07 +01:00
twinaphex 8721c857e9 Add GFX_CTL_SET 2016-02-13 18:27:05 +01:00
twinaphex 6a697ef2e1 GFX_CTL_SHOW_MOUSE added 2016-02-13 17:48:25 +01:00
twinaphex 425a290ced Remove gfx_ctx_destroy 2016-02-13 16:33:38 +01:00
twinaphex ef1b0b0965 Add GFX_CTL_UPDATE_WINDOW_TITLE 2016-02-13 08:50:22 +01:00
twinaphex f079ca29e4 Add GFX_CTL_HAS_WINDOWED 2016-02-13 08:37:10 +01:00
twinaphex 752e9abd4e Add GFX_CTL_SWAP_BUFFERS 2016-02-13 08:33:33 +01:00
twinaphex 0a7c481ff0 Create GFX_CTL_FOCUS 2016-02-13 08:29:58 +01:00
twinaphex fab6c9b8c4 Add GFX_CTL_FREE 2016-02-13 08:26:54 +01:00
twinaphex 45a663c100 Add header 2016-02-13 05:08:29 +01:00
twinaphex af1e698b05 Add retro_assert.h to sdl_gfx.c 2016-02-13 04:49:42 +01:00
netux79 a2851ab70b (GX) Resolution Saving's Video Corruption Fix.
Also some cleanups for the RA GX version included.
2016-02-12 16:58:59 -05:00
Alcaro 03e9577686 Fix compile fail. 2016-02-12 15:27:48 +01:00
twinaphex 863b5306f8 CLeanups 2016-01-25 00:06:08 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex fbd2e9aa84 Use string_is_equal more 2016-01-21 02:48:00 +01:00
twinaphex 157eb71606 Use string_is_equal more 2016-01-20 06:16:55 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex c2d7cbe18b Use string_is_empty 2015-12-26 07:59:15 +01:00
vanfanel 36d079f104 fixed segfault on exit caused by gl driver trying to free font context driver when osd mesages were disabled 2015-12-25 05:47:47 +01:00
vanfanel 886acba67f fixed segfault when osd message rendering was disabled 2015-12-25 05:27:28 +01:00
thedax 0565a92486 Update CTR (3DS) driver for the latest ctrulib SDK, fix a typo, and fix compilation errors. 2015-12-21 13:43:05 -05:00
twinaphex f53711f791 Change return type of load_texture to uintptr_t 2015-12-20 22:38:18 +01:00
twinaphex 6362c86c31 Buildfixes 2015-12-20 21:08:03 +01:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
twinaphex 6feff79547 (GL) Store major/minor version 2015-12-13 14:55:19 +01:00
twinaphex 8a213b8ab4 (sdl_gfx.c) Avoid warning by casting directly 2015-12-12 17:54:27 +01:00
twinaphex 1b768f7dcd Create RARCH_DRIVER_CTL_SET_REFRESH_RATE 2015-12-11 11:00:12 +01:00
twinaphex b7988a33fe shader_driver_ctx_init_first renamed 2015-12-09 08:45:55 +01:00
Higor Eurípedes 962455fafa (vg) Fix build again 2015-12-08 21:59:59 -03:00
Higor Eurípedes dc371da6ed (vg) Fix build 2015-12-08 21:51:29 -03:00
Higor Eurípedes 9e90efacbb (videocore) Convert to new egl common api 2015-12-08 17:33:59 -03:00
Higor Eurípedes c257374dcd (video_context_driver) Make better use of the data argument in context calls 2015-12-08 12:19:08 -03:00
twinaphex c614118ed8 Move context_bind_hw_render inline function to gl.c 2015-12-08 09:44:19 +01:00
twinaphex 75f10bfcdb Remove unused variable 2015-12-08 09:33:36 +01:00
twinaphex df60523f6c Move current_shader pointer to video_shader_driver.c 2015-12-08 09:27:25 +01:00
twinaphex 77b7e5b791 (GX) Remove dependency on menu_driver_get_ptr 2015-12-07 15:58:41 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex e8a3bd99d8 (3DS/CTR) Buildfix 2015-12-07 09:32:58 +01:00
twinaphex 99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex 2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex 5f27366cb3 Expand font_driver_init_first 2015-12-05 11:18:05 +01:00
twinaphex a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex e196fdf141 font_driver_render_msg - make it possible to pass special font data 2015-12-05 10:49:28 +01:00
twinaphex c88d795734 Start using font driver wrapper functions 2015-12-05 10:33:50 +01:00
twinaphex 89721b8837 Start creating font driver wrapper functions 2015-12-05 10:31:15 +01:00
twinaphex e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex ab3f0f0652 Create remaining video_shader_driver_* functions 2015-12-04 16:45:38 +01:00
twinaphex 6d37cfc2fb Create video_shader_driver_get_prev_textures 2015-12-04 16:34:58 +01:00
twinaphex a2da59ac9b Create video_shader_driver_set_coords and video_shader_driver_set_mvp 2015-12-04 16:33:07 +01:00
twinaphex 827b3cc89b Create video_shader_driver_num_shaders 2015-12-04 16:19:12 +01:00
twinaphex 0ed77247a8 Create video_shader_driver_mipmap_input 2015-12-04 16:16:40 +01:00
twinaphex c8f2ef7734 Create video_shader_driver_get_ident 2015-12-04 16:05:42 +01:00
twinaphex 1956dffe9b Create video_shader_driver_use 2015-12-04 16:01:09 +01:00
twinaphex bdf099a19c Create video_shader_driver_deinit 2015-12-04 15:56:36 +01:00
twinaphex de555d6040 Replace all instances of shader->init 2015-12-04 15:54:10 +01:00
twinaphex 3f6540dd58 Start using video_shader_driver_init for D3D too 2015-12-04 15:53:02 +01:00
twinaphex 11109a198b Create video_shader_driver_init 2015-12-04 15:50:40 +01:00
twinaphex e73224c5c2 Get rid of superfluous log 2015-12-03 23:24:54 +01:00
twinaphex eda3e06898 (GL) Guard against possible segfaults in threaded video mode 2015-12-03 23:16:37 +01:00
twinaphex beb01b5d57 Create gl_init_textures_reference 2015-12-03 22:42:54 +01:00
Twinaphex 96da691728 Revert "Revert "(gl) Fix gl->should_resize being always true""
This reverts commit d35840ebcd.
2015-12-01 07:15:06 +01:00
Twinaphex d35840ebcd Revert "(gl) Fix gl->should_resize being always true"
This reverts commit 0f339caf30.
2015-12-01 04:58:47 +01:00
Higor Eurípedes 0dfccf2785 (sdl2_video) Fix floating point exception 2015-11-30 21:32:32 -03:00
Higor Eurípedes 0f339caf30 (gl) Fix gl->should_resize being always true 2015-11-30 21:32:32 -03:00
twinaphex 0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 1c867cedf0 Move nonblock_state to input_driver.c (NOTE: we probably need
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex b8df5fd584 (exynos_gfx.c) Nits 2015-11-29 01:43:58 +01:00
twinaphex 127448f848 Use video_driver_window_get 2015-11-29 01:39:28 +01:00
twinaphex 0044d853f8 Move display_type / display_window etc all to gfx/video_driver.c -
no more dependencies on driver_t
2015-11-29 01:12:49 +01:00
twinaphex 8ce6582fa4 Create drm_wait_flip 2015-11-28 17:16:19 +01:00
twinaphex 200b41bb58 (dispmanx_gfx.c) Nit 2015-11-28 17:07:52 +01:00
twinaphex 70850c8ca3 (dispmanx_gfx.c) Cleanups 2015-11-28 17:00:44 +01:00
Higor Eurípedes 9bc10fef7a (gl) Fix invalid enum error 2015-11-27 21:53:31 -03:00
Higor Eurípedes 428bc30a61 (gl) Add checks for full npot support 2015-11-27 21:21:23 -03:00
twinaphex dd68465f74 (exynos_gfx.c) Cleanups 2015-11-26 19:38:17 +01:00
twinaphex 7c52d380bf Move memsetting of fds and evctx to drm_common.c 2015-11-26 18:59:36 +01:00
twinaphex 00cf57eac0 Header include drm_common.h already includes essential
DRM headers
2015-11-26 18:57:29 +01:00
twinaphex 25680ec8a6 Create more DRM common functions 2015-11-26 18:47:07 +01:00
twinaphex 60ead8f6b1 Create drm_get_encoder 2015-11-26 18:23:51 +01:00
twinaphex 2693e16f1e (Exynos/DRM EGL context driver) Unify more code 2015-11-26 18:05:27 +01:00
twinaphex 7e08f5d908 Create drm_free 2015-11-26 17:34:35 +01:00
twinaphex e06121b661 Move more common code to drm_common.c 2015-11-26 17:30:01 +01:00
twinaphex 8f9c652693 Add gfx/common/drm_common.c and gfx_common/drm_common.h 2015-11-26 17:12:06 +01:00
twinaphex c720bce8a9 Update variable name/buildfix 2015-11-26 02:29:43 +01:00
aliaspider be5755fe59 (3DS) build fix. 2015-11-24 12:02:02 +01:00
Twinaphex 0958acd0b1 Merge pull request #2455 from aliaspider/master
(3DS) update.
2015-11-24 11:36:00 +01:00
aliaspider 38579e56ff (3DS) gfx driver: add missing d-cache flush. 2015-11-24 11:25:28 +01:00
twinaphex 516422b1d1 Build fix 2015-11-24 00:23:32 +01:00
twinaphex a3e52a9369 Put M_PI inside retro_miscellaneous.h 2015-11-24 00:05:37 +01:00
twinaphex deae90e0bb Move use_rgba to gfx/video_driver.c - get rid of driver_t dependencies 2015-11-23 23:58:40 +01:00
twinaphex 32b363c75e Cleanups 2015-11-23 21:32:05 +01:00
twinaphex 6f18656baa driver->video_context should be self-contained now to video_context_driver.c 2015-11-23 21:20:21 +01:00
Alcaro 7b66b65823 Add some error messages if the null drivers are used. 2015-11-23 19:42:46 +01:00
twinaphex c0cc5fac53 Cleanups 2015-11-23 18:25:42 +01:00
twinaphex 8030f91667 Don't use video_driver_get_ptr inside shader_null 2015-11-23 16:41:50 +01:00
twinaphex 4cccd6d596 (sdl2_gfx.c) Buildfix 2015-11-23 14:55:20 +01:00
twinaphex beceaf4a8c Merge video_pixel_converter.c with video_driver.c 2015-11-23 13:02:24 +01:00
twinaphex 86504392b9 Create video_driver_set_size 2015-11-23 12:54:15 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex 892d99b3a6 Add SET_VIEWPORT_CONFIG 2015-11-21 13:13:55 +01:00
twinaphex 806c124eae Merge video_viewport.c and video_driver.c 2015-11-21 13:01:23 +01:00
twinaphex 5b44bd0e6b Create RARCH_DISPLAY_CTL_SET_VIEWPORT_SQUARE_PIXEL 2015-11-21 12:54:38 +01:00
twinaphex 4db97a5300 Refactor away video_viewport_set_core 2015-11-21 12:45:36 +01:00
twinaphex cf5533ccaa Refactor away video_viewport_reset_custom 2015-11-21 12:36:14 +01:00
twinaphex 0f33722f5d Refactor Wii per-game resolution mode to be somewhat generic 2015-11-21 08:56:24 +01:00
twinaphex 6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
aliaspider 7f5ae4bdba (3DS) can compile with latest ctrulib/great-refactor.
fix some warnings.
2015-11-19 23:15:48 +01:00
twinaphex c8130120bc Turn g_x11_has_focus into static variable 2015-11-19 12:23:01 +01:00
twinaphex 655520aeec Create x11_install_quit_atom 2015-11-19 12:18:35 +01:00
twinaphex 9b44a2496b (xvideo.c) Cleanup 2015-11-19 12:15:37 +01:00
twinaphex e3aba24e42 (X11) Code de-duplication 2015-11-19 12:05:32 +01:00
twinaphex 50cd3bc185 Create x11_colormap_destroy 2015-11-19 11:55:05 +01:00
twinaphex 48495980ba Create x11_window_destroy 2015-11-19 11:49:09 +01:00
twinaphex ce2b973beb Create x11_input_ctx_new/x11_input_ctx_destroy 2015-11-19 11:27:41 +01:00
twinaphex 56e5d0bf3e Create g_x11_xim 2015-11-19 11:24:56 +01:00
twinaphex f868cbab31 Create x11_update_window_title 2015-11-19 11:18:57 +01:00
twinaphex eb31cf4d43 Cleanup xv_focus 2015-11-19 11:14:28 +01:00
twinaphex d23557d38e Start restricting scope of g_x11_has_focus 2015-11-19 11:13:59 +01:00
twinaphex 95a5818ccb Create x11_install_sighandlers 2015-11-19 11:04:17 +01:00
twinaphex 704709f82e (xvideo.c) Reorder headers 2015-11-19 10:54:30 +01:00
twinaphex 8480bc3c19 Create x11_alive - get rid of some code duplication in xvideo.c 2015-11-19 10:46:16 +01:00
twinaphex 66c15314e2 Get rid of some header files 2015-11-19 08:56:08 +01:00
twinaphex 9d98bfbe6b (GX) Move defines to defines/gx_defines.h 2015-11-18 12:55:28 +01:00
twinaphex 3b7e53bf58 (GX) Cleanups 2015-11-18 12:18:43 +01:00
twinaphex a3a5a82d47 (GL) doesn't access global state anymore 2015-11-18 03:08:19 +01:00
twinaphex b5929e800f Get rid of useless cast 2015-11-17 08:47:42 +01:00
twinaphex 2078331495 Move gfx/pixman to gfx/include 2015-11-17 08:35:00 +01:00
twinaphex 239ae7de53 Move gl_common to gfx/common 2015-11-17 08:01:33 +01:00
twinaphex 68421a7521 (GX) Rollback 2015-11-17 04:29:09 +01:00
twinaphex 656edd4477 (GX) Buildfix 2015-11-15 21:16:29 +01:00
twinaphex 8a43aecb11 (GX) Style nits 2015-11-15 21:09:32 +01:00
twinaphex 5e7f90eae8 (GX) Style nits 2015-11-15 21:06:55 +01:00
twinaphex 37b4735c4c (GX) move variables to gx_video_t 2015-11-15 20:44:30 +01:00
twinaphex 1009f12939 (GX) Add framebuf to gx video struct 2015-11-15 20:33:31 +01:00
twinaphex 1ef9601966 Revert "(GL) Cleanups"
This reverts commit 36d5cc890b.
2015-11-14 05:27:44 +01:00
aliaspider 13699280b4 (3ds) video driver:
- fix frame dupes
- bypass DMA for small frames.
2015-11-12 15:00:53 +01:00
twinaphex 7e592df3e8 (vg.c) Variable rename 2015-11-11 03:28:40 +01:00
twinaphex 36d5cc890b (GL) Cleanups 2015-11-10 15:32:07 +01:00
twinaphex ed35db13e8 Fix some linking errors with CXX_BUILD 2015-11-09 05:23:11 +01:00
twinaphex 7e207626ad (gl.c) Add video_texture.h header include 2015-11-09 02:08:40 +01:00
twinaphex 8a55aae0a5 Move gl_load_texture_data to video_texture_c 2015-11-09 02:07:17 +01:00
Andrés d638a12c87 Merge pull request #2328 from aliaspider/master
(3DS) implement dynamic memory management.
2015-11-01 19:27:27 -05:00
aliaspider 8741ec48d5 (3DS) implement dynamic memory management.
heap/linear heap and stack sizes can now change dynamically at runtime,
depending on usage, no need to specify those on a per-core basis
anymore.
2015-11-02 01:24:11 +01:00
twinaphex 40a4a7a354 (OSX PPC/PS3) Forcibly disable mipmapped textures 2015-11-01 16:11:17 +01:00
twinaphex 922e6f868b Don't assume we can use NPOT mipmapped textures for anything GLES2 2015-10-30 16:23:44 +01:00
Twinaphex c85414c7be (iOS) Force mipmapping off for textures on iOS 2015-10-29 23:23:56 +01:00
twinaphex df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
Twinaphex 0447c1b442 Merge pull request #2293 from aliaspider/master
(3DS) - add an audio driver using the DSP.
2015-10-27 01:38:38 +01:00
aliaspider aeeb2a62d6 (3DS) - add an audio driver using the DSP.
- add some hooks to inspect memory usage.
2015-10-27 01:06:34 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
aliaspider ac119b04f6 (CTR/3DS) improve memory management.
- use a custom crt0 to allow overriding __heap_size and
__linear_heap_size
- add a setting for maximum heap size. unallocated memory can be freely
mapped by the core.
- add better detection of the extra memory available when running from
the HBL.
2015-10-22 20:35:22 +01:00
aliaspider 339acfecf1 (CTR/3DS) update code to use ctrulib/great-refactor 2015-10-21 15:41:06 +01:00
aliaspider 3a30baab57 (CTR/3DS) add support for RETRO_PIXEL_FORMAT_XRGB8888 2015-10-20 16:03:39 +01:00
aliaspider 8cc805c38a (CTR/3DS) reduce memory usage.
build fix.
2015-10-20 12:34:53 +01:00
twinaphex 2b9e5539fb Add another HAVE_FBO ifdef 2015-10-11 16:54:01 +02:00
twinaphex 6683ab16ef (GL) Add HAVE_FBO ifdef around FBO feedback code 2015-10-11 16:53:18 +02:00
twinaphex ab2aec9b66 xshm.c - buildfix 2015-10-11 16:22:59 +02:00
Alcaro f4a5cbbe5b Add this half-finished (okay, 5%-finished) driver. 2015-10-11 09:50:49 +02:00
twinaphex a61104dba3 Create video_shader_scale 2015-10-07 18:18:49 +02:00
aliaspider fc1524be5d (CTR/3DS) nit. 2015-10-06 19:57:46 +01:00
aliaspider 44dc270c87 (CTR/3DS) use an aptHook to enable the LCD when the app is suspended. 2015-10-06 19:56:11 +01:00
aliaspider b7be1862a3 (CTR/3DS) increase the default size of the linear heap.
makefile: allow changing stack/linear heap size without requiring a
clean.
2015-10-05 21:45:17 +01:00
aliaspider b9978317cc (CTR/3DS) video driver: increase texture width. 2015-10-04 19:22:23 +01:00
aliaspider 71efe15bce (CTR/3DS) don't turn off the LCD for 2DS models. 2015-10-03 19:37:01 +01:00
aliaspider 68e2c306a9 (CTR/3DS) video driver: better detection of frames allocated with
linearAlloc.
2015-10-02 04:59:16 +01:00
Francisco José García García 8e652f613a (Vita) OSD messages 2015-10-02 00:11:54 +02:00
aliaspider c9acd9156c (CTR/3DS) gfx driver: remove useless printf. 2015-10-01 18:28:27 +01:00
aliaspider 63ab3b02b8 (CTR/3DS) shut down the LCD backlight when toggling the buttom display
off.
courtesy of @thedax.
2015-10-01 18:12:59 +01:00
twinaphex e4a781b489 (GX) Buildfix 2015-09-29 21:47:43 +02:00
Francisco José García García 4f7be65f32 (Vita) Add Overlays 2015-09-29 20:01:42 +02:00
twinaphex 87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex e986b9e42a Static code analysis cleanups 2015-09-29 17:35:28 +02:00
Twinaphex 4f02326171 Merge pull request #2179 from aliaspider/master
(CTR/3DS) improve audio/video sync.
2015-09-28 21:50:10 +02:00
aliaspider 48ec5190ba (CTR/3DS) improve audio/video sync. 2015-09-28 20:09:07 +01:00
twinaphex 0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex 631da50dfa More static code analysis nits 2015-09-28 18:22:27 +02:00
twinaphex 4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
Twinaphex b1f6c88626 Merge pull request #2177 from aliaspider/master
(CTR/3DS) update
2015-09-28 16:21:57 +02:00
twinaphex a79b571d7b Static code analysis fixes 2015-09-28 16:20:26 +02:00
aliaspider a2d552a819 (CTR/3DS) allow toggling the console on/off.
the upper part of the touchscreen toggles the console, the lower part
the main menu.
2015-09-28 14:54:48 +01:00
twinaphex 0d18c61bc5 Add RARCH_MAIN_CTL_IS_PAUSED 2015-09-26 13:04:07 +02:00
twinaphex cc4a918296 Create rarch_main_ctl 2015-09-26 12:58:02 +02:00
twinaphex 6482969459 (Menu) Cleanups/refactors 2015-09-25 21:20:26 +02:00
twinaphex 653a0e5773 (GX) Buildfix 2015-09-25 21:12:15 +02:00
twinaphex 0a913c929d (GX) Start using menu_display_ctl 2015-09-25 21:11:37 +02:00
twinaphex 1329b4f265 (Menu) Cleanups 2015-09-25 21:07:12 +02:00
twinaphex b9ba75403e (GL) Fix mixe code declaration (for C89_BUILD) 2015-09-21 11:50:02 +02:00
twinaphex dfeefc0e16 Rename and move vi_encoder.c 2015-09-20 15:05:30 +02:00
twinaphex 07f5d2e399 (Wii) Buildfixes 2015-09-20 15:03:49 +02:00
twinaphex 2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
Andrés 88db140c32 Merge pull request #2146 from aliaspider/master
(CTR/3DS) fix build.
2015-09-20 01:58:27 -05:00
aliaspider a5b61354f0 (CTR/3DS) fix build. 2015-09-20 07:48:16 +01:00
twinaphex 9ce3b9d916 (GX) Use retro_file 2015-09-18 07:08:25 +02:00
Francisco García 9060feba92 (Vita) Set background color to black 2015-09-17 11:08:06 +02:00
Francisco José García García 08f5db24b4 (Vita) vita2d updated 2015-09-15 00:12:10 +02:00
twinaphex ea6119c1c7 (Vita) Add forward declaration for scePowerSetArmClockFrequency 2015-09-14 03:50:34 +02:00
aliaspider 9c6ce3b28b (CTR/3DS) start with bilinear filtering set to ON. 2015-09-14 01:59:58 +01:00
aliaspider 591ecae208 (CTR/3DS) add support for viewport/filtering settings.
rotation doesn't work correctly yet.
2015-09-14 00:19:38 +01:00
aliaspider c3ac725269 (CTR/3DS) improve vsync.
gfxSwapBuffersGpu needs to be called immediately after initiating a
display transfer.
2015-09-13 22:27:28 +01:00
Francisco José García García f5eba9f8a6 (Vita) Add Rotation 2015-09-11 18:02:59 +02:00
Francisco José García García 1e0526b9c7 (Vita) Add viewport resizing 2015-09-09 01:10:48 +02:00
Francisco José García García 76e13a6957 (Vita) Add texture filtering 2015-09-08 20:40:38 +02:00
aliaspider 3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
twinaphex bbe210f7eb C89_BUILD fixes 2015-09-06 23:43:27 +02:00
twinaphex 1310263470 (Vita) Cleanups 2015-09-05 16:22:25 +02:00
Sergi Granell 4dfaa33ad1 (Vita) Update the vita2d video driver 2015-09-02 18:56:24 +02:00
Sergi Granell 5d920aa045 (Vita) vita2d_gfx_free: Set textures to NULL 2015-09-01 01:36:27 +02:00
Sergi Granell dbb91c85e6 (Vita) Check vita->texture before freeing it 2015-08-31 21:41:45 +02:00
Sergi Granell 56af52a268 (Vita) Fix spaces 2015-08-31 21:37:50 +02:00
Sergi Granell 6c5d250ff1 (Vita) Prepare code for fullscreen 2015-08-31 21:31:34 +02:00
Sergi Granell 96146e5313 (Vita) Update vita2d driver
(Vita/PSP) Name some stuff to vita
2015-08-31 15:26:37 +02:00
Sergi Granell 94e893634d (Vita) Update gfx driver 2015-08-31 00:56:14 +02:00
twinaphex 3c6d0dd77c Some PSP1 build fixes and start adding PSP1 support to
Makefile.griffin
2015-08-30 23:19:45 +02:00
Sergi Granell 5deceb35ba (Vita) Update Vita frontend 2015-08-30 22:48:44 +02:00
Sergi Granell 3b04de6a5f (Vita) Update vita2d video driver 2015-08-30 20:12:16 +02:00
Sergi Granell 3b54e81d00 (Vita) Start vita2d_gfx video driver 2015-08-30 20:12:16 +02:00
Twinaphex d5f72ca9c1 remove unused variables 2015-08-30 18:45:02 +02:00
Twinaphex e8d266cb9d Revert "Revert "Add support for shader pass feedback."" 2015-08-30 18:37:41 +02:00
Twinaphex ad1825ca50 Revert "Add support for shader pass feedback." 2015-08-30 18:21:07 +02:00
CautiousAlbino aee5e74001 Add support for shader pass feedback. 2015-08-30 16:23:55 +02:00
twinaphex 5489634f40 (GX) Fix gx_frame signature 2015-08-16 03:12:12 +02:00
twinaphex 2d8ef11944 (sdl2_gfx.c) Check if pointer is not NULL first 2015-08-12 19:24:56 +02:00
Alcaro ee2ad0c4bd These aren't executable. 2015-08-12 01:31:03 +02:00
radius 828734e007 don't try to autoconfigure GPIO devices 2015-08-11 17:13:25 -05:00
twinaphex 77aa7535c9 MOve all 'define' headers to central place ' defines' 2015-08-10 23:11:40 +02:00
Twinaphex 5bafed71ea removed unused variables 2015-08-05 13:09:11 +02:00
twinaphex b18442dc5a Refactor is_slowmotion 2015-08-05 13:06:44 +02:00
twinaphex ccac72f1e7 Refactor is_paused 2015-08-05 12:58:25 +02:00
twinaphex 0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex bd6ee135e9 Take out runloop_t dependencies 2015-08-03 20:03:14 +02:00
vanfanel eb7bf55d90 VIDEO/SUNXI: Reworked where aspect ratio is changed in order to avoid variable. 2015-07-21 14:33:02 +02:00
vanfanel 0776932b3a VIDEO/SUNXI: Make setting aspect ratio in menu work and fixed segfault on new content loading. 2015-07-21 14:22:39 +02:00
twinaphex 7df80fea83 Take out one ifndef HAVE_PSGL preprocessor define 2015-07-21 01:58:57 +02:00
twinaphex 218f52c5bf Minor nits 2015-07-21 01:45:32 +02:00
vanfanel 824c647377 VIDEO/SUNXI: fixed compilation because of a couple of small errors coming from cleanups. 2015-07-18 20:33:07 +02:00
twinaphex c697923eb6 Create video_common.c 2015-07-12 05:30:04 +02:00
twinaphex 38fd0592f5 Create video_common.h 2015-07-12 04:23:27 +02:00
twinaphex b46f3c9c29 (gl_common.h) Cleanups 2015-07-12 04:20:48 +02:00
twinaphex 4b8e65322c Rename gl_tex_info to gfx_tex_info 2015-07-12 04:16:40 +02:00
twinaphex a687ca54d8 (gl_common.c) Refactors 2015-07-12 04:11:26 +02:00
twinaphex 6bb0d87d87 Rename gl_font_raster_block to gfx_font_raster_block 2015-07-12 04:07:06 +02:00
twinaphex 4c1562fb70 Rename gl_fbo_rect to gfx_fbo_rect 2015-07-12 04:04:56 +02:00
twinaphex c5f2b7e8a1 rename gl_mut_coords to gfx_mut_coords 2015-07-12 04:01:22 +02:00
twinaphex 55054f257a Rename gl_ortho to gfx_ortho 2015-07-12 04:00:25 +02:00
twinaphex 41e28460fa Rename gl_coord_array to gfx_coord_array 2015-07-12 03:58:53 +02:00
twinaphex 527c0c29d4 Rename gl_coords to gfx_coords 2015-07-12 03:57:06 +02:00
twinaphex c3f5ea0fcc Make input_overlay.h no longer depend on RPNG image 2015-07-11 08:14:39 +02:00
twinaphex 2ec593f3b4 (omap_gfx.c) Can't have global state dependencies in video drivers 2015-07-10 19:55:34 +02:00
twinaphex 6f4e53e454 Remove unused variables 2015-07-08 22:04:37 +02:00
radius 2aa7c46e78 change the approach to wii resolution changing, this is more stable 2015-07-06 16:07:33 -05:00
radius 84fe1b0376 remove function we won't be using 2015-07-06 00:31:40 -05:00
radius d09490789a implement wii resolution saving 2015-07-06 00:29:51 -05:00
Higor Eurípedes 890417a581 (gl.c) Fix taking screenshots from GLUI/XMB 2015-07-01 18:46:39 -03:00
twinaphex 3fd11686cb (gl.c) Refactor 2015-06-30 19:07:53 +02:00
twinaphex 25aac8282e (SDL2) Cleanups 2015-06-30 15:35:32 +02:00
twinaphex 4d538a95f2 (SDL2) Cleanups 2015-06-30 14:53:05 +02:00
vanfanel ba69eda47e DISPMANX: Rewrote surface management functions: fixed dispmanx-related errors when changing core or loading new content. 2015-06-27 19:14:30 +00:00
twinaphex 97f10e4a64 Some more C89 compatibility fixes 2015-06-26 19:34:19 +02:00
Alcaro 4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
Alcaro febcbc5ce4 C89 cleanups part 2 2015-06-26 17:48:43 +02:00
Alcaro 1bbd54f597 Some C89 strict fixes 2015-06-26 17:03:12 +02:00
twinaphex 682867b9a1 MAX_SHADERS should only be defined in gl_common.h 2015-06-22 21:09:18 +02:00
vanfanel bb7d9436c2 DISPMANX correction: the pointer to the page currently on screen must be a member of each surface. 2015-06-20 14:56:25 +00:00
vanfanel 430f7854d9 Removed unused variable. Changed a function type. 2015-06-18 16:16:26 +00:00
vanfanel 98e6522f3f Fixed a memory allocation error and simplified surface resource freeing functions. 2015-06-18 12:31:42 +00:00
vanfanel 26b0876376 DISPMANX backend: implemented a faster triple buffering method and abstracted drawing surfaces for core and menu in their own class-like struct. Honor the aspect ratio setting changes without re-launching. Cleanups. 2015-06-16 19:30:16 +00:00
twinaphex 40f8fabda6 Consistency in how we treat positive strcmp matches 2015-06-14 19:56:01 +02:00
twinaphex 3943f4633f (GX/Wii) Cleanups - grab pointer to menu_framebuf_t 2015-06-13 17:01:38 +02:00
twinaphex 7197b58ed6 (gfx/drivers) Cleanups 2015-06-13 02:49:29 +02:00
twinaphex 5068e2ddbf (xvideo.c) Style nits 2015-06-03 21:37:08 +02:00
twinaphex 0cbd1f0882 Don't define HAVE_GL_ASYNC_READBACK if GL_PIXEL_PACK_BUFFER is not
defined
2015-06-02 18:51:42 +02:00
twinaphex 70fc26677d Define GL_SYNC_ defines if not available 2015-06-02 17:31:43 +02:00
amigagamer 55934b4770 fix dispmanx compile (dispmanx_gfx_get_frame_count)
line 601 looking for dispmanx_get_frame_count
the correct name is dispmanx_gfx_get_frame_count (from line 592)
2015-05-30 17:00:06 +01:00
twinaphex e04dff82b5 Add some notes 2015-05-20 23:04:15 +02:00
twinaphex 6e327a3b8d Get rid of more unused global local pointers 2015-05-20 22:48:33 +02:00
twinaphex cf2c0f6930 Rename rarch_render_cached_frame to video_driver_cached_frame 2015-05-20 21:06:44 +02:00
twinaphex d2b76a7d13 Move pix_fmt to video_state 2015-05-20 20:59:12 +02:00
twinaphex d8622e0a92 (GL) Prevent unused variable warning 2015-05-20 20:01:29 +02:00
twinaphex a81baed9e2 Move hw_render_callbakc to video driver state and take it out
of global state
2015-05-20 19:56:12 +02:00
twinaphex 9f7c6fcb97 Cleanups 2015-05-20 19:30:15 +02:00
twinaphex 679feefae3 Start using const for non-mutating variables 2015-05-20 19:28:05 +02:00
twinaphex 2f62cd65e2 Start using video_viewport_get_custom everywhere 2015-05-20 19:12:39 +02:00
Twinaphex d33cad3381 (GL) Take out unused global variable 2015-05-20 18:57:57 +02:00
twinaphex a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex b255b5a325 Create video_driver_set_aspect_ratio_value and video_driver_get_aspect_ratio 2015-05-20 18:24:45 +02:00
twinaphex 969bbdd85d Get rid of some unused runloop variables 2015-05-20 03:13:42 +02:00
twinaphex 4352cca599 Cleanup last remaining references 2015-05-20 02:40:44 +02:00
twinaphex 23fe7886d2 (GL) GL driver should be free now from global->video_data.width/
global->video_data.height dependencies
2015-05-20 02:22:03 +02:00
twinaphex b573e5f4dc (GL) Refactor code to no longer use global->video_data.width/global->video_data.height 2015-05-20 02:18:05 +02:00
twinaphex 79db0c2ab5 Start using video_driver_get_size in video drivers 2015-05-20 00:45:42 +02:00
twinaphex 375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
Higor Eurípedes dfd6d464a8 (gl) Add check in gl_overlay_vertex_geom() 2015-05-19 13:51:59 -03:00
Higor Eurípedes dc5460effd (gl_raster_font) Fix invalid read when pushing vertices
Calling both glsl shader->set_coords() or gl_coord_array_add() resulted
in an invalid read when memcpy()ing coords->lut_tex_coord.
2015-05-19 13:45:22 -03:00
Higor Eurípedes c5940b32b6 (gl) Remove context switch calls from set_osd_msg
It's not needed because this function is always called from the
frontend/menu context. The video driver handles SET_MESSAGE
environment call in the frame() function (msg argument).
2015-05-12 09:36:00 -03:00
twinaphex 7c84232b9f (GL) Uncomment context_hw_bind_render calls around set_osd_msg again 2015-05-11 22:30:44 +02:00
twinaphex 4d7c2a642d (GL) Cleanups 2015-05-11 00:20:06 +02:00
Higor Eurípedes e0dccab5fc (gl) Dont switch to another context in gl_set_osd_msg() 2015-05-10 16:18:09 -03:00
twinaphex 73d5e8a41b (PS3) Build fix and fix warnings 2015-05-09 17:53:03 +02:00
twinaphex 945d2851ba Pass frame_count variable to gl_frame_fbo 2015-05-09 17:41:53 +02:00
Twinaphex f08db710ac Kill unused variables 2015-05-09 16:06:05 +02:00
twinaphex 9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex ae408a1d41 Create video_poke get_frame_count function 2015-05-09 15:52:06 +02:00
twinaphex 4ecfe639b3 Create local frame_count variables again in video_drivers 2015-05-09 15:41:10 +02:00
twinaphex 498caabfc7 (GL) Buildfix 2015-05-04 10:03:33 +02:00
twinaphex 5d58d290af (GL) Improve VideoCore/Raspberry Pi hack 2015-05-04 10:00:32 +02:00
twinaphex e4cb891ae7 (GL) Pass context identifier to resolve_extensions 2015-05-04 09:37:26 +02:00
Higor Eurípedes 5bfd910cd1 (gl) Fix font rendering when video_font_enable=false 2015-05-02 22:41:59 -03:00
twinaphex 80c5059d43 Revert "(Video) Call gfx_ctx_free from common function - uninit_video_input"
This reverts commit aac304410b.
2015-05-02 22:53:27 +02:00
twinaphex aac304410b (Video) Call gfx_ctx_free from common function - uninit_video_input 2015-05-02 05:52:34 +02:00
twinaphex 0ba4e81e63 (VG) Build fixes 2015-04-26 23:19:19 +02:00
twinaphex a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +02:00
twinaphex 1860f06926 (VG) Cleanups 2015-04-26 06:04:16 +02:00
twinaphex 3f3df59758 (GX) Buildfix 2015-04-26 05:48:45 +02:00
twinaphex b6fbf5a335 (Menu) Start getting rid of gl->win_width/gl->win_height and start
creating global->video_data.width and global->video_data.height
which should be used instead in menu drivers
2015-04-26 05:21:43 +02:00
twinaphex c22535b7e1 Reduce HAVE_FBO ifdefs 2015-04-25 02:35:06 +02:00
twinaphex 44a8b8bcd3 Move font_handle and font_driver ot the driver struct 2015-04-25 00:32:01 +02:00
twinaphex bd63de9b3a Replace gl_font_init_first and d3d_font_init_first with common function 2015-04-21 17:33:00 +02:00
twinaphex 8c528bb79a Rename apple_bind_game_view_fbo to cocoagl_bind_game_view_fbo 2015-04-19 17:42:04 +02:00
aliaspider 2076846a5c (CTR/3DS) disable v-sync blocking after a missed vblank-start event.
will prevent cores running under 60fps from slowing down even more.
2015-04-17 19:45:07 +01:00
twinaphex 27661c8087 Refactor some HAVE_X11/HAVE_EGL code 2015-04-16 22:39:28 +02:00
twinaphex 6bf30bb714 (PS3) Buildfixes 2015-04-14 21:58:39 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
Twinaphex 56a348e9bd Merge pull request #1624 from aliaspider/master
(3DS) video driver: performance improvements.
2015-04-13 02:52:32 +02:00
aliaspider e754c328b0 (3DS) video driver: performance improvements. 2015-04-13 01:50:00 +01:00
twinaphex 9a3ba16a36 (GL) Cleanup 2015-04-12 22:01:48 +02:00
twinaphex 7fbbac544e Some C89 build fixes 2015-04-12 19:29:38 +02:00
twinaphex be96b95dda Style nits 2015-04-11 08:45:55 +02:00
twinaphex 54b10d8eca (gfx/drivers) Style nits 2015-04-11 08:39:37 +02:00
twinaphex 4f43e4b363 Go through gfx_ctx_get_proc_address 2015-04-10 09:24:10 +02:00
twinaphex ffc5ba0980 Make gfx_ctx_get_ptr static 2015-04-10 09:15:25 +02:00
Twinaphex ced227c214 (gl.c) Cleanups 2015-04-10 09:12:32 +02:00
twinaphex f65f56fdf4 Go through gfx_ctx_get_video_output wrapper functions 2015-04-10 09:11:17 +02:00
twinaphex 234baf09bd Go through gfx_ctx_bind_hw_render 2015-04-10 09:07:53 +02:00
twinaphex 0ef148f460 Go through gfx_ctx_set_video_mode 2015-04-10 09:05:07 +02:00
twinaphex 8082f17e2e Rename egl image buffer functions 2015-04-10 09:02:24 +02:00
twinaphex 0fc92790b3 Go through gfx_ctx_input_driver 2015-04-10 08:53:45 +02:00
twinaphex fe69dc2768 Use gfx_ctx_show_mouse 2015-04-10 08:49:01 +02:00
twinaphex 4cb8074bf5 Create more gfx_ctx wrapper functions and use them 2015-04-10 08:33:07 +02:00
twinaphex 187ab80f71 Go through more gfx_ctx wrapper functions 2015-04-10 08:26:43 +02:00
twinaphex 93cbdebd37 Create gfx_ctx_get_video_size 2015-04-10 07:12:15 +02:00
twinaphex 901662caad (vg.c) Use gfx_ctx_translate_aspect 2015-04-10 06:52:51 +02:00
twinaphex d16b22fa80 (vg.c) Start going through gfx_ctx wrapper functions 2015-04-10 06:51:00 +02:00
twinaphex 6ff8d368e6 (gl.c) Cleanup 2015-04-10 06:29:27 +02:00
twinaphex a4f234e26e (GL) Cleanup gl_read_viewport 2015-04-10 06:25:25 +02:00
twinaphex 270f10ae04 (gl.c) Cleanup gl_init 2015-04-10 06:17:04 +02:00
twinaphex 37a5a7e653 Create gfx_ctx_suppress_screensaver 2015-04-10 06:13:20 +02:00
twinaphex 7671f3e035 Create gfx_ctx_check_window 2015-04-10 06:10:05 +02:00
twinaphex 133d7b7dd2 Wrap more gfx_ctx functions 2015-04-10 05:47:36 +02:00
twinaphex c0d58ce467 Take out win32_dwm_common.h header includes 2015-04-09 23:00:08 +02:00
twinaphex 18801c8449 Move gfx_set_dwm call to platform_win32.c 2015-04-09 22:58:57 +02:00
twinaphex 0df3f13fc9 Revert "Create wrapper gfx_ctx_check_window"
This reverts commit 4d3b187231.
2015-04-09 22:38:11 +02:00
twinaphex 4d3b187231 Create wrapper gfx_ctx_check_window 2015-04-09 22:37:14 +02:00
twinaphex 82124d6181 Create some more gfx_ctx wrapper functions 2015-04-09 21:58:58 +02:00
twinaphex 4e24111f42 (Graphics context) Create gfx_ctx_translate_aspect 2015-04-09 21:48:20 +02:00
twinaphex 8616a9bf28 (VG) Go through gfx_ctx_get_ptr 2015-04-09 18:46:24 +02:00
twinaphex 5d60938560 (GL) Go through gfx_ctx_get_ptr 2015-04-09 18:30:30 +02:00
Twinaphex 73bfdfccdb (GL) remove unused variables 2015-04-09 18:20:56 +02:00
twinaphex 849d86db0f (GL) Start going through gfx_ctx_get_ptr 2015-04-09 18:17:52 +02:00
twinaphex 45e87c06e2 (Driver) Create video_context 2015-04-09 18:07:58 +02:00
twinaphex 5e8a78bb25 Move x11_common.c to gfx/common 2015-04-09 05:02:57 +02:00
twinaphex 16b7b454a9 Move gl_common.c to gfx/drivers 2015-04-09 04:57:17 +02:00
twinaphex 8b2c8bae19 (Xvideo) Style nits 2015-04-09 04:15:37 +02:00
aliaspider a7c63f973b (3DS) update video driver:
use a gemotry shader to simulate sprite primitives.
move gpu state commands to the initial display list.
2015-04-08 18:59:41 +01:00
twinaphex 512f6aa1b8 (3DS) use retro_inline.h 2015-04-05 22:50:44 +02:00
aliaspider e06a7d5f7e (3DS) set the content frame to fullscreen for now, until aspect ratio
settings are implemented.
2015-04-05 21:06:24 +01:00
aliaspider bac17ec84a (3DS) add missing inline directive. 2015-04-05 20:48:23 +01:00
aliaspider 6e364e5e48 (3DS) update copyright. 2015-04-05 20:44:50 +01:00
aliaspider 81933fc96d (3DS) ctr_gu.h was missing. 2015-04-05 20:43:15 +01:00
aliaspider fe923dff98 (3DS) video driver rewrite. 2015-04-05 20:40:35 +01:00
radius 5e6cf7d74d windows build fixes 2015-04-04 13:56:26 -05:00
twinaphex a8f9d73a97 (Win32) Replace wgl_shader_dlg.h header includes 2015-04-04 20:45:15 +02:00
twinaphex 36b054506d Move window manager code to gfx/drivers_wm 2015-04-04 20:30:44 +02:00
Twinaphex 632dfe3a82 Merge pull request #1578 from lioncash/printf
Fix some printf format specifiers
2015-04-03 22:30:04 +02:00
Lioncash b68048e6db Fix some printf format specifiers
Gets rid of warnings on higher warning levels
2015-04-03 15:09:17 -04:00
twinaphex 532d112ff8 (Font) Combine font_d3d_driver and font_gl_driver 2015-04-03 20:36:19 +02:00
twinaphex 951547eb70 (GL) Namespace cleanups 2015-04-03 04:25:46 +02:00
twinaphex b89f97065a (sdl_gfx) Cleanups 2015-04-03 04:20:50 +02:00
twinaphex 6ce142305d (sunxi_gfx.c) Cleanups 2015-04-03 04:17:44 +02:00
twinaphex 352bd086b0 (omap_gfx) Cleanups 2015-04-03 04:07:04 +02:00
twinaphex a039a64314 (exynos/dispmanx) Namespace / style nits 2015-04-03 03:53:01 +02:00
Lioncash 5102339e84 ctr_gfx: Fix a missing printf formatting specifier 2015-04-02 12:41:07 -04:00
aliaspider d842697863 (3DS) can display loaded content.
add an fps counter.
2015-04-02 04:00:26 +01:00
aliaspider 948e637e22 (3DS/CTR) shutdown hack not needed anymore. 2015-04-02 02:28:56 +01:00
aliaspider 27bd10b21d implement a very basic input driver, will need to be implemented
correctly later.
2015-04-02 02:19:21 +01:00
twinaphex 5612545b25 (CTR/3DS) Update copyright headers 2015-04-02 01:43:28 +02:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
twinaphex 2c555082ee D3D and GL now use the same font driver interface 2015-03-30 00:55:39 +02:00
twinaphex 3da7197538 (font_driver) Get rid of warnings 2015-03-28 20:51:03 +01:00
Higor Eurípedes 8b7bbc7975 (gl_font_renderer_t) Implement swappable blocks and remove end_block pointer 2015-03-25 13:04:53 -03:00
vanfanel b39867f5db SUNXI driver: removed unused variables. 2015-03-25 15:30:29 +00:00
vanfanel 2eb3fdba44 Removed unneeded header includes in the Dispmanx driver. 2015-03-24 21:20:13 +01:00
vanfanel f4dd04c828 More optimizations. RGUI Menu working. 2015-03-24 20:13:09 +00:00
twinaphex 436536398a (GL) Conditional no longer needed - check is done outside in
video_driver_frame
2015-03-24 13:37:58 +01:00
twinaphex 6f0eef0c86 Cleanup video_driver_set_rotation 2015-03-24 08:48:03 +01:00
Twinaphex 93ad945e15 Merge pull request #1530 from aliaspider/master
(windows) add a shader parameters popup window.
2015-03-23 21:23:29 +01:00