From: José Fonseca Date: Thu, 30 May 2013 09:26:04 +0000 (+0100) Subject: egltrace: Support GL_EXT_multisampled_render_to_texture (issue #134). X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=74ccf6e4c33175f809e27570e773073fe79fde96;p=apitrace egltrace: Support GL_EXT_multisampled_render_to_texture (issue #134). --- diff --git a/retrace/CMakeLists.txt b/retrace/CMakeLists.txt index 913c23e..78cceae 100644 --- a/retrace/CMakeLists.txt +++ b/retrace/CMakeLists.txt @@ -18,6 +18,7 @@ add_custom_command ( glretrace.py retrace.py ${CMAKE_SOURCE_DIR}/specs/glapi.py + ${CMAKE_SOURCE_DIR}/specs/glesapi.py ${CMAKE_SOURCE_DIR}/specs/gltypes.py ${CMAKE_SOURCE_DIR}/specs/stdapi.py ) diff --git a/specs/eglapi.py b/specs/eglapi.py index 9149e08..cc95840 100644 --- a/specs/eglapi.py +++ b/specs/eglapi.py @@ -137,6 +137,7 @@ eglapi.addFunctions([ Function(EGLProc, "eglGetProcAddress", [(ConstCString, "procname")]), # EGL_KHR_lock_surface + # EGL_KHR_lock_surface2 Function(EGLBoolean, "eglLockSurfaceKHR", [(EGLDisplay, "display"), (EGLSurface, "surface"), (EGLAttribList, "attrib_list")]), Function(EGLBoolean, "eglUnlockSurfaceKHR", [(EGLDisplay, "display"), (EGLSurface, "surface")]), @@ -144,6 +145,7 @@ eglapi.addFunctions([ Function(EGLImageKHR, "eglCreateImageKHR", [(EGLDisplay, "dpy"), (EGLContext, "ctx"), (EGLenum, "target"), (EGLClientBuffer, "buffer"), (EGLAttribList, "attrib_list")]), Function(EGLBoolean, "eglDestroyImageKHR", [(EGLDisplay, "dpy"), (EGLImageKHR, "image")]), + # EGL_KHR_fence_sync # EGL_KHR_reusable_sync Function(EGLSyncKHR, "eglCreateSyncKHR", [(EGLDisplay, "dpy"), (EGLenum, "type"), (EGLAttribList, "attrib_list")]), Function(EGLBoolean, "eglDestroySyncKHR", [(EGLDisplay, "dpy"), (EGLSyncKHR, "sync")]), diff --git a/specs/glesapi.py b/specs/glesapi.py index 6d51fe0..16f83cb 100644 --- a/specs/glesapi.py +++ b/specs/glesapi.py @@ -255,4 +255,8 @@ glesapi.addFunctions([ #GlFunction(Void, "glProgramUniformMatrix4fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Array(Const(GLfloat), "count*4*4"), "value")]), GlFunction(Void, "glValidateProgramPipelineEXT", [(GLpipeline, "pipeline")]), GlFunction(Void, "glGetProgramPipelineInfoLogEXT", [(GLpipeline, "pipeline"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstring, "infoLog")], sideeffects=False), + + # GL_EXT_multisampled_render_to_texture + #GlFunction(Void, "glRenderbufferStorageMultisampleEXT", [(GLenum, "target"), (GLsizei, "samples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), + GlFunction(Void, "glFramebufferTexture2DMultisampleEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level"), (GLsizei, "samples")]), ])