summaryrefslogtreecommitdiffstats
path: root/video/out/gl_cocoa.c
Commit message (Collapse)AuthorAgeFilesLines
* gl_common: split into platform specific fileswm42013-03-281-0/+67
Do this instead of stuffing all x11/cocoa/win32/wayland specific code into gl_common.c. The cocoa specific parts could probably go directly into cocoa_common.m, possibly same with wayland. Also redo how the list of backends is managed. Get rid of the GLTYPE_ constants. Instead of having a big switch() on GLTYPE_, each backend entry has a function pointer to setup the MPGLContext callback (e.g. mpgl_set_backend_x11()).