gltransformation: use the affine transformation meta if available downstream
authorMatthew Waters <matthew@centricular.com>
Sat, 14 May 2016 13:32:06 +0000 (16:32 +0300)
committerMatthew Waters <matthew@centricular.com>
Sat, 14 May 2016 13:35:29 +0000 (16:35 +0300)
commit7507b14dcd8302fcbedd9561c588ac5f44e2038f
tree421e7314450e3a7ac22c87bc2b7544e124b4a65f
parent799efcb1332167fbd1cecfa478138655c1cc13f0
gltransformation: use the affine transformation meta if available downstream

We can avoid a render pass if downstream supports the affine transformation meta
and increase the performance of some pipelines involving gltransformation.

Implemented by checking for the affine transformation in the allocation query
from downstream and combining our matrix with that of upstream's (or creating
our own).
ext/gl/gstgltransformation.c
ext/gl/gstgltransformation.h