Commit Graph
145 Commits
Author SHA1 Message Date
beaumanvienna e5682161da merged with upstream / amended SDL2 multi monitor support 2014-10-15 22:35:03 +02:00
Henrik Rydgård dd235f7f24 Merge pull request #239 from fcooper/master-no-x11
base: Allow building when not using X11 on a FBDEV based system
2014-10-07 00:44:44 +02:00
Henrik Rydgård 6d1560547e Merge branch 'PGGB-sdl2' 2014-10-05 14:45:35 +02:00
Franklin S Cooper Jr c5bb2c7b23 base: Allow building when not using X11 on a FBDEV based system
* Currently building base will fail on non X11 based systems due to
  inclusion of X11 headers and some calls to X11 functions.
* Portions of the code currently attempts to avoid calling X11 functions
  when fbdev is used. This patch adds additional checks to avoid X11 calls.

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
2014-09-26 18:56:17 -05:00
beaumanvienna d54daa2ea5 amendement for sdl version after Qt changes 2014-09-25 21:59:45 +02:00
beaumanvienna 66c585e931 dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2 2014-09-22 20:08:02 +02:00
Henrik Rydgard 6ee862b564 Increase some buffer sizes 2014-09-14 00:13:24 +02:00
Daniel Nagel 4a85cbe404 Make sure fullscreen state is properly reflected in the UI 2014-09-04 10:20:04 +02:00
Daniel Nagel 439ea67cc2 Add error handling for SDL_GL_CreateContext 2014-09-02 07:34:08 +02:00
Daniel Nagel 66c19727ce Add missing mode flag 2014-09-01 20:24:26 +02:00
Daniel Nagel d4014f5f7f Update to SDL2 2014-09-01 15:46:14 +02:00
Henrik Rydgard dcd27e134d Add flag to identify events from mouses. 2014-07-20 22:24:54 +02:00
Henrik Rydgard 2ab2016002 Expose the Android system version to the app. Useful to enable/disable android-only features like immersive mode 2014-07-20 12:04:22 +02:00
Henrik Rydgård 06d70ee435 When did these disappear? :/ 2014-07-15 17:00:57 +02:00
Henrik Rydgård 28234ca4d2 Buildfix for non-PPSSPP projects 2014-07-15 16:52:29 +02:00
Sacha 50d4319832 Use the UpdateRunLoop from Core as it handles when window is minimized. There is no way outside of Core right now (bad for native?). 2014-06-30 00:15:37 +10:00
Sacha 9c0d44ceb0 Qt: Let Qt decide which directories to use for Qt5. Fix an SDL Audio error which was a false positive. 2014-06-25 15:40:28 +10:00
Henrik Rydgard bddebfceeb Blackberry and mobile Qt buildfixes 2014-06-22 11:17:03 +02:00
Henrik Rydgard 820bad2d64 Oops, should not have deleted this. 2014-06-22 10:53:06 +02:00
Henrik Rydgard c3fffa291b Update uistate hackery. Need to get rid of this from PCMain.cpp... 2014-06-22 10:34:22 +02:00
Sacha efd2cb0f61 Fix SDL Joystick. 2014-06-08 00:55:51 +10:00
Sacha ad57c49429 SDL: Enable up to 2 joysticks for everyone. 2014-05-31 01:29:00 +10:00
Sacha 935165ca69 SDL: Make the code more platform-agnostic and cleaner. 2014-05-31 01:21:43 +10:00
Sacha 522e1c1c84 Fix GLES2 SDL builds. 2014-05-29 12:12:50 +10:00
Henrik Rydgård 3866998e10 Apply patch from gschwind that lets us accept more audio formats
(although I'm not sure which ones would apply...)
2014-05-04 12:33:28 +02:00
Henrik Rydgård eacdc58b48 Merge pull request #209 from thedax/sdlFullscreenFix
SDL: Fix fullscreen resizing.
2014-05-04 11:26:23 +02:00
The Dax 83f80c427b SDL: Let the window be resizable on platforms it makes sense on. 2014-05-02 18:15:37 -04:00
The Dax 8ada7de18a Fix fullscreen resizing. It wasn't working properly. 2014-05-02 17:46:24 -04:00
Henrik Rydgård 3c13a90099 SDL: Add flag for portrait mode 2014-04-13 17:09:49 +02:00
Henrik Rydgård b914c1a1fd Easy way to mimic an ipad by windows size 2014-04-08 15:27:14 +02:00
Henrik Rydgård 6f6c81ce19 Need to check the quit flag here too 2014-02-12 12:45:49 +01:00
Henrik Rydgard 52a7af1ed3 Fix some build errors due to a removed variable 2014-02-10 15:12:55 +01:00
Henrik Rydgard 93d39b34ff Add the few extra lines required to init gl on Raspberry Pi.
Still needs work in the build system to set this define.
2014-02-09 23:31:31 +01:00
Henrik Rydgård 48b4745e73 Some cleanup, make really sure we don't use AudioTrack on Gingerbread+. 2014-02-07 14:18:45 +01:00
Henrik Rydgård 4a743ca627 SDL: Add way to exit cleanly through a message. Warning fix. 2014-02-07 11:33:31 +01:00
Henrik Rydgard 790c70f3fb Center SDL window when possible 2014-02-05 19:44:43 +01:00
Henrik Rydgard 841f04d369 For some reason, need to disable the SDL joystick code to build PCMain on windows 2014-02-05 14:46:21 +01:00
Thiago Kenji Okada 14e32915b2 I forget how C works after using Python... 2014-01-30 14:33:48 -02:00
Thiago Kenji Okada a313321893 Add fallback in case of xdg-utils is not installed
Some distributions may not install xdg-utils by default,
so inform the user in case of xdg-utils is not installed
when the user tries to use any of the xdg-utils commands.
2014-01-30 14:23:04 -02:00
Henrik Rydgård 25bbd8fbd1 Link backtrace.cpp on Android too for consistency. Use it in FLOG. 2014-01-23 14:31:56 +01:00
Henrik Rydgård ca90b79bf8 Fix Android input box function. Add dpi to command line options in PCMain. 2014-01-21 15:57:15 +01:00
Henrik Rydgård 73f612aaa8 SDL: Add preliminary fullscreen toggle support. Does not seem to work very well on Mac. 2014-01-03 15:15:35 +01:00
Henrik Rydgard 69fd1d6594 Fix USING_GLES2 + SDL builds, if we ever have any 2014-01-02 00:29:34 +01:00
Henrik Rydgård 9201587961 PCMain.cpp: Allow forcing pixel resolution on the command line.
Small optimization in gfx_es2
2013-12-16 14:06:24 +01:00
Henrik Rydgård 8166e7a094 Let apps specify that they want portrait on startup again 2013-12-13 12:49:38 +01:00
Henrik Rydgård a83ac35141 Restore functionality of "legacy key maps" in SDL.
For non-PPSSPP prototyping purposes.
2013-12-13 12:17:46 +01:00
Henrik Rydgård e015a7caad PCMain.cpp: #ifdef away PPSSPP-isms (yeah, this is ugly and needs cleanup) 2013-12-13 11:04:11 +01:00
Sacha 9e5df6028a Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. 2013-12-08 20:15:09 +10:00
Henrik Rydgard 563e005101 Android: Allow sending generic string messages out to Java.
Implement stubs for other platforms.
2013-12-04 17:38:37 +01:00
Sacha 17ddae23cc Qt: Prepare for desktop UI to use embedded mobile UI. 2013-11-27 01:30:28 +10:00