Commit graph

12 commits

Author SHA1 Message Date
John Preston
c80df2cdd2 Ensure correct FBO size in QOpenGLWidget. 2023-03-13 15:56:17 +04:00
John Preston
29f339e26e Allow Ui::GL::Renderer::deinit on lost context. 2021-09-03 21:41:12 +03:00
John Preston
2439235e42 Remove CurrentSingleComponentFormat. 2021-07-22 15:49:33 +03:00
John Preston
ed6c2cb541 Use GL_BGRA_EXT format with ANGLE. 2021-07-14 20:03:22 +03:00
John Preston
9255d71038 Suggest single-component texture format. 2021-06-30 11:47:15 +03:00
John Preston
4837b47623 Fix Image::texturedRect() before Image::bind(). 2021-06-15 16:47:06 +04:00
John Preston
4ae6d31963 Allow setting other filter/clamp in GL::Textures. 2021-06-08 11:08:55 +04:00
John Preston
45c476da3a Fix working with OpenGL images. 2021-06-03 16:34:28 +04:00
John Preston
0df1579d4a Support sub-image updating in Ui::GL::Image. 2021-06-03 11:07:21 +04:00
John Preston
28b72295ab Add framebuffers wrapper class. 2021-05-29 12:29:26 +04:00
John Preston
808f8c7dea Add some utilities for OpenGL shaders. 2021-05-25 14:54:41 +04:00
John Preston
2a26d4a91a Add texture / image OpenGL helper. 2021-05-25 12:07:11 +04:00