File: kPsychNeedFinalizedFBOSinks.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 (18 lines) | stat: -rw-r--r-- 923 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function rval = kPsychNeedFinalizedFBOSinks
% rval = kPsychNeedFinalizedFBOSinks
%
% Return a flag that you can pass to the 'imagingmode' parameter of
% Screen('OpenWindow') in order to tell Screen's imaging pipeline that
% the final output image - after all post-processing - should not be
% written to the onscreen windows OpenGL system backbuffer for presentation
% in the onscreen window/on the onscreen windows associated display
% device. Instead it should be written to an OpenGL framebuffer object,
% more specifically to a non-power of two GL_TEXTURE_2D OpenGL texture
% attached to that OpenGL framebuffer object. The resulting OpenGL texture
% can then be used as a source image for further processing or display by
% non-standard display sinks, e.g., by the VR compositor of a Virtual Reality
% head mounted display, or some highly specialized non-standard proprietary
% display hardware.
%
rval = 2^20;
return