]> git.cworth.org Git - apitrace/commitdiff
trim: Don't consider a SwapBuffers call has having no side effects
authorCarl Worth <cworth@cworth.org>
Sat, 16 Feb 2013 01:15:53 +0000 (17:15 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 12 Apr 2013 20:25:13 +0000 (13:25 -0700)
I can't justify why I ever added this code. I can only guess that I was
trying to get qapitrace to not show frame markers for frames that had
largely been trimmed.

Anyway, the code is wrong. SwapBuffers call obviously have significant
side effects. And the effect I was trying to achieve is already well
satisified by the change in 2f0d1a3244c8953a4468759ac466b80c4965d38f
that will trim a SwapBuffers call when --trim-spec=drawing is in
force.


No differences found