mirror of
https://github.com/brl/mutter.git
synced 2024-12-29 14:22:13 +00:00
def67a39fe
This splits up cogl-ext-functions.h in to sets of prototypes that can be included separately so that we can include just core gles1 or gles2 functions without any extensions. Since eglGetProcAddress can not be used to query core client APIs and some implementations (notably on Android) can return a garbage pointer instead of NULL this will allow us to explicitly check when to use eglGetProcAddress and when to use dlsym(). Reviewed-by: Neil Roberts <neil@linux.intel.com>
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
/*
|
|
* Cogl
|
|
*
|
|
* An object oriented GL/GLES Abstraction/Utility Layer
|
|
*
|
|
* Copyright (C) 2009, 2011 Intel Corporation.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*
|
|
*/
|
|
|
|
/* The functions in this file are part of the core GL,GLES1 and GLES2 apis */
|
|
#include "cogl-core-functions.h"
|
|
|
|
/* The functions in this file are core to GLES1 and GLES2 but not core
|
|
* to GL but they may be extensions available for GL */
|
|
#include "cogl-in-gles-core-functions.h"
|
|
|
|
/* The functions in this file are core to GLES2 only but
|
|
* may be extensions for GLES1 and GL */
|
|
#include "cogl-in-gles2-core-functions.h"
|
|
|
|
/* These are APIs for using GLSL used by GL and GLES2 */
|
|
#include "cogl-glsl-functions.h"
|