renderspu_cocoa_helper.h revision e64031e20c39650a7bc902a3e1aba613b9415dee
/** @file
*
* VirtualBox OpenGL Cocoa Window System Helper definition
*/
/*
* Copyright (C) 2009 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef __renderspu_cocoa_helper_h
#define __renderspu_cocoa_helper_h
#ifdef __OBJC__
typedef NSView *NativeViewRef;
typedef NSOpenGLContext *NativeGLCtxRef;
#else /* __OBJC__ */
typedef void *NativeViewRef;
typedef void *NativeGLCtxRef;
#endif /* __OBJC__ */
/* OpenGL context management */
/* View management */
/* OpenGL wrapper */
void cocoaFlush();
void cocoaFinish();
#endif /* __renderspu_cocoa_helper_h */