test_opengl_setup

Test OpenGL setup for PicoGL legacy teapot examples.

This script tests OpenGL capabilities without requiring a display, helping diagnose issues with the legacy teapot renderers.

Functions

test_opengl_imports()

Test if OpenGL modules can be imported.

test_opengl_context()

Test if OpenGL context can be created.

test_display_environment()

Test display environment.

test_picogl_imports()

Test if PicoGL modules can be imported.

main()

Main test function.

Module Contents

test_opengl_setup.test_opengl_imports()[source]

Test if OpenGL modules can be imported.

test_opengl_setup.test_opengl_context()[source]

Test if OpenGL context can be created.

test_opengl_setup.test_display_environment()[source]

Test display environment.

test_opengl_setup.test_picogl_imports()[source]

Test if PicoGL modules can be imported.

test_opengl_setup.main()[source]

Main test function.