Commit graph

347 commits

Author SHA1 Message Date
386ac2a518 Don't call glUniformBlockBinding for unused uniform blocks 2022-11-30 17:34:59 +03:00
d1884e4e83 Support multisample textures in framebuffers 2022-11-30 17:34:21 +03:00
a758535700 Implement multisample textures 2022-11-30 17:33:17 +03:00
f8846e8c06 Support multisample renderbuffers 2022-11-30 17:32:38 +03:00
52bb516d5c Initialize gfx objects id to 0 in class instead of constructor 2022-11-30 17:31:47 +03:00
03976206ce Store allocated gfx::renderbuffer size 2022-11-30 17:26:43 +03:00
182de08811 Add gfx::renderbuffer::target 2022-11-30 17:25:13 +03:00
ce287c0416 Support loading data from util::span to gfx::buffer 2022-08-19 09:48:21 +03:00
5f3b07573e Support retrieving available GPU memory size 2022-08-14 22:59:14 +03:00
19d8637f7a Update gl.cpp 2022-08-14 22:40:20 +03:00
8d6cf511aa Export variables that force use of dedicated discrete GPUs 2022-08-14 22:20:24 +03:00
3ca9c8b16e Add buffer textures 2022-07-29 18:58:41 +03:00
ec6bd1d60b Don't throw on invalid uniform block index 2022-07-28 13:51:45 +03:00
f574850621 Fix setting up instanced VAO attribs using gfx::setup 2022-06-30 23:08:13 +03:00
bd7f8e6658 Add gfx::array::operator bool 2022-06-30 23:07:51 +03:00
abc0af2a79 Setup gfx::mesh when loading imported mesh 2022-06-30 14:06:02 +03:00
b519391f83 Fix gfx::bone_transform::matrix 2022-06-23 00:10:17 +03:00
8d2f244d0d Support gfx::compile armature pose ignoring local bone coordinate systems 2022-06-22 18:04:39 +03:00
a439d33b0f Support setting uniform block indices in gfx::program 2022-06-22 18:03:04 +03:00
a9cb71629e Support binding gfx::buffer via glBindBufferBase 2022-06-22 18:01:35 +03:00
f0c63bac7a Support loading sRGB textures 2022-06-20 22:11:50 +03:00
0bddeaf865 Add ordered dither mask generation to gfx 2022-06-18 17:35:50 +03:00
302e5e888f Support gfx::texture::mirrored_repeat 2022-06-18 15:18:49 +03:00
9edf94be0c Clang compilation fixes 2022-06-11 13:58:54 +03:00
36123f0a7d Move profiler to a separate library to break io <- util dependence 2022-06-09 11:23:53 +03:00
b0fd3562cf Add color hex output 2022-05-28 20:07:21 +03:00
b6fd6630dc Add color (un)premultiplication utils 2022-05-28 18:54:17 +03:00
7b99158b4d Add color from text parsing 2022-05-21 21:44:38 +03:00
f21fa3c2d6 Store texcoords as float in texture_view 2022-05-19 11:23:42 +03:00
ecfda88eac Tweak default fonts appearance & glyph locations 2022-05-17 19:57:37 +03:00
a3d5a424dd Add sRGB <-> linear conversion for pixmaps 2022-05-17 12:54:08 +03:00
565ab68682 Add gfx::to_srgb/to_linear for colors 2022-05-17 12:54:08 +03:00
aa27b47723 Support item padding in gfx::texture_atlas 2022-05-14 00:01:45 +03:00
366a0653b5 Add image-load-store OpenGL extension 2022-04-22 10:37:14 +03:00
fc514577a1 Support compute shader in gfx::program 2022-04-22 10:21:14 +03:00
49607f5896 Update generated OpenGL wrapper to support compute shaders extension 2022-04-22 10:21:00 +03:00
30b3536d72 Replace query_array with a more useful query_poll 2022-04-21 23:16:45 +03:00
86296209c8 Remove query_array usage from deferred renderer 2022-04-21 23:16:24 +03:00
8d41e7fcd9 Add gfx::texture_atlas_2d::used_pixels() 2022-03-13 18:00:47 +03:00
d14763792d Add 10x12 bold font atlas 2022-03-12 17:49:27 +03:00
75e6db45f1 Redesign resources system: centralized id-based resource registry 2022-03-07 00:05:40 +03:00
50b75bdd27 Make blur effect alpha-aware 2022-02-26 14:33:26 +03:00
13b47877ce Revert adding cell borders in default font 2022-02-23 14:12:32 +03:00
39cbb8b60d Fix gfx::texture_view::size 2022-02-17 18:52:31 +03:00
68e8ece70a Add outlines for default font glyphs for better inspection 2022-02-15 16:24:32 +03:00
45b3369bc9 Add texture atlas implementation 2022-02-10 13:29:47 +03:00
d01008114b Add gfx::texture_view specifying a part of existing texture 2022-02-10 13:29:17 +03:00
b724b8d68a Add inverse(bone_transform) 2021-08-12 21:51:11 +03:00
4dcd85021e Add bone_transform * vector and * point 2021-08-12 21:04:36 +03:00
69c0ce8c59 Make imported mesh attributes' indices fixed 2021-08-05 16:29:47 +03:00