File: kPsychDontUseFlipperThread.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 (19 lines) | stat: -rw-r--r-- 984 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function rval = kPsychDontUseFlipperThread
% rval = kPsychDontUseFlipperThread
%
% This flag can be passed to the optional 'specialFlags' parameter of
% Screen('OpenWindow', ...) or PsychImaging('OpenWindow', ...), and is
% used internally by PsychImaging for some use-cases.
%
% It prevents conventional use of Screen's internal background flipper thread
% and thereby disables all use-cases and functionality that requires the thread,
% e.g., some modes of fine-grained visual stimulus presentation timing via VRR,
% our own homegrown frame-sequential stereo modes (stereoMode 11), and the async
% flip function Screen('AsyncFlipBegin/Check/End').
%
% The flag will be often used for interoperation with external presentation
% backends, e.g., Virtual Reality / Augmented Reality / Mixed Reality runtimes
% like OpenXR for stimulus presentation by a VR compositor. Other applications
% are conceivable, but OpenXR is the initial target application of this flag.
rval = 2^34;
return