/usr/share/psychtoolbox-3/PsychGLImageProcessing/kPsychUse32BPCFloatAsap.m is in psychtoolbox-3-common 3.0.14.20170103+git6-g605ff5c.dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | function rval = kPsychUse32BPCFloatAsap
% rval = kPsychUse32BPCFloatAsap
%
% Return a flag that you can pass to the 'imagingmode' parameter of
% Screen('OpenWindow') in order to request support for internal
% framebuffers that store color information with 32 bits per color
% component in floating point format if this is supported by the graphics
% hardware without any restrictions.
%
% If you hardware is able to support all its functions (especially
% framebuffer blending) without restrictions then all framebuffers will be
% configured to 32 bpc precision. This should be the case on ATI Radeon HD
% 2000 and NVidia Geforce 8000 hardware. On older hardware, which is limited
% in its functionality when using 32 bpc framebuffers (e.g., the very
% useful framebuffer blending doesn't work), PTB will allocate a lower
% precision 16 bpc float framebuffer as initial framebuffer for user code
% drawing. All further processing of the content of that 16 bpc framebuffer
% will be carried out using 32 bpc precision framebuffers.
%
% This function is a workaround for old hardware. If you intend to do lots
% of serious work with HDR imagery or high contrast precision displays, do
% yourself a favor and buy a current generation graphics card.
%
rval = 4096;
return
|