Update Psychtoolbox/PsychTests/BeampositionTest.m

improve argument checks and the prettify / label the plot output
SetAnaglyphStereoParameters: Make overlay setup slightly less broken.

It's still pretty broken for anything but stereomodes 4-9, but at least
those work, sort of. Doing this properly would require a much less
simple approach.
Make imaging pipeline display compatible with panelfitter scaled modes.

Modified setup code in BitsPlusPlus.m and PsychImaging.m to enable
proper stimulus display if the imaging pipelines panelfitter is active
and the windows clientRect therefore doesn't correspond to the windows
actual framebuffer size (rect).
RemapMouse(): Make compatible with our gpu-based panelfitter.
PsychStartup.m: Make GStreamer SDK detection more robust.

Don't trust SDK installdir environment variable blindly, but
double-check if the SDK is where it is claimed to be.

Add more fallback probes: Check drives C,D,E,F,G for standard
installation path, now with the 0.10 version name instead of 2012.9,
2012.11 etc. The legacy probes for 2012.5 and 2012.7 remain.
PsychImaging: Implement PsychImaging('UsePanelFitter')

Implement full high-level setup for our panelfitter. Provides all the
high-level scaling modes of typical panel fitters and then some extras.

This should complete the gpu panelfitter implementation for our image
processing pipeline.
Merge pull request #13 from iandol/patch-1

Update Psychtoolbox/PsychTests/BeampositionTest.m
Beautify it.
Merge branch 'master' of https://github.com/kleinerm/Psychtoolbox-3
BeampositionTest: Add help text, tweak Ian's improvements.

Make sure the histogram has a bin for each possible scanline from 0 to
VBL endline, so we can see certain "bug patterns".

Make sure it doesn't hang if beampositions are totally broken.

Add help text.

Also update "Help PsychTests" with entry for BeampositionTest.
BitsPlusPlus: Make sure overlay texture is nearest neighbour filtered.

Not really needed, as this is the default, but avoids confusion during
debugging.
AdditiveBlendingForLinearSuperpositonTutorial: Disable text anti-aliasing for hardware overlay.

Otherwise mk gets confused by anti-aliasing artifacts if Datapixx et
al. or Bits+ et al. are driven with hw overlays on.
ImagingStereoDemo: Add a snippet of (disabled) Panelfitter demo code.

Just there for reference, but commented out by default.
SimpleMovieDemo: Cleanup help text a bit. Kill some cruft.
add support for devicenumber parameter in el, this is sent to KbCheck
when calling EyelinkGetKey.m, see help for KbCheck for details on what
this does
Merge pull request #15 from iandol/eyelink1

add support for devicenumber parameter in el
Screen/GStreamer: Allow override of selection of threaded video decoding method.

For multi-threaded video decoding on capable codecs, we default to use
both slice-threading and frame-threading. An environment variable
allows to override this choice.

The variable can be set via new PsychTweak subcommand:
PsychTweak('GStreamerPlaybackThreadingMethod', methodId);

-> Screen for 64-Bit Matlab on OSX rebuilt and tested against patched
gst-ffmpeg decoder branch. Works as expected.
Screen: Improve setting of slackfactor for missed deadline detector.

Take OpenML timestamping as another high-quality implementation into
account, also the crappy quality of OSX displaylink timestamping.
Screen/OSX: Try a different workaround for shoddy OSX CoreVideo implementation.

Remove workaround for long delayed displaylink callbacks from
PsychOSGetVBLTimeAndCount() - the trick only works if the function is
called in sync with vblank, which is not the case most of the time.

Instead increase timeout for vblcount query retries in higher level
code from 2 msecs max to 4 msecs max, with each retry taking 0.5 msecs
instead of 0.25 msecs. This should increase the chance of the callback
catching up in time.

Screen for 64-Bit Matlab on OSX rebuilt and tested.

In the end, anything but timestamping with the PsychtoolboxKernelDriver
on OSX is pretty much flawed or at least somewhat fragile or noisy.
This will be the only way forward afaics.
Screen/OSX: Fix frame-sequential fallback path on OSX.

Intel GPU's on OSX don't support stereomode 1 for native stereo. This
was supposed to trigger fallback to our own method, but didn't. Instead
context creation failed with an invalid pixelformat, as the returned
pixelfomrat object on Intel gpu was a NULL pointer, despite the OS
reporting successfull pixelformat selection. Thanks iPhone company, you
rule!

Now on NULL pfmt with stereo request, we remove the stereo attribute
and retry choosing a pixelformat, so we get a non-stereo context and
our higher-level fallback triggers our own stereo implementation.

Screen for 64-Bit Matlab on OSX rebuilt & tested with Intel HD graphics
"Ironlake" under OSX 10.7.5
PsychHID/OSX: Try harder to open devices for low-level USB access.

Use DeviceOpenSeize() instead of DeviceOpen(), trying to ask other
drivers to release a device we want to open but they have already
claimed.

Also retry up to 5 times, with 1 sec pause between retries.
Doesn't help at all with ColorCal-II on OSX 10.7.5, but maybe it helps
somebody else sometime...

PsychHID for 64-Bit Matlab on OSX rebuilt.