#ifndef LIBANGLE_VALIDATION_EGL_AUTOGEN_H_
#define LIBANGLE_VALIDATION_EGL_AUTOGEN_H_
#include "libANGLE/validationEGL.h"
namespace egl
{
bool ValidateChooseConfig(const ValidationContext *val,
const egl::Display *dpyPacked,
const AttributeMap &attrib_listPacked,
const EGLConfig *configs,
EGLint config_size,
const EGLint *num_config);
bool ValidateCopyBuffers(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLNativePixmapType target);
bool ValidateCreateContext(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
gl::ContextID share_contextPacked,
const AttributeMap &attrib_listPacked);
bool ValidateCreatePbufferSurface(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
const AttributeMap &attrib_listPacked);
bool ValidateCreatePixmapSurface(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
EGLNativePixmapType pixmap,
const AttributeMap &attrib_listPacked);
bool ValidateCreateWindowSurface(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
EGLNativeWindowType win,
const AttributeMap &attrib_listPacked);
bool ValidateDestroyContext(const ValidationContext *val,
const egl::Display *dpyPacked,
gl::ContextID ctxPacked);
bool ValidateDestroySurface(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked);
bool ValidateGetConfigAttrib(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
EGLint attribute,
const EGLint *value);
bool ValidateGetConfigs(const ValidationContext *val,
const egl::Display *dpyPacked,
const EGLConfig *configs,
EGLint config_size,
const EGLint *num_config);
bool ValidateGetCurrentDisplay(const ValidationContext *val);
bool ValidateGetCurrentSurface(const ValidationContext *val, EGLint readdraw);
bool ValidateGetDisplay(const ValidationContext *val, EGLNativeDisplayType display_id);
bool ValidateGetError(const ValidationContext *val);
bool ValidateGetProcAddress(const ValidationContext *val, const char *procname);
bool ValidateInitialize(const ValidationContext *val,
const egl::Display *dpyPacked,
const EGLint *major,
const EGLint *minor);
bool ValidateMakeCurrent(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID drawPacked,
SurfaceID readPacked,
gl::ContextID ctxPacked);
bool ValidateQueryContext(const ValidationContext *val,
const egl::Display *dpyPacked,
gl::ContextID ctxPacked,
EGLint attribute,
const EGLint *value);
bool ValidateQueryString(const ValidationContext *val, const egl::Display *dpyPacked, EGLint name);
bool ValidateQuerySurface(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLint attribute,
const EGLint *value);
bool ValidateSwapBuffers(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked);
bool ValidateTerminate(const ValidationContext *val, const egl::Display *dpyPacked);
bool ValidateWaitGL(const ValidationContext *val);
bool ValidateWaitNative(const ValidationContext *val, EGLint engine);
bool ValidateBindTexImage(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLint buffer);
bool ValidateReleaseTexImage(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLint buffer);
bool ValidateSurfaceAttrib(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLint attribute,
EGLint value);
bool ValidateSwapInterval(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint interval);
bool ValidateBindAPI(const ValidationContext *val, EGLenum api);
bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLenum buftype,
EGLClientBuffer buffer,
const egl::Config *configPacked,
const AttributeMap &attrib_listPacked);
bool ValidateQueryAPI(const ValidationContext *val);
bool ValidateReleaseThread(const ValidationContext *val);
bool ValidateWaitClient(const ValidationContext *val);
bool ValidateGetCurrentContext(const ValidationContext *val);
bool ValidateClientWaitSync(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked,
EGLint flags,
EGLTime timeout);
bool ValidateCreateImage(const ValidationContext *val,
const egl::Display *dpyPacked,
gl::ContextID ctxPacked,
EGLenum target,
EGLClientBuffer buffer,
const AttributeMap &attrib_listPacked);
bool ValidateCreatePlatformPixmapSurface(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
const void *native_pixmap,
const AttributeMap &attrib_listPacked);
bool ValidateCreatePlatformWindowSurface(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
const void *native_window,
const AttributeMap &attrib_listPacked);
bool ValidateCreateSync(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLenum type,
const AttributeMap &attrib_listPacked);
bool ValidateDestroyImage(const ValidationContext *val,
const egl::Display *dpyPacked,
ImageID imagePacked);
bool ValidateDestroySync(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked);
bool ValidateGetPlatformDisplay(const ValidationContext *val,
EGLenum platform,
const void *native_display,
const AttributeMap &attrib_listPacked);
bool ValidateGetSyncAttrib(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked,
EGLint attribute,
const EGLAttrib *value);
bool ValidateWaitSync(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked,
EGLint flags);
bool ValidateSetBlobCacheFuncsANDROID(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLSetBlobFuncANDROID set,
EGLGetBlobFuncANDROID get);
bool ValidateCreateNativeClientBufferANDROID(const ValidationContext *val,
const AttributeMap &attrib_listPacked);
bool ValidateGetCompositorTimingSupportedANDROID(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
CompositorTiming namePacked);
bool ValidateGetCompositorTimingANDROID(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLint numTimestamps,
const EGLint *names,
const EGLnsecsANDROID *values);
bool ValidateGetNextFrameIdANDROID(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
const EGLuint64KHR *frameId);
bool ValidateGetFrameTimestampSupportedANDROID(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
Timestamp timestampPacked);
bool ValidateGetFrameTimestampsANDROID(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLuint64KHR frameId,
EGLint numTimestamps,
const EGLint *timestamps,
const EGLnsecsANDROID *values);
bool ValidateGetNativeClientBufferANDROID(const ValidationContext *val,
const struct AHardwareBuffer *buffer);
bool ValidateDupNativeFenceFDANDROID(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked);
bool ValidatePresentationTimeANDROID(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLnsecsANDROID time);
bool ValidateCreateDeviceANGLE(const ValidationContext *val,
EGLint device_type,
const void *native_device,
const EGLAttrib *attrib_list);
bool ValidateReleaseDeviceANGLE(const ValidationContext *val, const egl::Device *devicePacked);
bool ValidateAcquireExternalContextANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID drawAndReadPacked);
bool ValidateReleaseExternalContextANGLE(const ValidationContext *val,
const egl::Display *dpyPacked);
bool ValidateQueryStringiANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint name,
EGLint index);
bool ValidateQueryDisplayAttribANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint attribute,
const EGLAttrib *value);
bool ValidateCopyMetalSharedEventANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked);
bool ValidateSetValidationEnabledANGLE(const ValidationContext *val, EGLBoolean validationState);
bool ValidateReleaseHighPowerGPUANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
gl::ContextID ctxPacked);
bool ValidateReacquireHighPowerGPUANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
gl::ContextID ctxPacked);
bool ValidateHandleGPUSwitchANGLE(const ValidationContext *val, const egl::Display *dpyPacked);
bool ValidateForceGPUSwitchANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint gpuIDHigh,
EGLint gpuIDLow);
bool ValidatePrepareSwapBuffersANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked);
bool ValidateProgramCacheGetAttribANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLenum attrib);
bool ValidateProgramCacheQueryANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint index,
const void *key,
const EGLint *keysize,
const void *binary,
const EGLint *binarysize);
bool ValidateProgramCachePopulateANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
const void *key,
EGLint keysize,
const void *binary,
EGLint binarysize);
bool ValidateProgramCacheResizeANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint limit,
EGLint mode);
bool ValidateQuerySurfacePointerANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLint attribute,
void *const *value);
bool ValidateCreateStreamProducerD3DTextureANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked,
const AttributeMap &attrib_listPacked);
bool ValidateStreamPostD3DTextureANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked,
const void *texture,
const AttributeMap &attrib_listPacked);
bool ValidateSwapBuffersWithFrameTokenANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLFrameTokenANGLE frametoken);
bool ValidateGetMscRateANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
const EGLint *numerator,
const EGLint *denominator);
bool ValidateExportVkImageANGLE(const ValidationContext *val,
const egl::Display *dpyPacked,
ImageID imagePacked,
const void *vk_image,
const void *vk_image_create_info);
bool ValidateWaitUntilWorkScheduledANGLE(const ValidationContext *val,
const egl::Display *dpyPacked);
bool ValidateGetSyncValuesCHROMIUM(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
const EGLuint64KHR *ust,
const EGLuint64KHR *msc,
const EGLuint64KHR *sbc);
bool ValidateQueryDeviceAttribEXT(const ValidationContext *val,
const egl::Device *devicePacked,
EGLint attribute,
const EGLAttrib *value);
bool ValidateQueryDeviceStringEXT(const ValidationContext *val,
const egl::Device *devicePacked,
EGLint name);
bool ValidateQueryDisplayAttribEXT(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint attribute,
const EGLAttrib *value);
bool ValidateQueryDmaBufFormatsEXT(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint max_formats,
const EGLint *formats,
const EGLint *num_formats);
bool ValidateQueryDmaBufModifiersEXT(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLint format,
EGLint max_modifiers,
const EGLuint64KHR *modifiers,
const EGLBoolean *external_only,
const EGLint *num_modifiers);
bool ValidateCreatePlatformPixmapSurfaceEXT(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
const void *native_pixmap,
const AttributeMap &attrib_listPacked);
bool ValidateCreatePlatformWindowSurfaceEXT(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Config *configPacked,
const void *native_window,
const AttributeMap &attrib_listPacked);
bool ValidateGetPlatformDisplayEXT(const ValidationContext *val,
EGLenum platform,
const void *native_display,
const AttributeMap &attrib_listPacked);
bool ValidateDebugMessageControlKHR(const ValidationContext *val,
EGLDEBUGPROCKHR callback,
const AttributeMap &attrib_listPacked);
bool ValidateLabelObjectKHR(const ValidationContext *val,
const egl::Display *displayPacked,
ObjectType objectTypePacked,
EGLObjectKHR object,
EGLLabelKHR label);
bool ValidateQueryDebugKHR(const ValidationContext *val, EGLint attribute, const EGLAttrib *value);
bool ValidateClientWaitSyncKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked,
EGLint flags,
EGLTimeKHR timeout);
bool ValidateCreateSyncKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
EGLenum type,
const AttributeMap &attrib_listPacked);
bool ValidateDestroySyncKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked);
bool ValidateGetSyncAttribKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked,
EGLint attribute,
const EGLint *value);
bool ValidateCreateImageKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
gl::ContextID ctxPacked,
EGLenum target,
EGLClientBuffer buffer,
const AttributeMap &attrib_listPacked);
bool ValidateDestroyImageKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
ImageID imagePacked);
bool ValidateLockSurfaceKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
const AttributeMap &attrib_listPacked);
bool ValidateQuerySurface64KHR(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLint attribute,
const EGLAttribKHR *value);
bool ValidateUnlockSurfaceKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked);
bool ValidateSetDamageRegionKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
const EGLint *rects,
EGLint n_rects);
bool ValidateSignalSyncKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked,
EGLenum mode);
bool ValidateCreateStreamKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
const AttributeMap &attrib_listPacked);
bool ValidateDestroyStreamKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked);
bool ValidateQueryStreamKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked,
EGLenum attribute,
const EGLint *value);
bool ValidateQueryStreamu64KHR(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked,
EGLenum attribute,
const EGLuint64KHR *value);
bool ValidateStreamAttribKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked,
EGLenum attribute,
EGLint value);
bool ValidateStreamConsumerAcquireKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked);
bool ValidateStreamConsumerGLTextureExternalKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked);
bool ValidateStreamConsumerReleaseKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked);
bool ValidateSwapBuffersWithDamageKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
const EGLint *rects,
EGLint n_rects);
bool ValidateWaitSyncKHR(const ValidationContext *val,
const egl::Display *dpyPacked,
egl::SyncID syncPacked,
EGLint flags);
bool ValidatePostSubBufferNV(const ValidationContext *val,
const egl::Display *dpyPacked,
SurfaceID surfacePacked,
EGLint x,
EGLint y,
EGLint width,
EGLint height);
bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *val,
const egl::Display *dpyPacked,
const egl::Stream *streamPacked,
const AttributeMap &attrib_listPacked);
}
#endif