summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/mpvadapter.h
Commit message (Collapse)AuthorAgeFilesLines
* cocoa: post keydown and keyup events without event monitorStefano Pigozzi2014-10-091-0/+1
| | | | | Our code worked under the assumption that the event monitor is always active and we did remove the keydown and keyup overrides from our cocoa view.
* cocoa: move to a simpler threading modelStefano Pigozzi2014-10-041-1/+2
| | | | | | | | | | | | | | Unfortunately using dispatch_sync for synchronization turned out to be really bad for us. It caused a wide array of race conditions, deadlocks, etc. Moving to a very simple mutex. It's not clear to me how to do liveresizing with this, for now it just flickers with is unacceptable (maybe I'll draw black instead). This should fix all the threading cocoa bugs. Reopen if it's not the case! Fixes #751 Fixes #1129
* vo_opengl, cocoa: allow to autoselect a color profileStefano Pigozzi2014-03-311-0/+1
| | | | | | | | | | | | | This commit adds support for automatic selection of color profiles based on the display where mpv is initialized, and automatically changes the color profile when display is changed or the profile itself is changed from System Preferences. @UliZappe was responsible with the testing and implementation of a lot of this commit, including the original implementation of `cocoa_get_icc_profile_path` (See #594). Fixes #594
* cocoa: remove dead codeStefano Pigozzi2014-01-211-1/+0
| | | | This became dead code in commit 3f594c2e.
* cocoa: handle files drag and drop on the player video viewStefano Pigozzi2014-01-041-0/+1
|
* cocoa: use window-scale to support video scaling functionalityStefano Pigozzi2013-11-221-0/+1
| | | | | In the cocoa backend you can use cmd+0/1/2 to scale the window. This commit makes it use the new window-scale functionality.
* cocoa_common: split the code, refactoring and cleanupsStefano Pigozzi2013-09-281-0/+32
Split the code to several files. The GUI elements now each have they own files and private state. The original code was a mess to respect the retarded mplayer convention of having everything in a single file. This commit also seems to fix the long running bug of artifacts showing randomly when going fullscreen using nVidia GPUs.