am b7c663f1: am 9dffe171: Merge "Do not require signed zero support in ldexp tests...
[platform/upstream/VK-GL-CTS.git] / framework / egl / wrapper / eglwTypes.inl
1 /*-------------------------------------------------------------------------
2  * drawElements Quality Program EGL Utilities
3  * ------------------------------------------
4  *
5  * Copyright 2014 The Android Open Source Project
6  *
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  *//*!
20  * \file
21  * \brief EGL wrapper base types.
22  *
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  *//*--------------------------------------------------------------------*/
27
28 /* Calling convention. */
29 #if (DE_OS == DE_OS_ANDROID)
30 #       include <sys/cdefs.h>
31 #       if !defined(__NDK_FPABI__)
32 #               define __NDK_FPABI__
33 #       endif
34 #       define EGLW_APICALL __NDK_FPABI__
35 #else
36 #       define EGLW_APICALL
37 #endif
38
39 #if (DE_OS == DE_OS_WIN32)
40 #       define EGLW_APIENTRY __stdcall
41 #else
42 #       define EGLW_APIENTRY
43 #endif
44
45 typedef deInt32         EGLint;
46 typedef deUint32        EGLenum;
47 typedef deUint32        EGLBoolean;
48 typedef deIntptr        EGLAttrib;
49 typedef deUint64        EGLTime;
50
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;
58
59 typedef void*           EGLNativeDisplayType;
60 typedef void*           EGLNativeWindowType;
61 typedef void*           EGLNativePixmapType;
62
63 typedef void (*__eglMustCastToProperFunctionPointerType) (void);
64
65 typedef EGLImage        EGLImageKHR;
66 typedef EGLSync         EGLSyncKHR;
67 typedef EGLTime         EGLTimeKHR;