summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/video_view.m
Commit message (Collapse)AuthorAgeFilesLines
* cocoa: remove OpenGL cocoa backendder richter2023-11-101-51/+0
| | | | | | the OpenGL cocoa backend was deprecated in 0.29, it has lot of bugs, is completely unmaintained and can't properly playback anything anymore on the newest macOS. it is time to remove it.
* mac: remove runtime checks and compatibility for macOS older than 10.15der richter2023-11-091-1/+0
| | | | | we stopped supporting macOS older than 10.15 and hence can remove all the unnecessary runtime checks and compatibility layers.
* osx: change license header on some more cocoa fileswm42017-06-241-7/+7
| | | | Changing the headers was actually forgotten in the previous commit.
* cocoa: set background of the title bar from black to whiteAkemi2017-03-091-0/+2
| | | | | | | | | | | | due to the see-through nature of the title bar and our standard black window background, the title bar appears dark grey opposed to the expected light grey. we change the window background to white but at the same time set the background of the enclosed view to black. that way the title bar has a white background and the background of our video stays black in all cases. this prevents white flashing in some cases when the video is resized with too heavy render settings.
* cocoa: cosmetic fixesAkemi2016-12-161-1/+2
|
* cocoa: reintroduce async resizeStefano Pigozzi2014-10-181-0/+6
| | | | | | | After removing synchronous libdispatch calls, this looks like it doesn't deadlock anymore. I also experimented with pthread_mutex_trylock liek wm4 suggested, but it leads to some annoying black flickering. I will fallback to that only if some new deadlocks are discovered.
* cocoa: allow to embed into an arbitrary NSViewStefano Pigozzi2014-10-081-0/+5
| | | | | Basically add if guards on all the problematic features. I'm still thinking about a better way to handle this, but for the time being, this will do.
* cocoa: separate video view and events viewStefano Pigozzi2014-10-051-0/+38