mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +00:00
LibGL: Add API stubs
- glBlendEquation - glGetShaderInfoLog - glGetUniformLocation - glUniform* This gives us full API coverage for the SRB2 port.
This commit is contained in:
parent
e18bc2a748
commit
2a749525e0
1 changed files with 56 additions and 0 deletions
|
@ -48,6 +48,12 @@
|
||||||
{"type": "GLubyte const*", "name": "bitmap"}
|
{"type": "GLubyte const*", "name": "bitmap"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BlendEquation": {
|
||||||
|
"arguments": [
|
||||||
|
{"type": "GLenum", "name": "mode"}
|
||||||
|
],
|
||||||
|
"unimplemented": true
|
||||||
|
},
|
||||||
"BlendFunc": {
|
"BlendFunc": {
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{"type": "GLenum", "name": ["sfactor", "dfactor"]}
|
{"type": "GLenum", "name": ["sfactor", "dfactor"]}
|
||||||
|
@ -468,6 +474,15 @@
|
||||||
],
|
],
|
||||||
"implementation": "get_program"
|
"implementation": "get_program"
|
||||||
},
|
},
|
||||||
|
"GetShaderInfoLog": {
|
||||||
|
"arguments": [
|
||||||
|
{"type": "GLuint", "name": "shader"},
|
||||||
|
{"type": "GLsizei", "name": "maxLength"},
|
||||||
|
{"type": "GLsizei*", "name": "length"},
|
||||||
|
{"type": "GLchar*", "name": "infoLog"}
|
||||||
|
],
|
||||||
|
"unimplemented": true
|
||||||
|
},
|
||||||
"GetShaderiv": {
|
"GetShaderiv": {
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{"type": "GLuint", "name": "shader"},
|
{"type": "GLuint", "name": "shader"},
|
||||||
|
@ -506,6 +521,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"GetUniformLocation": {
|
||||||
|
"arguments": [
|
||||||
|
{"type": "GLuint", "name": "program"},
|
||||||
|
{"type": "GLchar const*", "name": "name"}
|
||||||
|
],
|
||||||
|
"unimplemented": true
|
||||||
|
},
|
||||||
"Hint": {
|
"Hint": {
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{"type": "GLenum", "name": "target"},
|
{"type": "GLenum", "name": "target"},
|
||||||
|
@ -1137,6 +1159,40 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Uniform": {
|
||||||
|
"arguments": [
|
||||||
|
{"type": "GLint", "name": "location"},
|
||||||
|
{"name": ["v0", "v1", "v2", "v3"]}
|
||||||
|
],
|
||||||
|
"unimplemented": true,
|
||||||
|
"variants": {
|
||||||
|
"argument_counts": [1, 2, 3, 4],
|
||||||
|
"argument_defaults": ["0.", "0.", "0.", "0."],
|
||||||
|
"types": {
|
||||||
|
"f": {},
|
||||||
|
"i": {},
|
||||||
|
"ui": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Uniform_v": {
|
||||||
|
"arguments": [
|
||||||
|
{"type": "GLint", "name": "location"},
|
||||||
|
{"type": "GLsizei", "name": "count"},
|
||||||
|
{"name": "value"}
|
||||||
|
],
|
||||||
|
"name": "Uniform",
|
||||||
|
"unimplemented": true,
|
||||||
|
"variants": {
|
||||||
|
"argument_counts": [1, 2, 3, 4],
|
||||||
|
"pointer_argument": "value",
|
||||||
|
"types": {
|
||||||
|
"fv": {},
|
||||||
|
"iv": {},
|
||||||
|
"uiv": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"UseProgram": {
|
"UseProgram": {
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{"type": "GLuint", "name": "program"}
|
{"type": "GLuint", "name": "program"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue