]> git.cworth.org Git - apitrace/commit
trim: Trim swapbuffers calls when --trim-spec=drawing
authorCarl Worth <cworth@cworth.org>
Fri, 16 Nov 2012 20:41:52 +0000 (12:41 -0800)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 6 Feb 2013 15:46:20 +0000 (15:46 +0000)
commit2f0d1a3244c8953a4468759ac466b80c4965d38f
treef04404023b6f0c80bd5d86b50793971f43ab4cbe
parent25fe524415ade86b96e5d260134fab7de587b227
trim: Trim swapbuffers calls when --trim-spec=drawing

Previously, the SwapBuffers calls were only getting trimmed if
--trim-spec included "no-side-effects". It was counter-intuitive that
a trim-spec of "drawing" alone would leave all the SwapBuffers calls
in place. So catch them under this trim-spec as well.
cli/trace_analyzer.cpp