summaryrefslogtreecommitdiffstats
path: root/src/citra/emu_window (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move screen size constants from video_core to coreYuri Kunde Schlesner2017-05-281-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.
* InputCommon: add Keyboardwwylele2017-03-012-21/+6
|
* Gui: Change title bar to include build nameJames Rowe2017-02-231-2/+2
| | | | | Nightly builds now have "Citra Nightly" in the titlebar Bleeding edge builds now have "Citra Bleeding Edge" in the titlebar
* Frontend: emulate motion sensorwwylele2016-12-262-7/+20
|
* core: Move emu_window and key_map into coreMerryMage2016-12-232-2/+2
| | | | * Removes circular dependences (common should not depend on core)
* Support additional screen layouts.James Rowe2016-11-051-4/+1
| | | | | Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-212-8/+1
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-192-2/+3
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-182-12/+18
|
* config: Add a setting for graphics V-Sync.bunnei2016-08-301-0/+1
|
* Refactor input subsystemwwylele2016-05-151-3/+4
|
* Frontends, VideoCore: Move glad initialisation to the frontendEmmanuel Gil Peyrot2016-05-061-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.
* SDL2: Explicitly use RGB8 color buffer.bunnei2016-03-151-0/+4
|
* Dependencies: Remove GLFW, Add SDL2MerryMage2016-03-024-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
* Increase required OpenGL version to 3.3Yuri Kunde Schlesner2015-08-301-1/+1
| | | | | This gives us several niceties such as Sampler Objects, shader attribute locations and Timer Queries.
* Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner2015-08-301-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.
* Move input values into an arrayJames Rowe2015-07-281-26/+3
|
* Citra: Fix the includes a bit, thanks to include-what-you-use.Emmanuel Gil Peyrot2015-06-282-0/+14
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-1/+1
|
* EmuWindow: Clip mouse input coordinates to emulated screen dimensions.Zaneo2015-05-021-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.
* HID: Complete refactor of pad/touch input to fix threading issues.bunnei2015-03-111-11/+6
|
* EmuWindow: Made pad/touch functions non-static.bunnei2015-03-101-13/+14
|
* GLFW: Implemented EmuWindow touchpad support.bunnei2015-03-102-0/+26
|
* Set framebuffer layout from EmuWindow.bunnei2015-03-071-9/+2
|
* Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.Emmanuel Gil Peyrot2015-02-221-0/+10
|
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-111-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.
* Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift2015-01-211-17/+17
|
* License changepurpasmart962014-12-212-2/+2
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-131-8/+8
|
* Change NULLs to nullptrs.Rohit Nirmal2014-12-031-3/+3
|
* GLFW: Add an error callback before calling glfwInit()Emmanuel Gil Peyrot2014-11-301-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().
* Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2014-11-191-2/+2
|
* citra GLFW: Ignore minimal window size hints.Tony Wasserka2014-11-181-8/+2
| | | | GLFW provides no proper support for this, hence we just allow any window size to be used.
* EmuWindow: Remove window title getters/setters.Tony Wasserka2014-11-181-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.
* EmuWindow: Add support for specifying minimal client area sizes.Tony Wasserka2014-11-182-0/+23
|
* Fixup EmuWindow interface and implementations thereof.Tony Wasserka2014-11-182-20/+44
|
* Viewport scaling and display density independenceKevin Hartman2014-11-182-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.
* Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-261-4/+4
| | | | This was automated using `clang-modernize`.
* emu_window_glfw.cpp: Fixed graceful quittingarchshift2014-10-191-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.
* Implemented graceful closing of the GLFW window, along with emulation.archshift2014-10-172-0/+8
|
* OpenGL renderer: Request a forward compatible context in citra-qtYuri Kunde Schlesner2014-10-121-3/+0
| | | | This should fix context creation on OS X. Also requests a core context on all platforms in Citra-GLFW, for consistency.
* Added configuration file system.archshift2014-10-082-26/+27
| | | | Uses QSettings on citra-qt, and inih on citra-cli.
* Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman2014-09-122-33/+37
|
* Initial HID PAD work, with GLFW only.Kevin Hartman2014-09-121-3/+36
|
* Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner2014-09-011-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.
* Bootmanager: changed `filename` to std::stringarchshift2014-08-151-1/+0
|
* Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift2014-06-121-0/+5
|
* Fixed indentsarchshift2014-05-011-7/+7
|
* OpenGL 3+ on OSX with GLFWarchshift2014-05-011-1/+8
|
* - removed deprecated version.hbunnei2014-04-092-17/+15
| | | | | - cleaned up window title - cleaned up emu_window_glfw/emu_window
* fixed license headers in citra projectbunnei2014-04-092-57/+7
|
* fixed project includes to use new directory structurebunnei2014-04-092-4/+4
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-092-0/+151