]> git.cworth.org Git - apitrace-tests/commitdiff
glxsimple: Introduce an inter-frame texture dependency to exercise trim code
authorCarl Worth <cworth@cworth.org>
Wed, 15 Aug 2012 18:16:52 +0000 (11:16 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 1 Dec 2012 10:15:49 +0000 (10:15 +0000)
The previous glxsimple program was too simple as each frame was
entirely self-contained, (textures were created, initialized, and
referenced only within single frames).

For more realistic trimming, we create and initialize a texture in one
frame, then reference that texture in a later frame. This is a better
test to ensure that when trimming the first frame the texture creation
and initialization is not discarded.


No differences found