1 /*-------------------------------------------------------------------------
2 * drawElements Quality Program EGL Utilities
3 * ------------------------------------------
5 * Copyright 2014 The Android Open Source Project
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
21 * \brief EGL wrapper base types.
23 * \note Unlike most .inl files this one is NOT auto-generated. This is .inl
24 * because it is included from both glwDefs.hpp (inside glw namespace)
25 * and glw.h (in root namespace, as C source).
26 *//*--------------------------------------------------------------------*/
28 /* Calling convention. */
29 #if (DE_OS == DE_OS_ANDROID)
30 # include <sys/cdefs.h>
31 # if !defined(__NDK_FPABI__)
32 # define __NDK_FPABI__
34 # define EGLW_APICALL __NDK_FPABI__
39 #if (DE_OS == DE_OS_WIN32)
40 # define EGLW_APIENTRY __stdcall
42 # define EGLW_APIENTRY
45 typedef deInt32 EGLint;
46 typedef deUint32 EGLenum;
47 typedef deUint32 EGLBoolean;
48 typedef deIntptr EGLAttrib;
49 typedef deUint64 EGLTime;
51 typedef void* EGLDisplay;
52 typedef void* EGLConfig;
53 typedef void* EGLSurface;
54 typedef void* EGLContext;
55 typedef void* EGLImage;
56 typedef void* EGLClientBuffer;
57 typedef void* EGLSync;
59 typedef void* EGLNativeDisplayType;
60 typedef void* EGLNativeWindowType;
61 typedef void* EGLNativePixmapType;
63 typedef void (*__eglMustCastToProperFunctionPointerType) (void);
65 typedef EGLImage EGLImageKHR;
66 typedef EGLSync EGLSyncKHR;
67 typedef EGLTime EGLTimeKHR;