Commit Graph

657 Commits

Author SHA1 Message Date
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