Commit graph

168 commits

Author SHA1 Message Date
1582b341d3 Support child nodes & node transforms in gltf parser 2023-02-01 20:35:32 +03:00
0e84751ac9 Make gfx::gltf_mesh return empty primitive span if mesh wasn't found 2023-01-25 13:01:03 +03:00
ce1809e50d Support material names & emission in gltf parser 2023-01-24 12:01:51 +03:00
fdcf0d5b88 MacOS fixes 2023-01-16 23:53:34 +03:00
8e286a2cc0 Load gltf textures as sRGB 2023-01-15 22:57:14 +03:00
437714288b Refactor gltf_mesh 2023-01-14 03:35:12 +03:00
514f4006ef Parse textures in gltf_parser 2023-01-14 03:35:03 +03:00
c980e72e14 Make gfx::gltf_mesh::mesh::primitive::draw const 2023-01-07 02:46:40 +03:00
13590ff9e5 Add gltf asset parser & mesh generator 2023-01-07 02:26:26 +03:00
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
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
ec6bd1d60b Don't throw on invalid uniform block index 2022-07-28 13:51:45 +03:00
abc0af2a79 Setup gfx::mesh when loading imported mesh 2022-06-30 14:06:02 +03:00
a439d33b0f Support setting uniform block indices in gfx::program 2022-06-22 18:03:04 +03:00
0bddeaf865 Add ordered dither mask generation to gfx 2022-06-18 17:35:50 +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
7b99158b4d Add color from text parsing 2022-05-21 21:44:38 +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
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
69c0ce8c59 Make imported mesh attributes' indices fixed 2021-08-05 16:29:47 +03:00
bc7378456b Add gfx::mesh::create(imported_mesh) 2021-07-24 10:13:57 +03:00
1b6bc9a449 Add name parameter to framebuffer::assert_complete for better error reporting 2021-07-21 23:46:30 +03:00
de1950f1a6 Rewrite mesh exporter to support armature & poses 2021-07-13 11:55:57 +03:00
0af7e8f274 Support setting program uniform by location 2021-07-13 11:54:22 +03:00
d73ce27c32 Optimize program uniform location cache 2021-07-13 11:53:58 +03:00
1cc5d28761 Support integer vertex attributes 2021-07-13 11:46:46 +03:00
96652584a9 Turn gfx::buffer to a templated gfx::basic_buffer to support different buffer types 2021-07-13 11:44:23 +03:00
39855a5d84 Make gfx::load_mesh return structured data instead of a tuple 2021-07-11 11:38:00 +03:00
25153001c0 Proper move, reset & null-construct for gfx::program 2021-07-04 23:17:33 +03:00
6994b23fdb Support interpolated line color in gfx::painter 2021-06-20 15:53:08 +03:00
4ab4788eca Support drawing quadratic besier lines in gfx::painter 2021-06-13 14:14:37 +03:00
ebda20ff9c Support drawing multi-color triangles in gfx::painter 2021-06-13 14:14:25 +03:00
ed41bc6583 Explicit circle quality parameter for gfx::painter::circle 2021-06-13 12:30:18 +03:00
99e72c552b Support printing context to gfx::check_error 2021-05-29 18:38:28 +03:00
b8ac384770 Implement 2D convex separation routine & change separation return type 2021-05-07 17:37:45 +03:00
eecc054870 Use io::stream for png input 2021-04-20 15:11:41 +03:00