Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gl_common: complete mp_msg conversion | wm4 | 2013-09-12 | 1 | -2/+2 |
| | | | | Hopefully this works on Wayland and Cocoa, which I didn't test. | ||||
* | gl_32: mp_msg conversion | Alexander Preisinger | 2013-09-11 | 1 | -9/+7 |
| | |||||
* | video/out: introduce vo_control for gl_common based VOs | wm4 | 2013-05-26 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | Instead of having separate callbacks for each backend-handled feature (like MPGLContext.fullscreen, MPGLContext.border, etc.), pass the VOCTRL responsible for this directly to the backend. This allows removing a bunch of callbacks, that currently must be set even for optional/lesser features (like VOCTRL_BORDER). This requires changes to all VOs using gl_common, as well as all backends that support gl_common. Also introduce VOCTRL_CHECK_EVENTS. vo.check_events is now optional. VO backends can use VOCTRL_CHECK_EVENTS instead to implementing check_events. This has the advantage that the event handling code in VOs doesn't have to be duplicated if vo_control() is used. | ||||
* | gl_common: split into platform specific files | wm4 | 2013-03-28 | 1 | -0/+218 |
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()). |