File: kPsychExternalDisplayMethod.m

package info (click to toggle)
psychtoolbox-3 3.0.19.14.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,796 kB
  • sloc: ansic: 176,245; cpp: 20,103; objc: 5,393; sh: 2,753; python: 1,397; php: 384; makefile: 193; java: 113
file content (32 lines) | stat: -rw-r--r-- 1,601 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
function rc = kPsychExternalDisplayMethod
% kPsychExternalDisplayMethod -- Create onscreen window not used for actual visual stimulation.
%
% This flag can be passed to the optional 'specialFlags' parameter of
% Screen('OpenWindow', ...) or PsychImaging('OpenWindow', ...).
%
% It will cause the onscreen window to be marked as not used for actual
% visual stimulation of the subject. Instead some mechanism external to
% Screen() is used for displaying actual stimuli to the test subject. This
% could be a display window driven by the Vulkan/WSI display backend on
% suitable system setups, or some special purpose display hardware with its
% own display SDK, or some VR compositor for certain VR/AR headsets.
%
% This tells Screen() that certain aspects of this window do not matter
% very much, e.g., timing precision, color/contrast precision, etc.,
% because some other entity is responsible to ensure those properties for
% all visual stimuli drawn into this onscreen window, e.g., an external
% VR driver or our PsychVulkan driver.
%
% In practice this means that Screen() can skip certain - otherwise
% essential - calibrations and startup checks, runtime checks, and various
% warning or status messages during startup or runtime of a session,
% because the calibrations are not needed for performing properly and
% failing those checks or calibrations won't matter at all for the success
% of the session, or the status/warning messages would be nothing more than
% distracting or misleading clutter to the experimenter.
%

% This is the numeric constant for this mode:
rc = 2^32;

return;