gstreamer/tests
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
..
check gl/utils: Fix NDC conversion matrices for column-majorness 2018-06-06 23:36:08 +10:00
examples examples: gl: subdirs can be built independently in parallel 2018-05-13 23:33:14 +01:00
files tests: add test to check discoverer return code for missing plugins case 2012-03-03 13:54:53 +00:00
icles meson: port tests/icles 2018-04-12 15:08:29 +02:00
Makefile.am tests: add small unit test for AC3 vs. JPEG typefinding issue 2010-06-05 17:24:45 +01:00
meson.build meson: Update option names to omit disable_ and with- prefixes 2018-05-05 20:30:52 +05:30