iauns / cpm-gl-batch-testing

Utilities for batch testing OpenGL rendering code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cpm-gl-batch-testing

Build Status

An CPM module holding various resources for batch testing OpenGL and Spire based modules.

Usage

GlobalTestEnvironment

#include <batch-testing/GlobalTestEnvironment.hpp>

Global test environment derived from gtests's ::testing::Environment. Sets up BatchEnvironment for every one of your tests.

Examples

See the unit tests for https://github.com/iauns/cpm-arc-ball for an example on how to use this class.

BatchEnvironment

#include <batch-testing/BatchEnvironment.hpp>

Used to generate a batch rendering context and framebuffer. Has utility functions to write out FBO to a PNG file. See documentation

Spire Test Fixture

#include <batch-testing/SpireTestFixture.hpp>

GTest test fixture that initializes Spire. See documentation.

About

Utilities for batch testing OpenGL rendering code

License:MIT License


Languages

Language:C++ 99.1%Language:Shell 0.9%