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

Dan McCabe zen3d.linux at gmail.com
Fri Jun 8 11:34:07 PDT 2012


On 06/08/2012 11:26 AM, Eric Anholt wrote:
> 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.
Will do. Thanks for the feedback.


More information about the apitrace mailing list