PowerVR Software Development Kit


Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

PVRShellAPI.h

Go to the documentation of this file.
00001 /*!***************************************************************************
00002  @File          KEGL/PVRShellAPI.h
00003 
00004  @Brief         Shell to make programming 3D APIs easier.
00005 
00006  @Date          26/01/2005
00007 
00008  @Copyright    Copyright (C) 2005 - 2006 by Imagination Technologies Limited.
00009 
00010  @Platform      Independant
00011 
00012  @Description   Makes programming for 3D APIs easier by wrapping surface initialization,
00013                 Texture allocation and other functions for use by a demo.
00014 *****************************************************************************/
00015 
00016 #ifndef __PVRSHELLAPI_H_
00017 #define __PVRSHELLAPI_H_
00018 
00019 /****************************************************************************
00020 ** 3D API header files
00021 ****************************************************************************/
00022 #include "GLES/egl.h"
00023 #ifdef BUILD_OVG
00024 #include "vg/openvg.h"
00025 #endif
00026 /*!***************************************************************************
00027 ** Class: PVRShellInitAPI
00028 ** @Brief Class. Initialisation interface with specific API.
00029 ****************************************************************************/
00030 class PVRShellInitAPI
00031 {
00032 public:
00033     EGLDisplay  gEglDisplay;
00034     EGLSurface  gEglWindow;
00035     EGLContext  gEglContext;
00036     EGLConfig   gEglConfig;
00037     EGLint      majorVersion, minorVersion;
00038     bool        powerManagementSupported;
00039 
00040 public:
00041     EGLConfig SelectEGLConfiguration(const bool bZ, const bool bP, const int nFSAA);
00042 };
00043 
00044 #endif // __PVRSHELLAPI_H_
00045 
00046 /*****************************************************************************
00047  End of file (PVRShellAPI.h)
00048 *****************************************************************************/


Copyright © 1999-2006, PowerVR Technologies and partners. PowerVR Technologies is a division of Imagination Technologies Ltd.


Generated by DOXYGEN 1.3.6