summaryrefslogtreecommitdiffstats
path: root/video/out/android_common.h
Commit message (Collapse)AuthorAgeFilesLines
* vo: change vo_platform_init to boolDudemanguy2023-01-081-1/+1
| | | | | | | | There's several functions that are used for initializing mpv on a certain platform (x11, wayland, etc.). These currently are all int, but they actually return 1 and 0 like a boolean. This gets a bit confusing because actual vo preinit functions return 0 and -1 instead. Just make these all bool instead and return true/false to make it clearer.
* context_android: move common code to a separate filesfan52019-09-271-0/+29
In preparation for a Vulkan Android context. This also replaces querying for EGL_WIDTH and EGL_HEIGHT with equivalent ANativeWindow calls.