X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=helpers%2Feglsize.hpp;h=3da79d120c7e4883e76772ad793d90f12abfd3be;hb=621d0b3f841872e7d73465a7ec55afebad17bfdb;hp=edb2fa64734a6df3aa780db26183c1eb6bd7728a;hpb=2b745f6c67ac66bb31d6e4da6436a031f9c9ae42;p=apitrace diff --git a/helpers/eglsize.hpp b/helpers/eglsize.hpp index edb2fa6..3da79d1 100644 --- a/helpers/eglsize.hpp +++ b/helpers/eglsize.hpp @@ -32,33 +32,28 @@ #ifndef _EGLSIZE_HPP_ #define _EGLSIZE_HPP_ -struct image_info -{ - int width; - int height; -}; +#ifndef _WIN32 + +#include "glimports.hpp" + -struct image_blob +struct image_info { - struct image_info info; - char data[1]; + GLint internalformat; + GLsizei width; + GLsizei height; + GLenum format; + GLenum type; + GLsizei size; + GLvoid * pixels; }; -void -_eglDestroyImageKHR_epilog(EGLImageKHR image); +struct image_info * +_EGLImageKHR_get_image_info(GLenum target, EGLImageKHR image); void -_eglCreateImageKHR_epilog(EGLDisplay dpy, EGLContext ctx, EGLenum target, - EGLClientBuffer buffer, const EGLint *attrib_list, - EGLImageKHR image); - -size_t -_glEGLImageTargetTexture2DOES_size(GLint target, EGLImageKHR image); +_EGLImageKHR_free_image_info(struct image_info *info); -void * -_glEGLImageTargetTexture2DOES_get_ptr(GLenum target, EGLImageKHR image); - -void -_glEGLImageTargetTexture2DOES_put_ptr(const void *buffer); +#endif // !defined(_WIN32) #endif