~ubuntu-branches/ubuntu/trusty/psychtoolbox-3/trusty-proposed

« back to all changes in this revision

Viewing changes to PsychSourceGL/Source/Common/Screen/ScreenTypes.h

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-11-19 23:34:50 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20131119233450-f7nf92vb8qavjmk8
Tags: 3.0.11.20131017.dfsg1-3
Upload to unsable since fresh glew has arrived to sid!

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
// by default on GPU's which support it:
248
248
#define kPsychDontAutoEnableImagingPipeline (1 << 24)
249
249
 
 
250
// Use old-style setup of the override_redirect flag for Linux X11 windows, as it was done until end of 2012?
 
251
#define kPsychOldStyleOverrideRedirect (1 << 25)
 
252
 
 
253
// Force use of native beamposition query mechanism instead
 
254
// of our own homegrown solution, or no beampos query at all:
 
255
// At least OSX 10.8.x is so broken that our own implementation
 
256
// is always the better choice going forward. On Intel and AMD,
 
257
// OSX native method is unsupported, on all platforms it is
 
258
// deprecated. On NVidia when it "works", it is more noisy,
 
259
// higher overhead and always slightly buggy. On NVidia with
 
260
// at least GeForce-600 series and OSX 10.8, it is utterly
 
261
// broken on anything but analog VGA CRT monitors.
 
262
// This option allows to enforce use of the broken OSX
 
263
// implementation, e.g., for testing or comparison purposes.
 
264
#define kPsychForceUseNativeBeamposQuery (1 << 26)
 
265
 
250
266
//function protoptypes
251
267
 
252
268
//Accessors for PsychDepthType 
254
270
int                                     PsychGetNumDepthsFromStruct(PsychDepthType *depth);
255
271
int                                     PsychGetValueFromDepthStruct(int index, PsychDepthType *depth);
256
272
void                            PsychAddValueToDepthStruct(int value, PsychDepthType *depth);
257
 
psych_bool                              PsychIsMemberDepthStruct(PsychDepthType *depth, PsychDepthType *depthSet);
 
273
psych_bool                      PsychIsMemberDepthStruct(PsychDepthType *depth, PsychDepthType *depthSet);
258
274
void                            PsychCopyDepthStruct(PsychDepthType *toDepth, PsychDepthType *fromDepth);
259
275
 
260
276
// Useless function, always returns RGBA mode, the only one we support.