@grahamsellers
Latest commit b5f8392 Jun 19, 2014 History
Although the test framework supports creation of a core profile context, it nevertheless attempts to execute code requiring legacy features only present in the compatibility profile. These fall into two main categories:

* None of the tests use a vertex array object. For the most part, I've fixed this by just creating and binding a VAO and then leaving it bound for the lifetime of the test. This is not the intended use case and indeed, the tests could be optimized by hoisting vertex definition into the initialization procedure and then only binding the VAO before the draw. That is not the point of these tests though.

* Some of the tests use client data directly. These are some of the MDI tests attempt to use MultiDraw*Indirect sourcing data from client memory, which defeats the point of the API and is illegal in core profiles. Rather than fix the test, I added a flag to IsOpenGL to indicate whether a compatibility profile is needed and modified the test to require a compatibility profile to run. I will add a fixed version of the test that uses a buffer for indirect draws in a follow-on change.
2 contributors

Users who have contributed to this file

@nvMcJohn @grahamsellers