author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@4 | 1 |
/* |
williamr@4 | 2 |
* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@4 | 3 |
* All rights reserved. |
williamr@4 | 4 |
* This component and the accompanying materials are made available |
williamr@4 | 5 |
* under the terms of "Eclipse Public License v1.0" |
williamr@4 | 6 |
* which accompanies this distribution, and is available |
williamr@4 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@4 | 8 |
* |
williamr@4 | 9 |
* Initial Contributors: |
williamr@4 | 10 |
* Nokia Corporation - initial contribution. |
williamr@4 | 11 |
* |
williamr@4 | 12 |
* Contributors: |
williamr@4 | 13 |
* |
williamr@4 | 14 |
* Description: |
williamr@4 | 15 |
* |
williamr@4 | 16 |
*/ |
williamr@4 | 17 |
|
williamr@4 | 18 |
|
williamr@4 | 19 |
|
williamr@4 | 20 |
#ifndef __GL2EXTPLATFORM_H__ |
williamr@4 | 21 |
#define __GL2EXTPLATFORM_H__ |
williamr@4 | 22 |
|
williamr@4 | 23 |
/* |
williamr@4 | 24 |
* The purpose of this header file is to allow a platform to control which |
williamr@4 | 25 |
* gl2ext.h extensions are seen, in order to enforce source-level backwards |
williamr@4 | 26 |
* compatiblity. |
williamr@4 | 27 |
* Consider the example of disabling GL_DEPTH_COMPONENT24_OES. From gl2ext.h |
williamr@4 | 28 |
* we see this is guarded by the define GL_OES_depth24. You need to define |
williamr@4 | 29 |
* GL_OES_depth24 in this file in order to disable this extension from being |
williamr@4 | 30 |
* seen by programs compiled against gl2.h and gl2ext.h headers. |
williamr@4 | 31 |
*/ |
williamr@4 | 32 |
|
williamr@4 | 33 |
/** |
williamr@4 | 34 |
@publishedAll |
williamr@4 | 35 |
@released |
williamr@4 | 36 |
*/ |
williamr@4 | 37 |
|
williamr@4 | 38 |
#ifdef __cplusplus |
williamr@4 | 39 |
extern "C" { |
williamr@4 | 40 |
#endif |
williamr@4 | 41 |
|
williamr@4 | 42 |
/* Place #define statements as needed below to disable gl2ext.h extensions */ |
williamr@4 | 43 |
|
williamr@4 | 44 |
#ifdef __cplusplus |
williamr@4 | 45 |
} |
williamr@4 | 46 |
#endif |
williamr@4 | 47 |
|
williamr@4 | 48 |
#endif |