]> git.cworth.org Git - apitrace/commit
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)
commit6ad9d816975cf8ee94da166e95082b757ff78d49
treed9f0ab87142865e462dc4c203c28f39bc989c8cb
parent6e57af89424041f13fbaa519d15deba4aa6d523f
trim: Don't consider a SwapBuffers call has having no side effects

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.
cli/trace_analyzer.cpp