gstreamer/tests/check
Matthew Waters e4bf9ed8f0 gl/utils: Fix NDC conversion matrices for column-majorness
The matrices were converting the wrong values with non-diagonal-only matrices.
e.g. a typical yflip matrix in [-1,1]^3 such as
 1  0  0  0
 0 -1  0  0
 0  0  1  0
 0  0  0  1

Would have actually required a matrix like this in [0,1]^3
 1  0  0  0
 0 -1  0  0
 0  0  1  0
 0 -2  0  1

Which is
1. not consistent with our multiplication convention and would require
   transposing matrices or changing our multiplication order (from what is
   generally used on opengl matrix guides/tutorials).
2. Produces incorrect values when input with actual vertices accounting for
   the difference in multiplication order.  e.g. some vertices multiplied by
   the yflip matrix using vertex * yflip(== transpose(yflip) * vertex):

     vertex:       -> result:           expected:
     vec4(1,0,1,1) -> vec4(1,-2,1,1)    vec4(1,1,1,1)
     vec4(1,1,1,1) -> vec4(1,-3,1,1)    vec4(1,0,1,1)

With the updated values, we now get the expected values.

Includes a test for this behaviour and the example above
2018-06-06 23:36:08 +10:00
..
elements subparse: support for more than 32 unclosed markup tags 2018-05-12 17:05:06 +01:00
generic valgrind suppressions: ignore XInitThreads leaks 2018-04-12 19:08:41 +02:00
gst tests: typefindfunctions: fix error leaks 2015-10-23 11:48:47 +03:00
libs gl/utils: Fix NDC conversion matrices for column-majorness 2018-06-06 23:36:08 +10:00
pipelines tests: include config.h and don't include unix headers 2018-01-16 18:14:59 +00:00
.gitignore
gst-plugins-base.supp tests: make getaddrinfo suppression more generic 2018-04-13 01:23:38 +01:00
Makefile.am glformat: add test for formats 2018-05-05 21:29:40 +10:00
meson.build meson: Update option names to omit disable_ and with- prefixes 2018-05-05 20:30:52 +05:30