Timothy Flynn
4a916cd379
Everywhere: Remove needless copies of Error / ErrorOr instances
...
Either take the underlying objects with release_* methods or move() the
instances around.
2023-02-10 09:08:52 +00:00
Timothy Flynn
f1de4f8872
Everywhere: Convert known short-strings to the infallible String factory
...
For now, this is limited to strings that are 3 bytes or less. We can use
7 bytes on 64-bit platforms, but we do not yet assume 64-bit for Lagom
hosts (e.g. wasm).
2023-01-20 14:24:12 -05:00
Stephan Unverwerth
4ad41e6680
LibGL: Use LibGLSL to compile shaders
2022-12-17 22:39:09 -07:00
Stephan Unverwerth
424e0a2792
LibGL: Implement glGetShaderiv
2022-12-17 22:39:09 -07:00
Stephan Unverwerth
848f1d2689
LibGL: Make shader compilation and program linking always succeed
...
This will help with testing until the actual compilation infrastructure
is in place.
2022-12-17 22:39:09 -07:00
Stephan Unverwerth
b975569a40
LibGL: Add Shader and Program class stubs
2022-12-17 22:39:09 -07:00