Path: blob/main_old/src/libGLESv2/egl_ext_stubs_autogen.h
1693 views
// GENERATED FILE - DO NOT EDIT.1// Generated by generate_entry_points.py using data from egl.xml and egl_angle_ext.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_ext_stubs_autogen.h: Stubs for EXT extension entry points.89#ifndef LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_10#define LIBGLESV2_EGL_EXT_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;3334EGLint ClientWaitSyncKHR(Thread *thread,35egl::Display *dpyPacked,36Sync *syncPacked,37EGLint flags,38EGLTimeKHR timeout);39EGLImageKHR CreateImageKHR(Thread *thread,40egl::Display *dpyPacked,41gl::Context *ctxPacked,42EGLenum target,43EGLClientBuffer buffer,44const AttributeMap &attrib_listPacked);45EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread,46const AttributeMap &attrib_listPacked);47EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread,48egl::Display *dpyPacked,49Config *configPacked,50void *native_pixmap,51const AttributeMap &attrib_listPacked);52EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread,53egl::Display *dpyPacked,54Config *configPacked,55void *native_window,56const AttributeMap &attrib_listPacked);57EGLStreamKHR CreateStreamKHR(Thread *thread,58egl::Display *dpyPacked,59const AttributeMap &attrib_listPacked);60EGLSyncKHR CreateSyncKHR(Thread *thread,61egl::Display *dpyPacked,62EGLenum type,63const AttributeMap &attrib_listPacked);64EGLint DebugMessageControlKHR(Thread *thread,65EGLDEBUGPROCKHR callback,66const AttributeMap &attrib_listPacked);67EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, Image *imagePacked);68EGLBoolean DestroyStreamKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked);69EGLBoolean DestroySyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked);70EGLint DupNativeFenceFDANDROID(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked);71EGLClientBuffer GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer);72EGLDisplay GetPlatformDisplayEXT(Thread *thread,73EGLenum platform,74void *native_display,75const AttributeMap &attrib_listPacked);76EGLBoolean GetSyncAttribKHR(Thread *thread,77egl::Display *dpyPacked,78Sync *syncPacked,79EGLint attribute,80EGLint *value);81EGLint LabelObjectKHR(Thread *thread,82egl::Display *displayPacked,83ObjectType objectTypePacked,84EGLObjectKHR object,85EGLLabelKHR label);86EGLBoolean PostSubBufferNV(Thread *thread,87egl::Display *dpyPacked,88Surface *surfacePacked,89EGLint x,90EGLint y,91EGLint width,92EGLint height);93EGLBoolean PresentationTimeANDROID(Thread *thread,94egl::Display *dpyPacked,95Surface *surfacePacked,96EGLnsecsANDROID time);97EGLBoolean GetCompositorTimingSupportedANDROID(Thread *thread,98egl::Display *dpyPacked,99Surface *surfacePacked,100CompositorTiming namePacked);101EGLBoolean GetCompositorTimingANDROID(Thread *thread,102egl::Display *dpyPacked,103Surface *surfacePacked,104EGLint numTimestamps,105const EGLint *names,106EGLnsecsANDROID *values);107EGLBoolean GetNextFrameIdANDROID(Thread *thread,108egl::Display *dpyPacked,109Surface *surfacePacked,110EGLuint64KHR *frameId);111EGLBoolean GetFrameTimestampSupportedANDROID(Thread *thread,112egl::Display *dpyPacked,113Surface *surfacePacked,114Timestamp timestampPacked);115EGLBoolean GetFrameTimestampsANDROID(Thread *thread,116egl::Display *dpyPacked,117Surface *surfacePacked,118EGLuint64KHR frameId,119EGLint numTimestamps,120const EGLint *timestamps,121EGLnsecsANDROID *values);122EGLBoolean QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value);123EGLBoolean QueryDeviceAttribEXT(Thread *thread,124Device *devicePacked,125EGLint attribute,126EGLAttrib *value);127const char *QueryDeviceStringEXT(Thread *thread, Device *devicePacked, EGLint name);128EGLBoolean QueryDisplayAttribEXT(Thread *thread,129egl::Display *dpyPacked,130EGLint attribute,131EGLAttrib *value);132EGLBoolean QueryStreamKHR(Thread *thread,133egl::Display *dpyPacked,134Stream *streamPacked,135EGLenum attribute,136EGLint *value);137EGLBoolean QueryStreamu64KHR(Thread *thread,138egl::Display *dpyPacked,139Stream *streamPacked,140EGLenum attribute,141EGLuint64KHR *value);142EGLBoolean QuerySurfacePointerANGLE(Thread *thread,143egl::Display *dpyPacked,144Surface *surfacePacked,145EGLint attribute,146void **value);147void SetBlobCacheFuncsANDROID(Thread *thread,148egl::Display *dpyPacked,149EGLSetBlobFuncANDROID set,150EGLGetBlobFuncANDROID get);151EGLBoolean SignalSyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLenum mode);152EGLBoolean StreamAttribKHR(Thread *thread,153egl::Display *dpyPacked,154Stream *streamPacked,155EGLenum attribute,156EGLint value);157EGLBoolean StreamConsumerAcquireKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked);158EGLBoolean StreamConsumerGLTextureExternalKHR(Thread *thread,159egl::Display *dpyPacked,160Stream *streamPacked);161EGLBoolean StreamConsumerGLTextureExternalAttribsNV(Thread *thread,162egl::Display *dpyPacked,163Stream *streamPacked,164const AttributeMap &attrib_listPacked);165EGLBoolean StreamConsumerReleaseKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked);166EGLBoolean SwapBuffersWithDamageKHR(Thread *thread,167egl::Display *dpyPacked,168Surface *surfacePacked,169const EGLint *rects,170EGLint n_rects);171EGLint WaitSyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLint flags);172EGLDeviceEXT CreateDeviceANGLE(Thread *thread,173EGLint device_type,174void *native_device,175const EGLAttrib *attrib_list);176EGLBoolean ReleaseDeviceANGLE(Thread *thread, Device *devicePacked);177EGLBoolean CreateStreamProducerD3DTextureANGLE(Thread *thread,178egl::Display *dpyPacked,179Stream *streamPacked,180const AttributeMap &attrib_listPacked);181EGLBoolean StreamPostD3DTextureANGLE(Thread *thread,182egl::Display *dpyPacked,183Stream *streamPacked,184void *texture,185const AttributeMap &attrib_listPacked);186EGLBoolean GetMscRateANGLE(Thread *thread,187egl::Display *dpyPacked,188Surface *surfacePacked,189EGLint *numerator,190EGLint *denominator);191EGLBoolean GetSyncValuesCHROMIUM(Thread *thread,192egl::Display *dpyPacked,193Surface *surfacePacked,194EGLuint64KHR *ust,195EGLuint64KHR *msc,196EGLuint64KHR *sbc);197EGLint ProgramCacheGetAttribANGLE(Thread *thread, egl::Display *dpyPacked, EGLenum attrib);198void ProgramCacheQueryANGLE(Thread *thread,199egl::Display *dpyPacked,200EGLint index,201void *key,202EGLint *keysize,203void *binary,204EGLint *binarysize);205void ProgramCachePopulateANGLE(Thread *thread,206egl::Display *dpyPacked,207const void *key,208EGLint keysize,209const void *binary,210EGLint binarysize);211EGLint ProgramCacheResizeANGLE(Thread *thread, egl::Display *dpyPacked, EGLint limit, EGLint mode);212const char *QueryStringiANGLE(Thread *thread, egl::Display *dpyPacked, EGLint name, EGLint index);213EGLBoolean SwapBuffersWithFrameTokenANGLE(Thread *thread,214egl::Display *dpyPacked,215Surface *surfacePacked,216EGLFrameTokenANGLE frametoken);217void ReleaseHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked);218void ReacquireHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked);219void HandleGPUSwitchANGLE(Thread *thread, egl::Display *dpyPacked);220EGLBoolean QueryDisplayAttribANGLE(Thread *thread,221egl::Display *dpyPacked,222EGLint attribute,223EGLAttrib *value);224} // namespace egl225#endif // LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_226227228