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:
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>
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>
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>
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>
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%%
Additions:
==[[Psychtoolbox]] › [[PsychOneliners]]==
Deletions:
==[[Psychtoolbox]] › PsychOneliners==
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