gltransformation: rewrite the inverse transformation logic
authorMatthew Waters <matthew@centricular.com>
Fri, 19 Aug 2016 05:35:49 +0000 (15:35 +1000)
committerMatthew Waters <matthew@centricular.com>
Fri, 19 Aug 2016 06:09:04 +0000 (16:09 +1000)
commit9d66a3447f6398c278c73850eb476db8668a3b28
treeafbe2f7ee72efc025499784df5d39f7b08347ad4
parent306e6105471bca8006aeda437ea0adc2ab02a197
gltransformation: rewrite the inverse transformation logic

It now returns the correct values for both orthographic and perspective
projections and takes into account the aspect ratio of the video, handles
the Y-flipping in GL and by us and uses some more helpers from graphene.
ext/gl/gstgltransformation.c
ext/gl/gstgltransformation.h