applemedia: refactor GL context code
authorAlessandro Decina <alessandro.d@gmail.com>
Fri, 29 Jan 2016 04:07:59 +0000 (15:07 +1100)
committerAlessandro Decina <alessandro.d@gmail.com>
Fri, 29 Jan 2016 04:10:32 +0000 (15:10 +1100)
commit045a9358712118982fcfe382e2860b29be4d7086
tree728daa77d106cf5735c93883020c06eacefcbba0
parent0891b90111aa8749c8ab08bab180e8bd3ff083dd
applemedia: refactor GL context code

Rework the GL context code. Now both avfvideosrc and vtdec can create an
internal GL context for pushing textures. Both elements will still try to
use/switch to a local context where available (including after RECONFIGURE
events).
sys/applemedia/Makefile.am
sys/applemedia/avfvideosrc.m
sys/applemedia/glcontexthelper.c [new file with mode: 0644]
sys/applemedia/glcontexthelper.h [new file with mode: 0644]
sys/applemedia/vtdec.c
sys/applemedia/vtdec.h