from Sven: new tutorial and fixes for a missing include files;

 - fix a problem of a wrong commit (done in 44063) in StandardHypoTestInvDemo.C


git-svn-id: https://root.cern.ch/svn/root/trunk@44259 27541ba8-7e3a-0410-8455-c3a389f83636
TGLWidget and TGLContext classes were designed to isolate gl-context/gl-window specific code inside gl module.
Unfortunately, this isolation is bad as soon as we have to work with Obj-C, OpenGL, classes from Cocoa module.
TGLFormat can not go to core/base (because of multi-sampling part of code), I have to convert format into something,
I can pass to gVirtualX - array of pairs (enumerator-value).


git-svn-id: https://root.cern.ch/svn/root/trunk@44263 27541ba8-7e3a-0410-8455-c3a389f83636
1. ROOTOpenGLView - now inherits NSView, not NSOpenGLView (NSOpenGLView is too high-level to work with, it's already kind of our TGLWidget).
2. TGCocoa - implement CreateOpenGLWindow function.
3. TGCocoa - change in exception handling policy.


git-svn-id: https://root.cern.ch/svn/root/trunk@44264 27541ba8-7e3a-0410-8455-c3a389f83636
Check also TGLFormat::kStereo.


git-svn-id: https://root.cern.ch/svn/root/trunk@44265 27541ba8-7e3a-0410-8455-c3a389f83636
apply some Coverity fixes
improve some error messaging in AsymptoticCalculator and automatically set onesideddiscovery if null snapshot is equal to minimum of parameter at construction time


git-svn-id: https://root.cern.ch/svn/root/trunk@44266 27541ba8-7e3a-0410-8455-c3a389f83636
fix a compilation warning


git-svn-id: https://root.cern.ch/svn/root/trunk@44268 27541ba8-7e3a-0410-8455-c3a389f83636
apply small fix from Gabriel to use sizeof instead of an hard-coded 8


git-svn-id: https://root.cern.ch/svn/root/trunk@44272 27541ba8-7e3a-0410-8455-c3a389f83636
Implement CreateOpenGLContext. For the moment, I have 1 to 1 relation between GL view and GL context
(and it looks like we never create several GL context for 1 TGLWidget).


git-svn-id: https://root.cern.ch/svn/root/trunk@44274 27541ba8-7e3a-0410-8455-c3a389f83636
Retain/release pixel format in ROOTOpenGLView.


git-svn-id: https://root.cern.ch/svn/root/trunk@44275 27541ba8-7e3a-0410-8455-c3a389f83636
Correct the default value of SetAutoFlush ; rather than being +30000000 (which request a cluster size of that many entries!) set it to the expected -30000000 which is the same value as the one used in the default constructor (and request a cluster size of 30Mb of compressed data).

Correct the frequency of the basket flushing when the TTree has already more than one cluster size (for example by being the result of the merge of several files) by adding the missing ==0 after the modulo calculation.

In TTree::Reset and ResetAfterMerge, properly set fFlushedBytes to zero (hence avoid incorrectly thinking that a reset TTree has already more than one cluster).

This fixes the issue reported in <http://savannah.cern.ch/bugs/?94669>


git-svn-id: https://root.cern.ch/svn/root/trunk@44279 27541ba8-7e3a-0410-8455-c3a389f83636
Update the exports and the last known good.


git-svn-id: https://root.cern.ch/svn/root/trunk@44284 27541ba8-7e3a-0410-8455-c3a389f83636
add unistd.h include needed for read()/write() and gcc 4.7. Fixes issue
94702.


git-svn-id: https://root.cern.ch/svn/root/trunk@44285 27541ba8-7e3a-0410-8455-c3a389f83636
1. MakeCurrent, SwapBuffers for TGLContext.
2. Add some methods to ROOTOpenGLView (not to have exception on non-existing selector).


git-svn-id: https://root.cern.ch/svn/root/trunk@44288 27541ba8-7e3a-0410-8455-c3a389f83636