X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=helpers%2Feglsize.hpp;h=a2014f61db84a029557a0a100fbd8ac055bf1591;hb=122c9879c2d4361ee4c46e95f348b6032efeb8f6;hp=edb2fa64734a6df3aa780db26183c1eb6bd7728a;hpb=2b745f6c67ac66bb31d6e4da6436a031f9c9ae42;p=apitrace diff --git a/helpers/eglsize.hpp b/helpers/eglsize.hpp index edb2fa6..a2014f6 100644 --- a/helpers/eglsize.hpp +++ b/helpers/eglsize.hpp @@ -32,33 +32,26 @@ #ifndef _EGLSIZE_HPP_ #define _EGLSIZE_HPP_ -struct image_info -{ - int width; - int height; -}; -struct image_blob +#include "glimports.hpp" + + +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