Commit Graph

410 Commits

Author SHA1 Message Date
twinaphex
8831d19008 Rename GLES_LIBS/GLES_CFLAGS to OPENGLES_LIBS/OPENGLES_CFLAGS 2016-09-21 12:45:31 +02:00
twinaphex
e3c560014c Turn HAVE_GLES into HAVE_OPENGLES 2016-09-17 00:38:35 +02:00
Alcaro
f4791a9f63 (#2026 #3547 #3588) Configurable is good. Off by default is not good, if it's on your system already then using it does no harm. 2016-09-15 10:32:47 +02:00
Twinaphex
ad638fe665 Merge pull request #3588 from orbea/dbus
Disable dbus by default
2016-09-14 19:00:36 +02:00
orbea
a5644d61db Disable dbus by default 2016-09-14 09:43:30 -07: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
twinaphex
b2c9db523a Set HAVE_XSHM to NO as long as Travis CI builds fail with it on -
https://travis-ci.org/libretro/RetroArch/jobs/158305004
2016-09-08 01:18:12 +02:00
Alcaro
e243614db8 Create half-broken XShm driver, to perform evil experiments on 2016-09-07 13:39:00 +02:00
Brad Parker
063ee19bc2 fix linking of stb functions for nuklear 2016-09-04 11:35:53 -04:00
twinaphex
2c17d6a71e Add back SWRESAMPLE check 2016-08-30 18:31:42 +02:00
twinaphex
3b79182fa2 Add HAVE_AVRESAMPLE 2016-08-30 17:31:39 +02:00
twinaphex
aa1e43b2fc Change notice to reflect that ffmpeg support now includes
built-in core
2016-08-30 17:25:51 +02:00
twinaphex
90e57f7a0d Check for libavdevice 2016-08-30 17:24:04 +02:00
orbea
bfc7267c0e Kill empty lin 2016-08-27 20:04:12 -07:00
orbea
ac606f8678 Allow setting assets install directory 2016-08-27 19:44:41 -07:00
orbea
cca3e2a433 Label -with-* options as config for ./configure --help 2016-08-27 17:06:50 -07:00
orbea
da4afd6e35 Give more space for configure help options 2016-08-27 16:49:09 -07:00
orbea
698579c2b5 Shorten HAVE_VULKAN_KHR_DISPLAY 2016-08-27 16:48:13 -07:00
orbea
3a1daaa4c3 Allow disabling downloading assets in the online updater 2016-08-26 23:38:44 -07:00
orbea
b3922555e2 Allow setting --with-bin_dir 2016-08-26 17:29:50 -07:00
Higor Eurípedes
8752313961 (gfx) Add OSMesa context 2016-08-02 02:16:02 +02:00
twinaphex
6742e135c9 Create HAVE_VIDEO_PROCESSOR ifdef 2016-07-28 20:01:38 +02:00
radius
6db150e312 windows configure script fix 2016-07-25 00:55:11 -05:00
twinaphex
cf3c8ede98 Don't include Zarch menu unless we explictly enable it 2016-07-21 21:51:50 +02:00
twinaphex
1c40598da4 Add HAVE_BUILTINZLIB - can now add baked-in zlib 2016-07-21 09:15:51 +02:00
twinaphex
3f29e731e2 Set HAVE_PLAIN_DRM to no by default 2016-07-11 15:57:52 +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
twinaphex
c8349862e1 Lower libdrm requirements to 2.4.65 2016-07-04 21:51:06 +02:00
Logan McNaughton
a9750e0232 Fix library dirs on Raspberry Pi 2016-07-04 12:25:17 -06: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
f7bd9a7843 HAVE_IMAGEVIEWER no longer has to be excluded for the C89/C90 build 2016-06-21 06:59:31 +02:00
twinaphex
89e3ce381d Make Python optional 2016-06-11 14:09:04 +02:00
twinaphex
cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex
63af59a198 Add HAVE_LANGEXTRA 2016-06-07 06:05:41 +02:00
twinaphex
d44062d841 Make HAVE_HID completely optional 2016-06-07 03:01:33 +02:00
twinaphex
52b7a95a2b C89_BUILD fixes 2016-06-07 00:03:07 +02:00
twinaphex
883d9ff6b5 Add HAVE_SHADERPIPELINE define 2016-06-07 00:00:28 +02:00
twinaphex
6213b9d3f1 Revert "Force HAVE_VULKAN on for Windows"
This reverts commit 1f8b4d6b9a.
2016-05-30 00:40:16 +02:00
twinaphex
1f8b4d6b9a Force HAVE_VULKAN on for Windows 2016-05-30 00:34:18 +02:00
twinaphex
9d6eda5409 Remove double entry in qb/config.params.sh 2016-05-27 05:22:11 +02:00
orbea
7fc64b2c5e Set base man dir in MAN_DIR 2016-05-22 16:31:01 -07:00
twinaphex
b052f07f6b Add HAVE_RBMP switch 2016-05-18 13:34:04 +02:00
twinaphex
08e637a573 Add Vulkan check back 2016-05-16 10:08:10 +02:00
twinaphex
a7502a3599 Turn HAVE_VULKAN to auto 2016-05-16 07:57:10 +02:00
twinaphex
0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex
670b564f13 Add HAVE_RTGA switch 2016-05-11 21:57:41 +02:00
twinaphex
28dd2c2545 Add HAVE_RJPEG ifdefs 2016-05-11 21:27:17 +02:00
twinaphex
4100bf95b4 Able to compile without RPNG support 2016-05-11 21:22:45 +02:00
twinaphex
123025665d (Qb) When threads are disabled, disable cheevos and/or libusb too 2016-05-11 19:11:09 +02:00
Alcaro
fe4ef69aaf Better check this one too. (Vulkan is the only user of that, right?) 2016-05-10 19:43:38 +02:00