Commit Graph

7181 Commits

Author SHA1 Message Date
twinaphex
4ecb4d5dfb (Wiiu) Add overlays courtesy of r-type, thanks 2017-12-27 08:38:03 +01:00
meepingsnesroms
5a4bd619ba Revert "Merge branch 'master' into master"
This reverts commit 4b68a21a7e, reversing
changes made to 5e0f78e8a0.
2017-12-25 18:27:59 -08:00
meepingsnesroms
4b68a21a7e
Merge branch 'master' into master 2017-12-25 17:52:38 -08:00
aliaspider
1f143927ca (CTR) build fix. 2017-12-25 08:51:50 +01:00
twinaphex
c0c9764afe Update 2017-12-25 07:36:49 +01:00
Brad Parker
89bd38918e win32: correct usage of GetWindowPlacement per MS docs, fixes game window position on Win95/98 2017-12-24 17:17:36 -05:00
Brad Parker
9cd3746702 enable STB Unicode font renderer for PS3 2017-12-23 21:35:45 -05:00
twinaphex
6557bff118 Prevent some warnings on PS3 2017-12-21 02:06:34 +01:00
Alcaro
bfeb9ff5c2 that's an interesting double free 2017-12-18 22:29:27 +01:00
radius
a7f989fdb6 fix fullscreen toggle 2017-12-17 13:16:40 -05:00
meepingsnesroms
bb7ee12766 Fix compile on new devkitARM 2017-12-16 19:20:43 -08:00
Brad Parker
81cd5435a1 x11: enable window transparency 2017-12-16 10:29:30 -05:00
orbea
1ddcc7be82 Ifdef the broken dbus code better. 2017-12-16 05:19:05 -08:00
twinaphex
42462c2ba9 Silence some warnings 2017-12-15 18:31:12 +01:00
twinaphex
1932513edb Update libretro-common 2017-12-15 00:31:37 +01:00
twinaphex
c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +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
Brad Parker
d53dbbfd4e style nits 2017-12-11 18:50:10 -05:00
Brad Parker
b6644e2c3a buildfix again 2017-12-11 18:27:11 -05:00
Brad Parker
c265c8328c buildfixes 2017-12-11 18:22:40 -05:00
Brad Parker
247b9ea973 add menu setting for window opacity, includes generic display server interface 2017-12-11 18:12:42 -05:00
twinaphex
57b730ab61 Start implementing VFS layer ; first split up VFS libretro functionality
to separate header until things are finalized
2017-12-11 21:24:14 +01: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
12e6f38999 (gfx/video_shader_parse) Use intfstream instead of file_stream 2017-12-11 13:01:17 +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
twinaphex
40f82c26f7 use RFILE_MODE_READ for video_shader_parse 2017-12-10 22:01:48 +01:00
Themaister
f8447c4648 Set correct buffer size. 2017-12-09 17:28:20 +01:00
Themaister
75b84b4f94 Support pending swapchain creation. 2017-12-09 17:28:20 +01:00
Themaister
ac42b87400 Recreate swapchain directly if vkAcquireNextImageKHR fails. 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
d840625fa9
Merge pull request #5877 from clienthax/ps3res
[PS3] Possible fix for 0x0 resolution
2017-12-07 21:03:36 +01:00
clienthax
d6daf2f573 [PS3] Possible fix for 0x0 resolution on 2017-12-07 19:49:11 +00:00
twinaphex
d5b3104cfb Cleanups/warning fixes 2017-12-06 19:51:07 +01:00
twinaphex
b1f1f519d5 Don't redefine HAVE_GL_SYNC 2017-12-06 18:28:57 +01:00
twinaphex
a53927c5aa Fix PS3 build 2017-12-06 16:53:19 +01:00
Brad Parker
75eed7997b GDI: use configured message color for OSD/menu text 2017-12-06 01:41:00 -05:00
ToKe79
6bb2a0e142 GLsync build fix for HAVE_OPENGLES2 2017-12-05 21:58:01 +01:00
Brad Parker
bc4bbe79aa don't define UNICODE at all, we don't need it and it causes dinput problems (names are wchar_t) 2017-12-05 14:26:59 -05:00
twinaphex
db4387bd30 See if it's always defined this way 2017-12-05 17:10:31 +01:00
Twinaphex
763e6f766c Silence warning 2017-12-05 16:58:20 +01:00
twinaphex
b69622ea88 Avoid usage of GLsync type 2017-12-05 16:56:33 +01:00
twinaphex
3e81996bd3 Update D3D headers 2017-12-05 16:40:13 +01:00
twinaphex
fafc96d377 Cleanups 2017-12-05 13:31:51 +01:00
Twinaphex
d535739648
Merge pull request #5860 from RobLoach/patch-22
Fix to ARM to ensure chain has been declared
2017-12-05 06:38:02 +01:00
Brad Parker
49d0299808 LEGACY_WIN32: check for target of less than Win2K instead of < vc2005, since Win98 does not support Unicode 2017-12-04 22:49:08 -05:00
Rob Loach
e8a9471afd
Fix to ARM to ensure chain has been declared 2017-12-04 18:53:34 -05:00
twinaphex
f08b049520 Move more variables 2017-12-04 13:24:27 +01:00
twinaphex
2fd720bcb3 move more variables over 2017-12-04 13:21:23 +01:00
twinaphex
9a8f73fb6c Move variables 2017-12-04 13:18:34 +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
69d3fd5047 Get rid of fence_count in gl struct 2017-12-04 12:03:29 +01:00
twinaphex
267e6fe85f Move fence variables to renderchain data struct 2017-12-04 12:02:53 +01:00
twinaphex
072570bbf3 (GL) Update GL1 renderchain too 2017-12-04 11:58:16 +01:00
twinaphex
05ab278aca Pass chain userdata to renderchain driver 2017-12-04 11:54:30 +01:00
twinaphex
241df59771 Get rid of include 2017-12-04 11:20:18 +01:00
twinaphex
4e342956c1 Update comment 2017-12-04 06:13:01 +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
5a341acb5f Wrap more GL framebuffer functions 2017-12-04 04:57:58 +01:00
twinaphex
44f3341ffe Add EXT versions for OSX PPC 2017-12-04 04:42:40 +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
twinaphex
0bf461c40f Try to get past OSX PowerPC crash on exit 2017-12-04 03:27:03 +01:00
neville
43f6a03110 (OSX PPC) Buildfixes 2017-12-04 02:59:06 +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
q3cpma
6e8fb49d05 Whoops 2017-12-01 00:17:50 +01:00
q3cpma
fa3aab9768 Fixes compilation on FreeBSD (and hopefully on other POSIX platforms) 2017-11-30 16:53:55 +01:00
Brad Parker
130203c431 gdi: fix closing window via X button 2017-11-27 20:49:56 -05:00
Alcaro
0e91822ad1
#5802 2017-11-27 17:11:43 +01:00
twinaphex
00d57af005 C89_BUILD fixes 2017-11-26 22:53:42 +01:00
q3cpma
18b2bd527c Set _NET_WM_PID
Also set WM_CLIENT_MACHINE since https://specifications.freedesktop.org/wm-spec/1.3/ar01s05.html
says you must do so if setting the first.
2017-11-23 19:15:59 +01:00
Twinaphex
d991908ba8
Merge pull request #5741 from orbea/vulkan
Silence -Wunused-function warning.
2017-11-22 13:08:24 +01:00
Brad Parker
20b73cd676 x11: add RetroArch logo to window title bar 2017-11-22 00:01:42 -05:00
orbea
e10dd4d95e Silence -Wunused-function warning. 2017-11-21 13:29:46 -08:00
Rob Loach
5a990841dc
Fix priority and timing of FPS and Fast Forward messages 2017-11-18 11:05:38 -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
a5076df751 Implement set_mvp/set_coords - remove GL code from video_driver.c 2017-11-15 14:24:16 +01:00
twinaphex
619acbb5aa Start implementing video_driver_set_mvp properly 2017-11-15 14:16:06 +01:00
twinaphex
2b1481d97f Refactor set_mvp code a bit 2017-11-15 14:09:41 +01:00
twinaphex
2ac75f98ae (renderchain) Start implementing set_coords/set_mvp 2017-11-15 14:02:41 +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
41daddfe1c Create video_driver_set_mvp 2017-11-14 21:22:44 +01:00
twinaphex
118002ce6c Add comment 2017-11-13 12:37:05 +01:00
twinaphex
e560adcc9f Refactor this - get rid of set_coords_fallback 2017-11-13 12:27:45 +01:00
twinaphex
ade80dbe76 Move gl_ff_matrix to gfx/video_driver.c 2017-11-13 12:15:28 +01:00
twinaphex
f53fe4a07c Remove this from set_mvp function 2017-11-13 12:10:18 +01:00
twinaphex
2327d38e0d Remove this 2017-11-13 12:08:46 +01:00
twinaphex
8a82fd7905 Update 2017-11-13 12:05:50 +01:00
twinaphex
2aea191835 Cleanups 2017-11-13 11:34:40 +01:00
twinaphex
6b6d1ee986 Create cb_set_coords 2017-11-13 11:26:53 +01:00
twinaphex
97095404bd Buildfixes 2017-11-13 11:04:09 +01:00
Twinaphex
fcae5deb2d
Merge pull request #5670 from libretro/Alcaro-patch-2
mali_fbdev_ctx: Remove filestream dependency
2017-11-13 10:52:01 +01:00
Twinaphex
79fdb55f4b
Merge pull request #5669 from libretro/Alcaro-patch-1
drm_ctx: Remove filestream dependency
2017-11-13 10:51:52 +01:00
Alcaro
58bae8456a
Remove filestream dependency
This causes issues in #5664
2017-11-13 09:45:48 +00:00
twinaphex
5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
Alcaro
d005adbd42
Remove filestream dependency
This causes issues in #5664
2017-11-13 09:42:39 +00:00
twinaphex
87c82797fd Start cutting down on macro usage 2017-11-13 10:26:56 +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
e5ed1acc0a (gl1_renderchain.c) Cleanups 2017-11-13 08:58:49 +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
9c791e7fb5 CLeanups 2017-11-12 17:45:23 +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
c1c9e1897c Expand conditional 2017-11-11 19:12:32 +01:00
twinaphex
40cfde0eba (MSVC 2010) Buildfix 2017-11-10 04:53:08 +01:00
twinaphex
063fc96736 Use gl_bind_texture 2017-11-10 04:28:22 +01:00
twinaphex
faab2526c8 Create gl_bind_texture 2017-11-10 03:55:10 +01:00
twinaphex
b3d8146009 Try to fix PS3 build 2017-11-10 02:19:25 +01:00
twinaphex
0ff54e7bd7 Define GLsync 2017-11-09 01:26:11 +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
64ac26b7d1 Get rid of ifdefs 2017-11-08 16:28:58 +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
bd1f04554e Implement ff_matrix/ff_vertex 2017-11-08 05:06:19 +01:00
twinaphex
96876c66ce Updates 2017-11-08 02:36:38 +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
e7599e8952 More buildfixes 2017-11-08 00:55:38 +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
1bc30331a7 Cleanups 2017-11-07 22:59:36 +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
9c6edaff30 Update renderchain driver for GL 2017-11-07 10:10:52 +01:00
twinaphex
f681cb455c Prepare GL renderchains 2017-11-07 07:56:18 +01:00
twinaphex
7d2e9290e2 Convert another file to C 2017-11-06 19:49:06 +01:00
twinaphex
f5d9427d48 Convert shader_hlsl.cpp to C 2017-11-06 19:44:00 +01:00
twinaphex
40a7755fe2 Cleanups 2017-11-06 19:39:21 +01:00
Brad Parker
1771b11a39 wayland: fix heap buffer overflows 2017-11-05 19:31:34 -05:00
Twinaphex
b8df76271c
Merge pull request #5654 from QuarkTheAwesome/wiiu-warnings
[WiiU] Various warning fixes
2017-11-05 16:14:18 +01:00
orbea
10032affcb Fix compile with --disable-fbo.
Fixes https://github.com/libretro/RetroArch/issues/5647
2017-11-04 07:47:03 -07: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
vanfanel
91c9da529f VC EGL context: Fixed hard freeze when toggling the bilinear filter option 2017-11-01 12:19:08 +01:00
Brad Parker
fc856c76a8 fix race condition reading OSD message in video driver 2017-10-29 23:28:02 -04:00
Brad Parker
3098b5e3df gdi: fix uninitialized usage warning 2017-10-24 00:37:50 -04:00
twinaphex
8072dab6fe Clean this up 2017-10-22 05:24:57 +02:00
twinaphex
d203e4dc9c video_shader_driver_resolve_parameters - fix crash at startup with
MSVC
2017-10-22 05:21:31 +02:00
twinaphex
bb051f185b MSVC/C89 buildfixes 2017-10-22 05:13:22 +02:00
Twinaphex
ba2f79a8c3 Merge pull request #5566 from vanfanel/master
Moved original max_swapchain=2 implementation to proper location for future use or reference
2017-10-19 18:50:51 +02:00
vanfanel
b40d50bba4 Moved commented old implementation to proper location. 2017-10-19 14:21:47 +00:00
Twinaphex
ef5cbfed61 Merge pull request #5560 from orbea/xshm
Fix compilation with --enable-xshm.
2017-10-19 13:15:30 +02:00
Jean-André Santoni
628acf5296 Merge pull request #5564 from vanfanel/master
Add experimental way to make max_swapchain=2 work Rpi with GLES on dispmanx
2017-10-19 16:53:27 +07:00
Brad Parker
fd18c2c942 win32: use W-function for file drag&drop 2017-10-18 15:08:01 -04:00
orbea
5ec052b675 Fix compilation with --enable-xshm.
Fixes https://github.com/libretro/RetroArch/issues/5551.
2017-10-18 09:33:09 -07:00
vanfanel
d9ec2267f7 Change max_swapchain=2 implementation to actually working code. 2017-10-18 12:06:58 +00:00
vanfanel
65ef37706c Add experimental way to make max_swapchain=2 work on EGL/GLES VideoCore (Raspberry Pi) 2017-10-18 03:06:30 +00:00
twinaphex
8464ad30bd (Xbox 360) Buildfixes 2017-10-16 01:33:17 +02:00