begun rewrite of new eglvivsink

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: cleanup & fixes (esp. glGetShaderiv <-> glGetProgramiv)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: disabled debug code

previously observed vertex&index buffer data corruption disappeared
still keeping the code around for verification purposes

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: use full propose_allocation code

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: removed old poll code

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: fixed race condition in egl x11 platform code

expose, set_event_handling etc. might be called while the window is being
initialized

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: changed renderer mutex no longer recursive

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: gles2 code cleanup + workaround for strange (driver?) bug

* indices made no sense with only 4 vertices
* need to call glBufferData() twice, otherwise vertex data is corrupted

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: enabled event handling as default

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: added support for preserving aspect ratio

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

with some mpeg2 videos, the picwidth/height values from the initinfo
struct weren't automatically aligned

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: changed background color from blue to black

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink2: renamed to replace old eglvivsink

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink: added fullscreen property

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink: added misc checks & logging

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