]> git.cworth.org Git - apitrace/commitdiff
egltrace: Support GL_EXT_multisampled_render_to_texture (issue #134).
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 30 May 2013 09:26:04 +0000 (10:26 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 30 May 2013 09:26:04 +0000 (10:26 +0100)
retrace/CMakeLists.txt
specs/eglapi.py
specs/glesapi.py

index 913c23e1d201a43c0484a1eee188de1165a905d5..78cceae33bd7c1aa67b51573d2e139d855c2b043 100644 (file)
@@ -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
 )
index 9149e08ec75ec2499293e3539f743094689d7d3f..cc9584087891833ced125d243587fc4f2eacfe3d 100644 (file)
@@ -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")]),
index 6d51fe07e4ff8f2294943cdd52cc177ae27875a0..16f83cbd05bd9d3d8d68448a98f387e733117712 100644 (file)
@@ -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")]),
 ])