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
Notes:
sideshowbarker
2024-07-17 06:09:44 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/2a749525e0 Pull-request: https://github.com/SerenityOS/serenity/pull/23180
1 changed files with 56 additions and 0 deletions
|
@ -48,6 +48,12 @@
|
|||
{"type": "GLubyte const*", "name": "bitmap"}
|
||||
]
|
||||
},
|
||||
"BlendEquation": {
|
||||
"arguments": [
|
||||
{"type": "GLenum", "name": "mode"}
|
||||
],
|
||||
"unimplemented": true
|
||||
},
|
||||
"BlendFunc": {
|
||||
"arguments": [
|
||||
{"type": "GLenum", "name": ["sfactor", "dfactor"]}
|
||||
|
@ -468,6 +474,15 @@
|
|||
],
|
||||
"implementation": "get_program"
|
||||
},
|
||||
"GetShaderInfoLog": {
|
||||
"arguments": [
|
||||
{"type": "GLuint", "name": "shader"},
|
||||
{"type": "GLsizei", "name": "maxLength"},
|
||||
{"type": "GLsizei*", "name": "length"},
|
||||
{"type": "GLchar*", "name": "infoLog"}
|
||||
],
|
||||
"unimplemented": true
|
||||
},
|
||||
"GetShaderiv": {
|
||||
"arguments": [
|
||||
{"type": "GLuint", "name": "shader"},
|
||||
|
@ -506,6 +521,13 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"GetUniformLocation": {
|
||||
"arguments": [
|
||||
{"type": "GLuint", "name": "program"},
|
||||
{"type": "GLchar const*", "name": "name"}
|
||||
],
|
||||
"unimplemented": true
|
||||
},
|
||||
"Hint": {
|
||||
"arguments": [
|
||||
{"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": {
|
||||
"arguments": [
|
||||
{"type": "GLuint", "name": "program"}
|
||||
|
|
Loading…
Add table
Reference in a new issue