glext.cpp revision d65680efa46fa49e8bf14e67b29b782510ff934c
/** @file
*
* VirtualBox Windows NT/2000/XP guest OpenGL ICD
*
* OpenGL extensions
*
* References: http://oss.sgi.com/projects/ogl-sample/registry/
*
* Copyright (C) 2006-2007 Sun Microsystems, Inc.
*
* 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.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#define VBOX_OGL_WITH_EXTENSION_ARRAY
#include "VBoxOGL.h"
/**
* Initialize OpenGL extensions
*
* @returns VBox status code
* @param pCtx OpenGL thread context
*/
{
char *pszExtensions;
static bool fInitialized = false;
int rc;
if (fInitialized)
return VINF_SUCCESS;
if ( VBOX_FAILURE(rc)
{
}
szOpenGLExtensions[0] = 0;
for (int i=0;i<RT_ELEMENTS(OpenGLExtensions);i++)
{
if ( OpenGLExtensions[i].fAvailable
{
}
}
fInitialized = true;
return VINF_SUCCESS;
}
{
for (int i=0;i<RT_ELEMENTS(OpenGLExtensions);i++)
{
if ( OpenGLExtensions[i].fAvailable
{
}
}
else
return pfnProc;
}
{
return retval;
}
int WINAPI wglGetSwapIntervalEXT(void)
{
return retval;
}
#if 0
#endif