[Mesa-dev] [PATCH] i965: Fast texture upload now supports all levels

Courtney Goeltzenleuchter courtney at lunarg.com
Mon Oct 14 20:47:33 CEST 2013


On Mon, Oct 14, 2013 at 12:43 PM, Chad Versace <chad.versace at linux.intel.com
> wrote:

> On 10/14/2013 10:54 AM, Eric Anholt wrote:
>
>> Courtney Goeltzenleuchter <courtney at lunarg.com> writes:
>>
>>  Does anyone know of a test that measures frame 0 time? Or texture upload
>>> speed?
>>>
>>> For Smokin' Guns, I tried measuring the overall time, but an improved
>>> frame
>>> 0 time has difficulty standing out of a 2607 frame test.
>>>
>>> I may have to create something. Suggestions for an appropriate framework?
>>>
>>
>> Run an apitrace replay on a trace trimmed to frame <whenever the
>> textures are first used>?  Sure, apitrace isn't real-world benchmarking
>> for fps, but it should get at the "how much did we cut off of load
>> time", assuming that texture load time isn't swamped by apitrace
>> decompression.
>>
>
> I believe Frank has a microbenchmark for measuring texture
> upload time. Maybe he can share it with us. But, data obtained from real
> apps is always preferred.
>
>
Frank referenced mesa demos teximage as his benchmark. Right now that only
does level 0 and a small selection of texture formats. I thought I'd take a
look at extending it to cover the added formats from my patches.

I like the apitrace idea as well, that ties it (loosely) to a real app.

Thanks for the suggestions folks!
Courtney


-- 
Courtney Goeltzenleuchter
LunarG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131014/3e1ffa19/attachment.html>


More information about the mesa-dev mailing list