/* dstep -I/path/to/ndk-r9d/toolchains/llvm-3.4/prebuilt/linux-x86/lib/clang/3.4/include /path/to/ndk-r9d/platforms/android-9/arch-x86/usr/include/EGL/egl.h -o egl.d*/ module EGL.egl; import EGL.eglplatform; version (Android): extern (C): @system: nothrow: @nogc: alias uint EGLBoolean; alias uint EGLenum; alias void* EGLConfig; alias void* EGLContext; alias void* EGLDisplay; alias void* EGLSurface; alias void* EGLClientBuffer; alias void function() __eglMustCastToProperFunctionPointerType; enum EGL_VERSION_1_0 = 1; enum EGL_VERSION_1_1 = 1; enum EGL_VERSION_1_2 = 1; enum EGL_VERSION_1_3 = 1; enum EGL_VERSION_1_4 = 1; enum EGL_FALSE = 0; enum EGL_TRUE = 1; enum EGL_DEFAULT_DISPLAY = null; enum EGL_NO_CONTEXT = null; enum EGL_NO_DISPLAY = null; enum EGL_NO_SURFACE = null; enum EGL_DONT_CARE = -1; enum EGL_SUCCESS = 0x3000; enum EGL_NOT_INITIALIZED = 0x3001; enum EGL_BAD_ACCESS = 0x3002; enum EGL_BAD_ALLOC = 0x3003; enum EGL_BAD_ATTRIBUTE = 0x3004; enum EGL_BAD_CONFIG = 0x3005; enum EGL_BAD_CONTEXT = 0x3006; enum EGL_BAD_CURRENT_SURFACE = 0x3007; enum EGL_BAD_DISPLAY = 0x3008; enum EGL_BAD_MATCH = 0x3009; enum EGL_BAD_NATIVE_PIXMAP = 0x300A; enum EGL_BAD_NATIVE_WINDOW = 0x300B; enum EGL_BAD_PARAMETER = 0x300C; enum EGL_BAD_SURFACE = 0x300D; enum EGL_CONTEXT_LOST = 0x300E; enum EGL_BUFFER_SIZE = 0x3020; enum EGL_ALPHA_SIZE = 0x3021; enum EGL_BLUE_SIZE = 0x3022; enum EGL_GREEN_SIZE = 0x3023; enum EGL_RED_SIZE = 0x3024; enum EGL_DEPTH_SIZE = 0x3025; enum EGL_STENCIL_SIZE = 0x3026; enum EGL_CONFIG_CAVEAT = 0x3027; enum EGL_CONFIG_ID = 0x3028; enum EGL_LEVEL = 0x3029; enum EGL_MAX_PBUFFER_HEIGHT = 0x302A; enum EGL_MAX_PBUFFER_PIXELS = 0x302B; enum EGL_MAX_PBUFFER_WIDTH = 0x302C; enum EGL_NATIVE_RENDERABLE = 0x302D; enum EGL_NATIVE_VISUAL_ID = 0x302E; enum EGL_NATIVE_VISUAL_TYPE = 0x302F; enum EGL_SAMPLES = 0x3031; enum EGL_SAMPLE_BUFFERS = 0x3032; enum EGL_SURFACE_TYPE = 0x3033; enum EGL_TRANSPARENT_TYPE = 0x3034; enum EGL_TRANSPARENT_BLUE_VALUE = 0x3035; enum EGL_TRANSPARENT_GREEN_VALUE = 0x3036; enum EGL_TRANSPARENT_RED_VALUE = 0x3037; enum EGL_NONE = 0x3038; enum EGL_BIND_TO_TEXTURE_RGB = 0x3039; enum EGL_BIND_TO_TEXTURE_RGBA = 0x303A; enum EGL_MIN_SWAP_INTERVAL = 0x303B; enum EGL_MAX_SWAP_INTERVAL = 0x303C; enum EGL_LUMINANCE_SIZE = 0x303D; enum EGL_ALPHA_MASK_SIZE = 0x303E; enum EGL_COLOR_BUFFER_TYPE = 0x303F; enum EGL_RENDERABLE_TYPE = 0x3040; enum EGL_MATCH_NATIVE_PIXMAP = 0x3041; enum EGL_CONFORMANT = 0x3042; enum EGL_SLOW_CONFIG = 0x3050; enum EGL_NON_CONFORMANT_CONFIG = 0x3051; enum EGL_TRANSPARENT_RGB = 0x3052; enum EGL_RGB_BUFFER = 0x308E; enum EGL_LUMINANCE_BUFFER = 0x308F; enum EGL_NO_TEXTURE = 0x305C; enum EGL_TEXTURE_RGB = 0x305D; enum EGL_TEXTURE_RGBA = 0x305E; enum EGL_TEXTURE_2D = 0x305F; enum EGL_PBUFFER_BIT = 0x0001; enum EGL_PIXMAP_BIT = 0x0002; enum EGL_WINDOW_BIT = 0x0004; enum EGL_VG_COLORSPACE_LINEAR_BIT = 0x0020; enum EGL_VG_ALPHA_FORMAT_PRE_BIT = 0x0040; enum EGL_MULTISAMPLE_RESOLVE_BOX_BIT = 0x0200; enum EGL_SWAP_BEHAVIOR_PRESERVED_BIT = 0x0400; enum EGL_OPENGL_ES_BIT = 0x0001; enum EGL_OPENVG_BIT = 0x0002; enum EGL_OPENGL_ES2_BIT = 0x0004; enum EGL_OPENGL_BIT = 0x0008; enum EGL_VENDOR = 0x3053; enum EGL_VERSION = 0x3054; enum EGL_EXTENSIONS = 0x3055; enum EGL_CLIENT_APIS = 0x308D; enum EGL_HEIGHT = 0x3056; enum EGL_WIDTH = 0x3057; enum EGL_LARGEST_PBUFFER = 0x3058; enum EGL_TEXTURE_FORMAT = 0x3080; enum EGL_TEXTURE_TARGET = 0x3081; enum EGL_MIPMAP_TEXTURE = 0x3082; enum EGL_MIPMAP_LEVEL = 0x3083; enum EGL_RENDER_BUFFER = 0x3086; enum EGL_VG_COLORSPACE = 0x3087; enum EGL_VG_ALPHA_FORMAT = 0x3088; enum EGL_HORIZONTAL_RESOLUTION = 0x3090; enum EGL_VERTICAL_RESOLUTION = 0x3091; enum EGL_PIXEL_ASPECT_RATIO = 0x3092; enum EGL_SWAP_BEHAVIOR = 0x3093; enum EGL_MULTISAMPLE_RESOLVE = 0x3099; enum EGL_BACK_BUFFER = 0x3084; enum EGL_SINGLE_BUFFER = 0x3085; enum EGL_VG_COLORSPACE_sRGB = 0x3089; enum EGL_VG_COLORSPACE_LINEAR = 0x308A; enum EGL_VG_ALPHA_FORMAT_NONPRE = 0x308B; enum EGL_VG_ALPHA_FORMAT_PRE = 0x308C; enum EGL_DISPLAY_SCALING = 10000; enum EGL_UNKNOWN = -1; enum EGL_BUFFER_PRESERVED = 0x3094; enum EGL_BUFFER_DESTROYED = 0x3095; enum EGL_OPENVG_IMAGE = 0x3096; enum EGL_CONTEXT_CLIENT_TYPE = 0x3097; enum EGL_CONTEXT_CLIENT_VERSION = 0x3098; enum EGL_MULTISAMPLE_RESOLVE_DEFAULT = 0x309A; enum EGL_MULTISAMPLE_RESOLVE_BOX = 0x309B; enum EGL_OPENGL_ES_API = 0x30A0; enum EGL_OPENVG_API = 0x30A1; enum EGL_OPENGL_API = 0x30A2; enum EGL_DRAW = 0x3059; enum EGL_READ = 0x305A; enum EGL_CORE_NATIVE_ENGINE = 0x305B; enum EGL_COLORSPACE = EGL_VG_COLORSPACE; enum EGL_ALPHA_FORMAT = EGL_VG_ALPHA_FORMAT; enum EGL_COLORSPACE_sRGB = EGL_VG_COLORSPACE_sRGB; enum EGL_COLORSPACE_LINEAR = EGL_VG_COLORSPACE_LINEAR; enum EGL_ALPHA_FORMAT_NONPRE = EGL_VG_ALPHA_FORMAT_NONPRE; enum EGL_ALPHA_FORMAT_PRE = EGL_VG_ALPHA_FORMAT_PRE; EGLint eglGetError(); EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id); EGLBoolean eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor); EGLBoolean eglTerminate(EGLDisplay dpy); const(char)* eglQueryString(EGLDisplay dpy, EGLint name); EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, EGLint* num_config); EGLBoolean eglChooseConfig(EGLDisplay dpy, const(EGLint)* attrib_list, EGLConfig* configs, EGLint config_size, EGLint* num_config); EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value); EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const(EGLint)* attrib_list); EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const(EGLint)* attrib_list); EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const(EGLint)* attrib_list); EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface); EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value); EGLBoolean eglBindAPI(EGLenum api); EGLenum eglQueryAPI(); EGLBoolean eglWaitClient(); EGLBoolean eglReleaseThread(); EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const(EGLint)* attrib_list); EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value); EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval); EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const(EGLint)* attrib_list); EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx); EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx); EGLContext eglGetCurrentContext(); EGLSurface eglGetCurrentSurface(EGLint readdraw); EGLDisplay eglGetCurrentDisplay(); EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint* value); EGLBoolean eglWaitGL(); EGLBoolean eglWaitNative(EGLint engine); EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target); __eglMustCastToProperFunctionPointerType eglGetProcAddress(const(char)* procname);