]> git.cworth.org Git - apitrace-tests/commit
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)
commit775a8790750a28d7c39cd1ff54f62b90edc8ad2d
tree7ed6f429a854e0781de9390828d083eb83510063
parent9959d37f389caf62a4869de0e9fd25af98f716ca
glxsimple: Introduce an inter-frame texture dependency to exercise trim code

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.
cli/src/glxsimple.c
trim_stress/glxsimple.trace