Path: blob/main_old/src/libGLESv2/egl_stubs_autogen.h
1693 views
// GENERATED FILE - DO NOT EDIT.1// Generated by generate_entry_points.py using data from egl.xml.2//3// Copyright 2020 The ANGLE Project Authors. All rights reserved.4// Use of this source code is governed by a BSD-style license that can be5// found in the LICENSE file.6//7// egl_stubs_autogen.h: Stubs for EGL entry points.89#ifndef LIBGLESV2_EGL_STUBS_AUTOGEN_H_10#define LIBGLESV2_EGL_STUBS_AUTOGEN_H_1112#include <EGL/egl.h>13#include <EGL/eglext.h>1415#include "common/PackedEGLEnums_autogen.h"1617namespace gl18{19class Context;20} // namespace gl2122namespace egl23{24class AttributeMap;25class Device;26class Display;27class Image;28class Stream;29class Surface;30class Sync;31class Thread;32struct Config;3334EGLBoolean BindAPI(Thread *thread, EGLenum api);35EGLBoolean BindTexImage(Thread *thread,36egl::Display *dpyPacked,37Surface *surfacePacked,38EGLint buffer);39EGLBoolean ChooseConfig(Thread *thread,40egl::Display *dpyPacked,41const AttributeMap &attrib_listPacked,42EGLConfig *configs,43EGLint config_size,44EGLint *num_config);45EGLint ClientWaitSync(Thread *thread,46egl::Display *dpyPacked,47Sync *syncPacked,48EGLint flags,49EGLTime timeout);50EGLBoolean CopyBuffers(Thread *thread,51egl::Display *dpyPacked,52Surface *surfacePacked,53EGLNativePixmapType target);54EGLContext CreateContext(Thread *thread,55egl::Display *dpyPacked,56Config *configPacked,57gl::Context *share_contextPacked,58const AttributeMap &attrib_listPacked);59EGLImage CreateImage(Thread *thread,60egl::Display *dpyPacked,61gl::Context *ctxPacked,62EGLenum target,63EGLClientBuffer buffer,64const AttributeMap &attrib_listPacked);65EGLSurface CreatePbufferFromClientBuffer(Thread *thread,66egl::Display *dpyPacked,67EGLenum buftype,68EGLClientBuffer buffer,69Config *configPacked,70const AttributeMap &attrib_listPacked);71EGLSurface CreatePbufferSurface(Thread *thread,72egl::Display *dpyPacked,73Config *configPacked,74const AttributeMap &attrib_listPacked);75EGLSurface CreatePixmapSurface(Thread *thread,76egl::Display *dpyPacked,77Config *configPacked,78EGLNativePixmapType pixmap,79const AttributeMap &attrib_listPacked);80EGLSurface CreatePlatformPixmapSurface(Thread *thread,81egl::Display *dpyPacked,82Config *configPacked,83void *native_pixmap,84const AttributeMap &attrib_listPacked);85EGLSurface CreatePlatformWindowSurface(Thread *thread,86egl::Display *dpyPacked,87Config *configPacked,88void *native_window,89const AttributeMap &attrib_listPacked);90EGLSync CreateSync(Thread *thread,91egl::Display *dpyPacked,92EGLenum type,93const AttributeMap &attrib_listPacked);94EGLSurface CreateWindowSurface(Thread *thread,95egl::Display *dpyPacked,96Config *configPacked,97EGLNativeWindowType win,98const AttributeMap &attrib_listPacked);99EGLBoolean DestroyContext(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked);100EGLBoolean DestroyImage(Thread *thread, egl::Display *dpyPacked, Image *imagePacked);101EGLBoolean DestroySurface(Thread *thread, egl::Display *dpyPacked, Surface *surfacePacked);102EGLBoolean DestroySync(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked);103EGLBoolean GetConfigAttrib(Thread *thread,104egl::Display *dpyPacked,105Config *configPacked,106EGLint attribute,107EGLint *value);108EGLBoolean GetConfigs(Thread *thread,109egl::Display *dpyPacked,110EGLConfig *configs,111EGLint config_size,112EGLint *num_config);113EGLContext GetCurrentContext(Thread *thread);114EGLDisplay GetCurrentDisplay(Thread *thread);115EGLSurface GetCurrentSurface(Thread *thread, EGLint readdraw);116EGLDisplay GetDisplay(Thread *thread, EGLNativeDisplayType display_id);117EGLint GetError(Thread *thread);118EGLDisplay GetPlatformDisplay(Thread *thread,119EGLenum platform,120void *native_display,121const AttributeMap &attrib_listPacked);122__eglMustCastToProperFunctionPointerType GetProcAddress(Thread *thread, const char *procname);123EGLBoolean GetSyncAttrib(Thread *thread,124egl::Display *dpyPacked,125Sync *syncPacked,126EGLint attribute,127EGLAttrib *value);128EGLBoolean Initialize(Thread *thread, egl::Display *dpyPacked, EGLint *major, EGLint *minor);129EGLBoolean MakeCurrent(Thread *thread,130egl::Display *dpyPacked,131Surface *drawPacked,132Surface *readPacked,133gl::Context *ctxPacked);134EGLenum QueryAPI(Thread *thread);135EGLBoolean QueryContext(Thread *thread,136egl::Display *dpyPacked,137gl::Context *ctxPacked,138EGLint attribute,139EGLint *value);140const char *QueryString(Thread *thread, egl::Display *dpyPacked, EGLint name);141EGLBoolean QuerySurface(Thread *thread,142egl::Display *dpyPacked,143Surface *surfacePacked,144EGLint attribute,145EGLint *value);146EGLBoolean ReleaseTexImage(Thread *thread,147egl::Display *dpyPacked,148Surface *surfacePacked,149EGLint buffer);150EGLBoolean ReleaseThread(Thread *thread);151EGLBoolean SurfaceAttrib(Thread *thread,152egl::Display *dpyPacked,153Surface *surfacePacked,154EGLint attribute,155EGLint value);156EGLBoolean SwapBuffers(Thread *thread, egl::Display *dpyPacked, Surface *surfacePacked);157EGLBoolean SwapInterval(Thread *thread, egl::Display *dpyPacked, EGLint interval);158EGLBoolean Terminate(Thread *thread, egl::Display *dpyPacked);159EGLBoolean WaitClient(Thread *thread);160EGLBoolean WaitGL(Thread *thread);161EGLBoolean WaitNative(Thread *thread, EGLint engine);162EGLBoolean WaitSync(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLint flags);163} // namespace egl164#endif // LIBGLESV2_EGL_STUBS_AUTOGEN_H_165166167