Commit Graph

809 Commits

Author SHA1 Message Date
Brad Parker
57949227df DOS: initial input/joypad driver 2017-01-24 00:55:58 -05:00
twinaphex
669599cfd7 Add audio_mix to libretro-common 2017-01-24 00:29:40 +01:00
radius
3306f5274a add name matching 2017-01-22 18:39:07 -05:00
Twinaphex
3ff158b907 Merge pull request #4436 from fr500/lobby
Basic lobby system (don't merge, just for tracking)
2017-01-22 21:08:43 +01:00
Brad Parker
c4bfa6b0d2 DOS: initial VGA int13 graphics driver 2017-01-22 10:47:11 -05:00
Jean-André Santoni
2dee8f77b6 (Netplay) Add a task to find a game from its CRC 2017-01-22 03:17:50 +01:00
Sergi Granell
3dacc03b52 Get HAVE_XMB define out of HAVE_RGUI
Add -DHAVE_STB_FONT to HAVE_STB_FONT
Add -DHAVE_OVERLAY to HAVE_OVERLAY
(VITA) Improve Makefile.vita (proper netlogging)
2017-01-17 23:12:36 +01:00
Sergi Granell
4b4aeec445 (VITA) Use .c shaders 2017-01-17 20:58:51 +01:00
twinaphex
472df1ad33 Add HAVE_NETLOGGER rule 2017-01-17 19:31:11 +01:00
twinaphex
15853842f0 Add more files 2017-01-17 18:01:29 +01:00
twinaphex
7beecd37af Add platextra files for Vita 2017-01-17 17:56:49 +01:00
twinaphex
92489a3f14 Add CFLAGS for vita2d 2017-01-17 17:33:10 +01:00
twinaphex
848be8c549 Add libvita2d rules 2017-01-17 17:31:38 +01:00
twinaphex
fae7be1cec Make sure HAVE_MENU_COMMON is defined for XMB and MaterialUI 2017-01-17 14:53:29 +01:00
twinaphex
4b8c22e311 Add HAVE_MENU ifdef 2017-01-17 14:40:59 +01:00
twinaphex
f074c3fa7e Add this 2017-01-17 14:02:50 +01:00
Brad Parker
afb94e2b96 GDI: draw a gradient background for xmb 2017-01-16 20:41:09 -05:00
Brad Parker
05c37bd39f initial GDI driver skeleton 2017-01-16 20:41:04 -05:00
Brad Parker
99508cfd64 allow --disable-vulkan on Windows 2017-01-16 15:08:05 -05:00
twinaphex
ef974086aa Split up menu OSK code to separate file - menu/widgets/menu_osk.c 2017-01-12 11:31:24 +01:00
twinaphex
d3b818a16a Move dsp_filter to libretro-common 2017-01-09 12:22:29 +01:00
twinaphex
925d60c0cc Implement part 2 of Browse URL 2016-12-27 00:02:09 +01:00
Twinaphex
d23beed9bb Merge pull request #4288 from Themaister/master
Vulkan: Fix menu shader parameters for slangp.
2016-12-21 00:20:06 +01:00
Hans-Kristian Arntzen
4e9fe4bd54 Vulkan: Fix menu shader parameters for slangp.
video_shader_resolve_parameters did not take #includes into account
while the Vulkan implementation did. Added a helper function which
parses a shader file and figures out the shader parameters in the same
way.
2016-12-20 15:58:37 +01:00
Brad Parker
d20f45c9d4 make battery level check into a task 2016-12-20 09:18:07 -05:00
Gregor Richards
f619789e48 Refactoring: netplay_common.c -> netplay_handshake.c/netplay_delta.c
Refactoring netplay_common into its two actual components, the handshake
and delta-frame related functions.
2016-12-18 19:28:43 -05:00
Gregor Richards
4e905bf524 Refactoring: netplay_sync.c
Renamed netplay_net.c to netplay_sync.c, as all that remains in that
file is synchronization-related functions.
2016-12-18 19:28:43 -05:00
Gregor Richards
257c5d3188 Refactoring netplay_init.c/netplay_net.c
Split the remainder of netplay.c into netplay_init.c and netplay_net.c
(which will soon be netplay_sync.c)
2016-12-18 19:28:43 -05:00
Gregor Richards
7e2465ef1f Refactoring: Moving I/O functionality into netplay_io.c 2016-12-18 19:28:43 -05:00
Gregor Richards
8c59c7dd77 Starting to refactor: Separating frontend stuff into netplay_frontend.c 2016-12-18 19:28:43 -05:00
Gregor Richards
9b2270f5d4 Say goodbye to spectator mode (for now) 2016-12-18 19:28:42 -05:00
Gregor Richards
900e5a79ec Use nonblocking sockets for Netplay to avoid some stalls. 2016-12-18 19:28:38 -05:00
Hans-Kristian Arntzen
c48bb6284e Wayland: Cursor toggling. 2016-12-17 21:34:51 +01:00
twinaphex
17a66067b0 Add menu_filebrowser.c 2016-12-16 08:59:17 +01:00
Jools Wills
ef86ec68fa fix building with neon enabled - fixes #4239 2016-12-14 04:25:53 +00:00
twinaphex
08a60c94d0 Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT 2016-12-12 13:02:29 +01:00
twinaphex
7af2e2e6b8 Add HAVE_CC_RESAMPLER to more Makefiles 2016-12-12 12:48:04 +01:00
twinaphex
8042c2ac62 Move config_file_userdata.c to libretro-common 2016-12-12 12:36:46 +01:00
Andrés Suárez
f9c3869b43 Merge branch 'master' into qt 2016-12-11 15:08:19 -05:00
radius
fd84613db5 get this working again 2016-11-19 21:19:56 -05:00
radius
26d0a6f2d0 simplify building 2016-11-19 20:18:44 -05:00
Jean-André Santoni
10d925e189 Make LAKKA_PROJECT unneeded 2016-11-15 10:18:28 +01:00
twinaphex
a0e1413ecc Remove video_frame.c 2016-11-08 15:30:28 +01:00
Brad Parker
e378a4636b make save/load state messages fully translatable, rename jp.c to ja.c to match proper language code 2016-11-08 08:37:51 -05:00
twinaphex
37ff8cb66f Prevent stb_truetype from being included twice for Griffin 2016-11-05 20:45:23 +01:00
chu
158ca0e9e7 modify the Makefile 2016-10-29 12:15:29 +08:00
Jean-André Santoni
c99b4f7252 Preliminary support for the Vietnamese language 2016-10-27 20:49:56 +02:00
twinaphex
213e357918 Move gl_capabilities to libretro-common 2016-10-24 04:06:05 +02:00
twinaphex
efe0220df2 Remove msg_hash_uspseudo 2016-10-23 00:52:48 +02:00
twinaphex
c9c7aea184 Create sublabel callbacks 2016-10-20 15:57:35 +02:00
Higor Eurípedes
330a8d7594 Make thread local storage optional 2016-10-17 21:24:03 -03:00
twinaphex
8cdeb60a89 Rearrange builtin file 2016-10-04 07:35:29 +02:00
twinaphex
c2bb410d8d Take out HAVE_BUILTIN_AUTOCONFIG - always include it 2016-10-04 07:33:57 +02:00
twinaphex
9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
Jean-André Santoni
c45058d3ae Start adding a WiFi driver 2016-09-22 02:02:43 +02:00
twinaphex
8831d19008 Rename GLES_LIBS/GLES_CFLAGS to OPENGLES_LIBS/OPENGLES_CFLAGS 2016-09-21 12:45:31 +02:00
twinaphex
db2d66f00a Update Makefile.common 2016-09-19 19:44:20 +02:00
twinaphex
bb6bc9bd6d Merge task_save_ram/task_save_state 2016-09-19 02:57:23 +02:00
twinaphex
f57e52b569 Linking error fixes 2016-09-18 19:05:28 +02:00
twinaphex
26d8d7af88 Take out doubly encoding_crc32 2016-09-18 18:56:48 +02:00
Twinaphex
b1d3ecf8b7 Merge pull request #3615 from bparker06/7z4
7z fixes
2016-09-18 18:54:22 +02:00
Brad Parker
25105ed565 upstream merge 2016-09-18 12:52:20 -04:00
twinaphex
c158dfb74e Makefile.common - add encoding_crc32.c 2016-09-18 18:50:52 +02:00
twinaphex
64d1ff2439 Always compile in archive_file right now 2016-09-18 18:44:46 +02:00
Brad Parker
f13bce4e50 - use the detected stream backend's crc32 function
- remove zlib/7zip ifdef from archive_file.c, task_content.c and task_database.c
- don't re-compute CRC from one stored in archive
2016-09-18 12:31:24 -04:00
Brad Parker
7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
twinaphex
1a554cf1bc Add dirs.c 2016-09-17 14:44:19 +02:00
twinaphex
005b86eb5d Create paths.c 2016-09-17 12:10:46 +02:00
twinaphex
e3c560014c Turn HAVE_GLES into HAVE_OPENGLES 2016-09-17 00:38:35 +02:00
twinaphex
1055938b67 Add vector_4 to Griffin and Makefile.common 2016-09-16 17:46:13 +02:00
twinaphex
125c4f9529 Add menu_event.c 2016-09-16 16:39:30 +02:00
twinaphex
a21674881c Add menu_input_bind_dialog 2016-09-15 20:35:39 +02:00
twinaphex
8fd5c5817a Create menu_input_dialog 2016-09-15 19:23:32 +02:00
twinaphex
233925bea6 Rename widgets/menu_popup to widgets/menu_dialog 2016-09-15 15:57:25 +02:00
twinaphex
02e01e0b0a Create menu/widgets/menu_entry 2016-09-15 00:20:43 +02:00
twinaphex
892c0a6f52 Create menu/widgets/menu_list 2016-09-15 00:10:37 +02:00
Twinaphex
09ccef1684 Merge pull request #3547 from nguillaumin/wip-screensaver-dbus
WIP: Fixes #2026 Screensaver suspend on Linux via Dbus
2016-09-14 15:48:43 +02:00
twinaphex
056cc8ece8 Move menu_popu.c to menu/widgets 2016-09-11 21:03:31 +02:00
twinaphex
d3f7bf8527 Move video_state_python to gfx/drivers_tracker 2016-09-11 17:59:10 +02:00
Nicolas Guillaumin
05df632bd8 WIP: Fixes #2026 Screensaver suspend on Linux via Dbus
One some systems (tested with Gnome 3 on Arch Linux) the current method
of using `xdg-screensaver` to suspend the screensaver does not work.
Instead, using DBus to issue an `Inhibit` request is recommended.

The request returns a cookie that needs to be re-used to un-inhibit the
screensaver later. Additionally if the DBus connection is closed the
current inhibition is discarded. Thus, the DBus connection needs to stay
connected for the duration of the screenshot inhibition.

The code is heavily inspired from the [SDL 2.x
code](http://hg.libsdl.org/SDL/file/default/src/core/linux/SDL_dbus.c#l172).
I didn't call the SDL 2 code though since this it to fix the issue with
the GL driver, and I assume one would want to have screensaver inhibited
even when SDL 2 is not available (but GL is).

I've set "WIP" because:
* I haven't done C in a long time so my code is probably not great
* There's a dependency on DBus which I don't know is acceptable or
not
* I've put my code where I could to check it works, but `x11_common` may
not be the best place
* The code need and "init" and "deinit" kind of method as it needs to
initialise the DBus connection, and on deinit close it properly. I've
used `x11_connect` and `x11_window_destroy` but they don't sound like
the best choices.
* I'm a bit unclear as to what happens when "suspend screensaver" is
ticked on/off in the menu. This doesn't seem to call
`x11_suspend_screensaver` everytime, so I'm not sure if there's a hook
somewhere (as disabling screensaver suspend in the menu should cause a
DBus unhinibit request to be sent).
* Should I just call the SDL 2.x code (meaning that the GL driver would
depend on SDL 2.x at runtime)?

So, first of all are you ok with the approach, and if yes I'd gladly get
feedback about the code, how to architecture it and the best place to
put it.

Thanks!
2016-09-08 15:23:41 -07:00
Alcaro
e243614db8 Create half-broken XShm driver, to perform evil experiments on 2016-09-07 13:39:00 +02:00
twinaphex
e6a114a95a Create gfx/video_frame.c 2016-09-06 23:41:09 +02: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
a74813c9ea Expose GPU Hard Sync for GLES 3 too 2016-09-05 21:16:30 +02:00
twinaphex
7af3b79416 Create gl_capabilities.c/gl_capabilities.h 2016-09-05 07:04:56 +02:00
twinaphex
9c897e262b Create menu_popup.c 2016-09-04 22:58:54 +02:00
twinaphex
429165e966 Combine autoconfig builtin files into one 2016-09-03 07:39:26 +02:00
twinaphex
49d52b8ca2 Buildfix 2016-09-03 07:02:37 +02:00
twinaphex
9df9b79869 Add builtin_sdl2 2016-09-03 07:02:17 +02:00
twinaphex
b6daaed566 Rename git_version.c to version_git.h, create separate
version.h file
2016-09-01 17:49:28 +02:00
vanfanel
b9ff4c91bd Correct drm headers path for the plain_drm driver 2016-08-31 11:59:29 +02:00
twinaphex
9af900a1d1 Create setting_list.c/setting_list.h 2016-08-29 03:07:33 +02:00
orbea
698579c2b5 Shorten HAVE_VULKAN_KHR_DISPLAY 2016-08-27 16:48:13 -07:00
Alcaro
dd7caa4ad4 Wipe out this flag, not needed anymore. 2016-08-26 17:47:46 +02:00
Brad Parker
2e4fd540ac re-enable UTF-8 by default, inline utf8_walkbyte, fix missing ifdef in utf8_walk 2016-08-24 10:56:00 -04:00
Brad Parker
30e99927d2 undo previous new files and use existing encoding_utf header 2016-08-23 19:16:18 -04:00
Brad Parker
d063cb9283 do not make UTF-8 the default, simplify/centralize the common string functions, make sure rgui/materialui use utf8 strlen when available 2016-08-23 19:00:53 -04:00
Brad Parker
35e67e69e5 Initial utf8 support for rgui/xmb. Only supports first 256 codepoints due to current freetype atlas limitation 2016-08-23 14:49:44 -04:00
vanfanel
e5965c7870 Fix plain_drm driver compilation 2016-08-22 14:23:17 +02:00
Alcaro
3899984bbb Fix pseudolocalization 2016-08-20 23:38:24 +02:00
twinaphex
ad3a4311ee Add msg_hash_jp 2016-08-20 21:37:03 +02:00
Jean-André Santoni
4228e3dcc3 Revert "Reworked xmb driver to allow tab hiding"
This reverts commit 069a9cbfe6.
2016-08-18 14:06:54 +02:00
Ghost Coder
069a9cbfe6 Reworked xmb driver to allow tab hiding 2016-08-17 11:28:42 -05:00
twinaphex
fdac55edf4 Attempt to update this - without success so far 2016-12-05 03:35:09 +01:00
twinaphex
62ab2fcc9c SPIRV-Cross buildfix 2016-12-04 04:19:13 +01:00
Gregor Richards
4c18cec752 Added Netplay discovery code (not yet in menu) 2016-12-02 19:49:42 -05:00
Gregor Richards
addff325d0 Netplay discovery LAN scanning task (incomplete) 2016-12-02 18:56:29 -05:00
twinaphex
d3c22cb0e4 Move input/input_autodetect.c to tasks/task_autodetect.c 2016-12-01 20:38:20 +01:00
Brad Parker
ba54f20626 initial libcaca video driver 2016-12-01 12:13:45 -05:00
twinaphex
63ae172a23 Add udev_common.c/.h 2016-12-01 15:02:42 +01:00
Twinaphex
12b17a8319 Merge pull request #4109 from libretro/async-wifi
Async wifi
2016-11-30 16:10:32 +01:00
Gregor Richards
65355994b3 NAT traversal
Adding NAT traveral interface to libretro-common, with (currently) a
backend support MiniUPNPC. Sensible future backends would be libupnp and
a direct implementation of PCP/NAT-PMP.
2016-11-29 21:00:53 -05:00
Jean-André Santoni
bb7a96e9a8 Async Wi-Fi scan 2016-11-30 00:18:27 +01:00
Gregor Richards
ac50e17f50 Moving zlib stream interface
Moving the zlib streaming interface out of archive_file and into
trans_stream, including updating the png support to use the new
trans_stream interface. archive_file_zlib itself still needs updating.
2016-11-26 10:47:24 -05:00
Logan McNaughton
47227c829b GLES3 fixes 2016-08-06 21:45:35 -06:00
twinaphex
fda2495021 Get rid of HAVE_ZLIB_DEFLATE - implicitly enable it 2016-08-02 15:34:48 +02:00
twinaphex
a8e74f0aa2 (GL) Start moving renderchain code over to separate files 2016-08-02 02:27:23 +02:00
Higor Eurípedes
8752313961 (gfx) Add OSMesa context 2016-08-02 02:16:02 +02:00
twinaphex
8d186dab88 Relocate D3D drivers 2016-08-01 22:05:57 +02:00
twinaphex
6742e135c9 Create HAVE_VIDEO_PROCESSOR ifdef 2016-07-28 20:01:38 +02:00
twinaphex
afee38109d Start integrating video processor code 2016-07-28 19:10:18 +02:00
twinaphex
1c40598da4 Add HAVE_BUILTINZLIB - can now add baked-in zlib 2016-07-21 09:15:51 +02:00
Alcaro
979c6d003e C90 sets C89 and should not be used 2016-07-15 15:40:52 +02:00
Alcaro
6af35e8739 Expand those tabs 2016-07-15 15:40:06 +02:00
twinaphex
bcf74d9685 Start adding menu_cbs_label.c 2016-07-08 16:24:05 +02:00
twinaphex
80e3170e93 (BSD) Add frontend/drivers/platform_bsd.c 2016-07-08 13:30:05 +02:00
Hans-Kristian Arntzen
cd4ff2eac8 Move KHR_display backend behind configure flag.
Enabled by default since it is technically not platform specific.
2016-07-07 22:05:57 +02:00
Hans-Kristian Arntzen
d382e1069e Basic VK_KHR_display integration works! :) 2016-07-07 19:28:27 +02:00
twinaphex
5d70242dee Check against libdrm version 2.4.68 in order to enable/disable
plain DRM video driver
2016-07-03 22:08:56 +02:00
twinaphex
d53cbfbdfb Backport DRM video driver 2016-07-03 10:37:07 +02:00
twinaphex
097b02a8a1 Add compilation of vector_2/vector_3 2016-06-27 10:56:30 +02:00
twinaphex
00ff63e0bb Add NEED_CXX_LINKER 2016-06-26 21:26:21 +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
596cd320c6 Vulkan: Update SPIRV-Cross and glslang. 2016-06-25 14:44:56 +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
twinaphex
560f8dda60 Remove tasks_internal.c - no longer needed 2016-06-20 06:02:50 +02:00
twinaphex
35b078857d Create file_path_str.c 2016-06-20 05:20:14 +02:00
twinaphex
284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex
43c25383e3 Take out CXX_BUILD for now - prevents compilation 2016-06-19 22:39:35 +02:00
Alcaro
6949cfde68 C++ use means we use the C++ linker. Fixes #3129 2016-06-19 21:41:00 +02:00
twinaphex
e91d9d5637 Don't bake in GLFFT for HAVE_GLES right now 2016-06-16 01:08:11 +02:00
twinaphex
1534ec916b Include GL FFT when GL and ffmpeg builtin core are enabled 2016-06-15 19:32:59 +02:00
twinaphex
0f90a3352b Create Qt5 implementation of msg window 2016-06-10 09:47:16 +02:00
twinaphex
a66a46ca25 Start implementing ui_qt_application.cpp 2016-06-10 08:38:27 +02:00
twinaphex
acf0a74e6d Add ui_qt_application 2016-06-09 20:18:08 +02:00
twinaphex
69f32c3a35 Add qt/ui_qt_window.cpp 2016-06-09 20:11:26 +02:00
twinaphex
b4085b6118 Hide Qt wrapper code behind an ifdef - HAVE_QT_WRAPPER, set this to
1 in Makefile.common in order to use it
2016-06-09 19:51:50 +02:00
twinaphex
7a3e3ab46b Add to Makefile files 2016-06-08 15:52:58 +02:00
twinaphex
0e01a3c84b Add ui_browser_window 2016-06-08 15:47:00 +02:00
Twinaphex
a6406a57ca Add ui_cocoa_msg_window.m to Cocoa 2016-06-08 06:35:04 +02:00