Commit Graph

842 Commits

Author SHA1 Message Date
Brian S. Stephan efe90a9f34 only build xinerama_common.o if it is enabled 2017-04-25 22:26:46 -05:00
twinaphex 6078864e26 Turn ffmpeg FFT into C code and remove GLM dependency 2017-04-22 12:59:28 +02:00
twinaphex 5b1ecbff87 Remove rsemaphore 2017-04-21 20:41:26 +02:00
twinaphex 40411e5a6f Turn gfx/math functions into macros 2017-04-20 22:14:03 +02:00
twinaphex 1f29de24de Update Makefile.common 2017-04-19 12:43:26 +02:00
twinaphex 7790fc3647 MOve renderchain files to dir 2017-04-19 01:51:05 +02:00
twinaphex 9b3519f850 Turn matrix_4x4_lookat into macro, remove matrix_4x4.c 2017-04-16 07:57:31 +02:00
Zoran Vuckovic 129151d5fc add wasapi audio driver 2017-04-11 00:24:37 +02:00
twinaphex 9e5d6c4155 Update Makefile.common/griffin 2017-04-07 20:56:30 +02:00
twinaphex 69abe6dbb9 Move deps/zlib to deps/libz 2017-03-25 10:05:33 +01:00
twinaphex 62aa0c4415 Split up dbus functions into separate file 2017-03-24 00:12:21 +01:00
twinaphex 1ce3b12335 Split up xinerama functions into separate files 2017-03-23 19:59:11 +01:00
twinaphex 1274092fdd Move audio_mixer code to libretro-common 2017-03-22 03:00:21 +01:00
Brad Parker 0d81b2005f parse new lobby room listing with JSON 2017-03-05 14:19:35 -05:00
Brad Parker 21fe0c8499 bake in johnanthonyowens/jsonsax as jsonsax_full 2017-03-05 14:19:35 -05:00
losernator b8020c0c21 add support for Korean 2017-03-05 01:43:13 +09:00
twinaphex cc75e002cd Add managers/core_manager.c 2017-02-24 06:29:13 +01:00
twinaphex cec74a9460 Add audio_mixer.c for console/Apple builds 2017-02-23 04:26:27 +01:00
Twinaphex c8dfdaa5ff Merge pull request #4687 from leiradel/feature/mixer
Feature/mixer
2017-02-23 03:39:19 +01:00
Andre Leiradella 1499a7ec64 Added the audio mixer to the Makefile 2017-02-23 00:00:16 +00:00
Gregor Richards 5f723d1bda Moving NAT traversal into a task to avoid blocking the UI. 2017-02-20 19:08:31 -05:00
Brad Parker abc7da4c87 miniupnpc: fix include dir for linux, fix setsockopt warning on windows 2017-02-15 20:23:12 -05:00
twinaphex 91f2cd0b95 Fix this up 2017-02-16 01:10:45 +01:00
twinaphex b3d71320bc Add miniupnpc to Android 2017-02-16 00:59:32 +01:00
twinaphex cd1b95220a Add miniupnpc dependency which can be optionally compiled in 2017-02-15 21:03:57 +01:00
Brad Parker 83619b25e6 DOS: add keyboard driver to support non-joypad keys 2017-02-05 13:55:21 -05:00
Andre Leiradella 0c8ee93e3e Moved cheevos files to their own folder in preparation for the changes to support leaderboards 2017-02-03 10:03:57 +00:00
twinaphex 1a5978d7a2 Move patch.c to tasks/task_patch.c 2017-01-31 05:33:13 +01:00
twinaphex cdb45a38d3 Refactor code - do away with sinc_resampler_common 2017-01-30 18:43:09 +01:00
twinaphex 21508003c9 Create sinc_resampler_common 2017-01-30 18:15:41 +01:00
Brad Parker 18f78613ae Merge branch 'wav_loader' 2017-01-27 11:13:28 -05:00
Brad Parker 4fae51edcb initial resampling wav loader 2017-01-25 01:28:48 -05:00
twinaphex c3eb4327bf Remove algorithms/mismatch 2017-01-25 02:57:43 +01:00
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