Test to verify the functionality of the OpenGL backends. This test sets up a real visualization with shaders and all. This tests setting source code, setting texture and buffer data, and we touch many other functions of the API too. The end result is an image with four colored quads. The result is tested for pixel color.

The visualization#

We create a visualization where the screen is divided in 4 quadrants, and each quadrant is drawn a different color (black, red, green, blue). The drawing is done for 50% using attribute data, and 50% using a texture. The end result should be fully saturated colors.

Remember: the bottom left is (-1, -1) and the first quadrant.

Test desktop GL backend for full functionality.

Test es2 GL backend for full functionality.

Test GL proxy class for full functionality.

Test pyopengl GL backend for full functionality.