aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_video.h
AgeCommit message (Collapse)Author
2016-01-07IPHONE: Make includes match our style.Johannes Schickel
2014-06-05IPHONE: Scale input according to content scale factor.Johannes Schickel
This hopefully fixes input positions in retina devices. The idea is stolen from QT: https://qt.gitorious.org/qt/qt/source/0726127285413829f58618b5b82fb3e2da0c3a74:src/plugins/platforms/uikit/quikitwindow.mm#L261-296 Complicated way to retrieve scale's return value properly is taken from: https://stackoverflow.com/questions/3130464 We sadly can't use the cleaner solution since we don't want to require a newer SDK...
2014-02-18IPHOME: Make GPL headers consistent in themselves.Johannes Schickel
2012-04-02IPHONE: Use InternalEvent directly.Johannes Schickel
2012-04-02IPHONE: Move event fetching implementation to iPhoneView.Johannes Schickel
2012-04-02IPHONE: Protect access to the event list via a mutex.Johannes Schickel
2012-04-02IPHONE: Use Common::List to store the event queue.Johannes Schickel
2012-03-05IPOHNE: Move touch related global variables to iPhoneView.Johannes Schickel
2012-02-26IPHONE: Let hi-color games directly draw onto the screen texture buffer.Johannes Schickel
This avoids an unecessary copying step from the framebuffer to the texture buffer.
2012-02-24IPHONE: Only update on screen mouse coordinates when it's needed.Johannes Schickel
2012-02-24IPHONE: Cleanup mouse cursor handling slightly.Johannes Schickel
Now the scaling etc. will be precalculated instead of being done on every frame.
2012-02-24IPHONE: Clean up mouse texture coordinate handling.Johannes Schickel
2012-02-24IPHONE: Move some global variables to iPhoneView.Johannes Schickel
2012-02-23IPHONE: Let iPhoneView and OSystem_IPHONE share the same VideoContext.Johannes Schickel
This allows for better sharing between the current video state in the view and the OSystem implementation. This also gets rid of most C interface functions for calling ObjC code.
2012-02-23IPHONE: Move VideoContext definition to iphone_common.h.Johannes Schickel
2012-02-23IPHONE: Remove some more dead code.Johannes Schickel
2012-02-23IPHONE: Create a struct for shared video context variables.Johannes Schickel
2012-02-22IPHONE: Use #include instead of #import.Johannes Schickel
2012-02-22IPHONE: Implement setShakeOffset.Johannes Schickel
This should fix bug #3374656 "IPHONE: setShakePos not implemented".
2012-02-21IPHONE: Rewrite video screen rotation.Johannes Schickel
Now it should be a little bit more sane. Formerly the width and height was swapped in rotation mode, which resulted in the x coordinate falling into the range 0..height in landscape mode for example. This also fixes the cursor offset in the modern theme.
2012-02-20IPHONE: Precalculate vertex/tex coordinates for game screen/overlay.Johannes Schickel
2012-02-20IPHONE: Rename _backing[Width,Height] to _renderBuffer[Width,Height].Johannes Schickel
2012-02-20IPHONE: Refactor event code a bit.Johannes Schickel
Now mouse x/y coordinates are passed as int.
2012-02-20IPHONE: Remove some unused variables.Johannes Schickel
2012-02-20IPHONE: Add support for unfiltered upscaling.Johannes Schickel
2012-02-19IPHONE: Use include instead of import for all of our headers.Johannes Schickel
2012-02-19IPHONE: Add include guards.Johannes Schickel
2012-02-19IPHONE: Formatting fixes.Johannes Schickel
2011-06-05IPHONE: Fixed a COMI crash and some minor gfx glitchesOystein Eftevaag
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-09-29IPHONE: The overlay will now always be in the native device resolutionOystein Eftevaag
svn-id: r52939
2010-06-03We'll now default to non-touchpad mode on the iPadOystein Eftevaag
svn-id: r49403
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-09Converted the iPhone backend to use OpenGL ES instead of CoreSurface for ↵Oystein Eftevaag
graphics output svn-id: r40403
2009-02-15Compatibility fixes for the official iPhone SDKOystein Eftevaag
svn-id: r38280
2009-02-15Merged revisions 36329, 38212, 38226and 38234 from branch-0-13-0 to trunk: ↵Oystein Eftevaag
iPhone backend updates svn-id: r38240
2008-07-27The iPhone backend is now (mostly) up to speed again, and works for firmware 2.0Oystein Eftevaag
svn-id: r33326
2008-01-02(forward-port) Quick swipes across the screen now triggers arrow key events. ↵Oystein Eftevaag
Also, some mouse cursor fixes for landscape mode svn-id: r30134
2007-11-25Suspend ScummVM when the button is hit (or a call is received), putting it ↵Oystein Eftevaag
in a sleep loop until it's resumed svn-id: r29633
2007-11-24Now always sending a mouse-moved event before a click (some engines don't ↵Oystein Eftevaag
update the mouse position on click events, it seems). Also added a workaround for an event not always being received when the secondary finger is lifted from the touchscreen. svn-id: r29629
2007-11-18Implemented soft keyboard support, and added a workarond for engines that ↵Oystein Eftevaag
can't handle mouse-down and mouse-up events coming in two subsequent calls to pollEvent() svn-id: r29557
2007-11-17Implemented portrait mode, fixed a few issues with the dirty rects handling, ↵Oystein Eftevaag
fixed some cursor positioning issues, and redirecting stdout and stderr to a log file when ScummVM is launched from the Springboard svn-id: r29541
2007-11-13Initial commit of the iPhone/iPod Touch backendOystein Eftevaag
svn-id: r29488