aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_video.mm
AgeCommit message (Collapse)Author
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
2013-08-06IPHONE: Do not access Surface::pixels directly.Johannes Schickel
2012-10-12IPHONE: Add support for "retina" displays.Johannes Schickel
Thanks to peres for testing this.
2012-10-10IPHONE: Fix cursor artifacts when linear filterting is used.Johannes Schickel
We need to set a proper texture coordinate wrap parameter for this.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
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-05IPHONE: Send dealloc message to iPhoneView's superclass at the end of dealloc.Johannes Schickel
2012-03-05IPOHNE: Move touch related global variables to iPhoneView.Johannes Schickel
2012-03-05IPHONE: Prefix all global variables with "g_".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: Move aspect ratio settings to VideoContext.Johannes Schickel
2012-02-24Merge pull request #197 from phoenixtail26/cleanedARCorrection.Johannes Schickel
This is a manual merge with some conflict fixups. Conflicts: backends/platform/iphone/iphone_video.mm
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-24IPHONE: Add a mouse texture buffer surface to VideoContext.Johannes Schickel
2012-02-23IPHONE: Fix mouse coordinates for hi res games.Johannes Schickel
2012-02-23IPHONE: Move screen and overlay texture buffer to VideoContext.Johannes Schickel
2012-02-23IPHONE: Add a constructor to VideoContext.Johannes Schickel
2012-02-23IPHONE: Add aspect ratio correction to iPhoneGavin Hayler
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 overlay visibility status to VideoContext.Johannes Schickel
2012-02-23IPHONE: Move mouse coordinate conversion code to iPhoneView.Johannes Schickel
2012-02-23IPHONE: Move projection setup code to its own method.Johannes Schickel
2012-02-23IPHONE: Remove some more dead code.Johannes Schickel
2012-02-23IPHONE: Move setFilterModeForTexture to iPhoneView.Johannes Schickel
2012-02-23IPHONE: Slight formatting fix.Johannes Schickel
2012-02-23IPHONE: Fix scale offset addition in the mouse coordinate code.Johannes Schickel
Formerly the overlay and game screen offset was swapped.
2012-02-23IPHONE: Create a struct for shared video context variables.Johannes Schickel
2012-02-22IPHONE: Very minor cleanup.Johannes Schickel
2012-02-22IPHONE: Silence some warnings.Johannes Schickel
2012-02-22IPHONE: Move ObjC code files (.m) to ObjC++ files (.mm).Johannes Schickel