Docs @ Psychtoolbox Wiki : LoadIdentityClut

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [14102]

Last edited on 2011-07-05 09:14:58 by DocBot
Additions:
If you use Linux and run Matlab or Octave as root user via the "sudo"
command, or if you use OS/X and have the PsychtoolboxKernelDriver loaded
("help PsychtoolboxKernelDriver") and the graphics card is a GPU of the
ATI/AMD Radeon X1000 series or a HD series card (e.g., HD-2000) or a
equivalent model of the FireGL or FirePro series, then this routine will
try to use special low-level setup code for optimal identity mapping.
Otherwise it will just make a best effort to upload a suitable clut, as
follows:


Revision [13488]

Edited on 2010-12-06 12:14:17 by DocBot
Additions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m">beta</a> | view WebSVN <a href=
"http://svn.berlios.de/wsvn/osxptb/trunk/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?op=log">changelog</a> of trunk branch</span>
Deletions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m">beta</a> | view in <a href=
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?view=markup">WebSVN with changelog</a></span>


Revision [11510]

Edited on 2010-09-09 16:08:50 by DocBot
Additions:
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?view=markup">WebSVN with changelog</a></span>
Deletions:
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?view=markup">WebSVN with changelog</a></span>


Revision [9749]

Edited on 2009-10-27 09:41:41 by DocBot
Additions:
==[[Psychtoolbox]] › [[PsychOneliners]]==
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?view=markup">WebSVN with changelog</a></span>
<code>Psychtoolbox/PsychOneliners/LoadIdentityClut.m</code>
Deletions:
==[[src]] › [[Matlab]] › [[toolbox]] › [[Psychtoolbox]] › [[PsychOneliners]]==
"http://svn.berlios.de/svnroot/repos/osxptb/beta/src/Matlab/toolbox/Psychtoolbox/PsychOneliners/LoadIdentityClut.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/src/Matlab/toolbox/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?view=markup">WebSVN with changelog</a></span>
<code>src/Matlab/toolbox/Psychtoolbox/PsychOneliners/LoadIdentityClut.m</code>


Revision [9702]

Edited on 2009-10-27 09:35:44 by DocBot
Additions:
==[[src]] › [[Matlab]] › [[toolbox]] › [[Psychtoolbox]] › [[PsychOneliners]]==
oldClut = LoadIdentityClut(windowPtr [, loadOnNextFlip=0][, lutType=auto])
This mechanism relies on heuristics to detect the exact type of LUT to
upload into your graphics card. These heuristics may go wrong, thanks to
the ever increasing amount of graphics hardware driver bugs in both
Windows and MacOS/X. For that reason you can also use the function
SaveIdentityClut() to manually specify either the type of LUT to use
(overriding the automatic choice), or to specify the complete LUT, or to
capture the current identity LUT of a display that works. That function
will store the override Clut in a per-user, per-GPU, per-[[Screen]] configuration
file. If LoadIdentityClut finds such a matching configuration file, it
will use the LUT specified there, instead of performing an automatic
selection.
The routine optionally returns the old clut in 'oldClut'.
You can restore the old "original" LUT at any time by calling
RestoreCluts, or [[sca]], but only until you call clear all! The original
LUT's are backed up in a global variable for this to work.
"http://svn.berlios.de/svnroot/repos/osxptb/beta/src/Matlab/toolbox/Psychtoolbox/PsychOneliners/LoadIdentityClut.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/src/Matlab/toolbox/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?view=markup">WebSVN with changelog</a></span>
<code>src/Matlab/toolbox/Psychtoolbox/PsychOneliners/LoadIdentityClut.m</code>
Deletions:
==[[Psychtoolbox]] › [[PsychOneliners]]==
oldClut = LoadIdentityClut(windowPtr, [loadOnNextFlip])
The routine returns the old clut in 'oldClut'.
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?view=markup">WebSVN with changelog</a></span>
<code>Psychtoolbox/PsychOneliners/LoadIdentityClut.m</code>


Revision [7321]

Edited on 2008-09-25 17:58:24 by DocBot
Additions:
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of LoadIdentityClut.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychOneliners/LoadIdentityClut.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/LoadIdentityClut.m</code>
</div>
""
Deletions:
%%(php;Path)Psychtoolbox/PsychOneliners/LoadIdentityClut.m%%


Revision [5931]

Edited on 2008-06-22 01:44:37 by DocBot
Additions:
==[[Psychtoolbox]] › [[PsychOneliners]]==
Deletions:
==[[Psychtoolbox]] › PsychOneliners==


Revision [2987]

Edited on 2008-03-21 09:18:40 by DocBot
Additions:
===[[LoadIdentityClut]]===
==[[Psychtoolbox]] › PsychOneliners==
to [[Screen]]('[[Flip]]'). By default, the clut will be loaded immediately or on
%%(php;Path)Psychtoolbox/PsychOneliners/LoadIdentityClut.m%%
Deletions:
===PsychOneliners===

to Screen('Flip'). By default, the clut will be loaded immediately or on

PsychOneliners


Revision [716]

The oldest known version of this page was created on 2008-03-15 10:30:05 by DocBot
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0192 seconds