]> git.cworth.org Git - apitrace/blobdiff - specs/glesapi.py
Take GL_SAMPLER_BINDING in consideration.
[apitrace] / specs / glesapi.py
index 46c6ef02888e363f5b93aa4633e26c9ed1be9cb8..16f83cbd05bd9d3d8d68448a98f387e733117712 100644 (file)
@@ -40,7 +40,7 @@ def GlFunction(*args, **kwargs):
     return Function(*args, **kwargs)
 
 
-glesapi = API('GLES')
+glesapi = Module('GLES')
 
 
 # OpenGL ES specific functions
@@ -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")]),
 ])