vispy.gloo.tests.test_program module

class vispy.gloo.tests.test_program.DummyCanvas

Bases: object

class vispy.gloo.tests.test_program.DummyParser

Bases: vispy.gloo.glir.BaseGlirParser

parse(commands)

Parse the GLIR commands. Or sent them away.

property shader_compatibility

Whether to convert shading code. Valid values are ‘es2’ and ‘desktop’. If None, the shaders are not modified.

class vispy.gloo.tests.test_program.ProgramTest(methodName='runTest')

Bases: unittest.case.TestCase

test_attributes()
test_draw()
test_error()
test_init()
test_setting_shaders()
test_uniform()
test_varyings()
test_vbo()