Copied eglglessink from gst-plugins-bad 1.0.9 as base for modifications

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglglessink: fixed compiler warnings

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Renamed eglglessink to eglvivsink

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink: modified sink to use direct textures when possible

if incoming frames are stored in DMA memory, then glTexDirectVIVMap
can draw them directly without a memory copy, making it possible
to play smooth 1080p with it

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>