* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public GLData getGLData () {
checkWidget ();
GLData data = new GLData ();
long /*long*/ [] value = new long /*long*/ [1];
pixelFormat.getValues(value, OS.NSOpenGLPFADoubleBuffer, 0);
data.doubleBuffer = value [0] != 0;
pixelFormat.getValues(value, OS.NSOpenGLPFAStereo, 0);
data.stereo = value [0] != 0;