Docs @ Psychtoolbox Wiki : MakeTextureTimingTest2

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

MakeTextureTimingTest2

PsychtoolboxPsychTests

MakeTextureTimingTest2([screenid][,width][,height][,channels][,nSamples][,preload]);

Test creation timing of a texture of specific 'width' x 'height' size with
'channels' color channels (1=Luminance, 2=Luminance+Alpha, 3=RGB,
4=RGBA).

All parameters are optional: Defaults are width x height = 1024 x 1024,
channels = 4 (RGBA), screenid = max id.

Performs 1000 sampling runs, shows average duration.

Each run creates a new texture via Screen('MakeTexture'), then preloads
it onto the graphics card to measure that aspect as well, then deletes
the texture again. This test will give you rather "worst case" or
upper-bound numbers on texture management time. In many cases, processing
of textures of similar size will be faster due to all kinds of internal
optimizations. Your mileage may vary (TM), but it provides a rough
impression at least.

see also: PsychTests




Path   Retrieve current version of MakeTextureTimingTest2.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychTests/MakeTextureTimingTest2.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0466 seconds