gl/tests: fix shader creation tests
authorMatthew Waters <matthew@centricular.com>
Fri, 7 Jun 2019 10:51:39 +0000 (20:51 +1000)
committerMatthew Waters <matthew@centricular.com>
Fri, 7 Jun 2019 11:14:39 +0000 (11:14 +0000)
commit4fd7a2c783e96e5ebec513f8fd178ba34b2a527f
tree04bf867c3935a6013124767b33da394279095477
parent944396af33f20242b43f46bf45e9dd812da7ddb5
gl/tests: fix shader creation tests

We check the availability of the high precision floats in GLSL shaders
which involves an OpenGL call and thus is required to be executed on the
OpenGL thread.

The tests were not respecting that and could fail on more strict
drivers.

Tests update for 675415bf2ea9ddc75ea5e5b6eae9ae942c19d6dc
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/590
tests/check/libs/gstglheaders.c
tests/check/libs/gstglslstage.c