summaryrefslogtreecommitdiffstats
path: root/src/citra/emu_window (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-11move MotionEmu from core/frontend to input_common as a InputDevicewwylele2-10/+4
2017-07-16Network: Init Network in SDL and QTB3n301-0/+4
2017-05-28Move screen size constants from video_core to coreYuri Kunde Schlesner1-7/+7
video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
2017-03-01InputCommon: add Keyboardwwylele2-21/+6
2017-02-23Gui: Change title bar to include build nameJames Rowe1-2/+2
Nightly builds now have "Citra Nightly" in the titlebar Bleeding edge builds now have "Citra Bleeding Edge" in the titlebar
2016-12-26Frontend: emulate motion sensorwwylele2-7/+20
2016-12-23core: Move emu_window and key_map into coreMerryMage2-2/+2
* Removes circular dependences (common should not depend on core)
2016-11-05Support additional screen layouts.James Rowe1-4/+1
Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2-8/+1
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2-2/+3
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot2-12/+18
2016-08-30config: Add a setting for graphics V-Sync.bunnei1-0/+1
2016-05-15Refactor input subsystemwwylele1-3/+4
2016-05-06Frontends, VideoCore: Move glad initialisation to the frontendEmmanuel Gil Peyrot1-0/+7
On SDL2 this allows it to use SDL_GL_GetProcAddress() instead of the default function loader, and fixes a crash when using apitrace with an EGL context. On Qt we will need to migrate from QGLWidget to QOpenGLWidget and QOpenGLContext before we can use gladLoadGLLoader() instead of gladLoadGL(), since the former doesn’t expose a function loader.
2016-03-15SDL2: Explicitly use RGB8 color buffer.bunnei1-0/+4
2016-03-02Dependencies: Remove GLFW, Add SDL2MerryMage4-222/+231
citra: Remove GLFW, Add SDL2 FindSDL2: Do not CACHE SDL2_* variables if library is not found EmuWindow_SDL2: Set minimal client area at initialisation time EmuWindow_SDL2: Corrections EmuWindow_SDL2: Fix no decorations on startup on OS X cmake: windows_copy_files
2015-08-30Increase required OpenGL version to 3.3Yuri Kunde Schlesner1-1/+1
This gives us several niceties such as Sampler Objects, shader attribute locations and Timer Queries.
2015-08-30Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner1-1/+1
The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES.
2015-07-28Move input values into an arrayJames Rowe1-26/+3
2015-06-28Citra: Fix the includes a bit, thanks to include-what-you-use.Emmanuel Gil Peyrot2-0/+14
2015-05-07Common: Remove common.hYuri Kunde Schlesner1-1/+1
2015-05-02EmuWindow: Clip mouse input coordinates to emulated screen dimensions.Zaneo1-1/+1
If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to the emulated screen dimensions. Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
2015-03-11HID: Complete refactor of pad/touch input to fix threading issues.bunnei1-11/+6
2015-03-10EmuWindow: Made pad/touch functions non-static.bunnei1-13/+14
2015-03-10GLFW: Implemented EmuWindow touchpad support.bunnei2-0/+26
2015-03-07Set framebuffer layout from EmuWindow.bunnei1-9/+2
2015-02-22Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.Emmanuel Gil Peyrot1-0/+10
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-5/+5
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-01-21Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift1-17/+17
2014-12-21License changepurpasmart962-2/+2
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-8/+8
2014-12-03Change NULLs to nullptrs.Rohit Nirmal1-3/+3
2014-11-30GLFW: Add an error callback before calling glfwInit()Emmanuel Gil Peyrot1-2/+6
It will print a message to know what happened in case something went wrong in a GLFW call. Also replace every printf() in the glfw emu-window by ERROR_LOG().
2014-11-19Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot1-2/+2
2014-11-18citra GLFW: Ignore minimal window size hints.Tony Wasserka1-8/+2
GLFW provides no proper support for this, hence we just allow any window size to be used.
2014-11-18EmuWindow: Remove window title getters/setters.Tony Wasserka1-3/+4
The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there. Providing properly thread-safe window title getters and setters is a mess anyway.
2014-11-18EmuWindow: Add support for specifying minimal client area sizes.Tony Wasserka2-0/+23
2014-11-18Fixup EmuWindow interface and implementations thereof.Tony Wasserka2-20/+44
2014-11-18Viewport scaling and display density independenceKevin Hartman2-1/+9
The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly.
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner1-4/+4
This was automated using `clang-modernize`.
2014-10-19emu_window_glfw.cpp: Fixed graceful quittingarchshift1-1/+1
In PR #143, the name of the function IsOpen was originally ShouldClose, but was changed. The function's caller was changed to reflect this, but the return value wasn't.
2014-10-17Implemented graceful closing of the GLFW window, along with emulation.archshift2-0/+8
2014-10-12OpenGL renderer: Request a forward compatible context in citra-qtYuri Kunde Schlesner1-3/+0
This should fix context creation on OS X. Also requests a core context on all platforms in Citra-GLFW, for consistency.
2014-10-08Added configuration file system.archshift2-26/+27
Uses QSettings on citra-qt, and inih on citra-cli.
2014-09-12Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman2-33/+37
2014-09-12Initial HID PAD work, with GLFW only.Kevin Hartman1-3/+36
2014-09-01Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner1-1/+0
This should fix the GL loading errors that occur in some drivers due to the use of deprecated functions by GLEW. Side benefits are more accurate auto-completion (deprecated function and symbols don't exist) and faster pointer loading (less entrypoints to load). In addition it removes an external library depency, simplifying the build system a bit and eliminating one set of binary libraries for Windows.
2014-08-20Removed unused citra.harchshift1-1/+0
2014-08-15Bootmanager: changed `filename` to std::stringarchshift1-1/+0
2014-06-12Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift1-0/+5
2014-05-01Fixed indentsarchshift1-7/+7
2014-05-01OpenGL 3+ on OSX with GLFWarchshift1-1/+8
2014-04-09- removed deprecated version.hbunnei2-17/+15
- cleaned up window title - cleaned up emu_window_glfw/emu_window
2014-04-09fixed license headers in citra projectbunnei2-57/+7
2014-04-09fixed project includes to use new directory structurebunnei2-4/+4
2014-04-09got rid of 'src' folders in each sub-projectbunnei2-0/+151