Wunkolo
dbf0597bd8
Add DebugScope
utility-class for RAII-based OpenGL debug-scopes
...
Simply define this object in a C++ scope like:
```cpp
OpenGL::DebugScope glScope("Renderer::display");
```
and it will associate all functions within the current scope within a
named group. Supports `printf` formatting.
2023-06-20 10:10:11 -07:00
Wunkolo
1251cecc88
Add setObjectLabel
for naming OpenGL functions
...
Add `OPENGL_PRINTF_FORMAT` and `OPENGL_PRINTF_FORMAT_ATTR` macros for providing
printf diagnostic information across platforms.
2023-06-19 23:48:16 -07:00
Mary
f3010f0909
misc: Switch from gl3w to glad
...
Also add more checks on window and context creation.
2023-06-17 11:26:18 +02:00
wheremyfoodat
936302da2a
Raise clang-format column size, make std::span support in opengl.hpp version-dependent
2023-06-16 22:06:59 +03:00
Wunkolo
553d23974a
Use std::span
to pass vertex data
...
Starts utilizing
[std::span](https://en.cppreference.com/w/cpp/container/span ) to
indicate a non-owning view of a contiguous array of elements rather than
`T* data, usize count`.
2023-06-16 07:28:35 -07:00
wheremyfoodat
d79fd1e198
[OpenGL HAL] Add createDSTexture
2023-03-03 00:58:57 +02:00
wheremyfoodat
e41932ec2f
[OpenGL library] More texture options
2023-02-06 00:40:13 +02:00
wheremyfoodat
1b7c38e27f
[OpenGL] Better deallocation scheme
2023-01-02 23:35:34 +02:00
wheremyfoodat
be4fae5104
Trongle
2022-09-24 02:45:57 +03:00
wheremyfoodat
68698ae7a7
Add GSP::GPU::AcquireRight
2022-09-18 17:30:26 +03:00
wheremyfoodat
51689af51f
Update opengl.hpp, start with ELFs
2022-09-15 14:59:44 +03:00
wheremyfoodat
b5371dc66c
Initial commit (I really need to remove Boost)
2022-09-15 04:47:14 +03:00