[PATCH 7/7] Display thumbnails only for calls that draw something

Eric Anholt eric at anholt.net
Fri Jun 8 11:26:58 PDT 2012


On Thu,  7 Jun 2012 16:41:56 -0700, Dan McCabe <zen3d.linux at gmail.com> wrote:
> Rather than accumulate all thumbnails that attempt to be drawn, this patch
> filters out all calls that don't draw anything.
> 
> The calls that draw selected are a superset of the calls that
> SettingsDialog initializes and which is displayed by the dialog box opened
> with "Trace | Options". There, the following calls are selected:
>      glDraw
>      glVertex
>      glBegin
>      glEnd
> 
> To this collection of calls, this patch also selects thumbnails for:
>    glClear
>    glCallList
> since the latter may result in drawing by a display list.

glBlitFramebuffer and glCopyPixels should probably be in that list, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20120608/95338fa6/attachment.pgp>


More information about the apitrace mailing list