Commit graph

325 commits

Author SHA1 Message Date
c6a8590b2c Add a simple unit testing framework 2020-11-24 23:11:40 +03:00
26d06b74d3 Fix util::array::release 2020-11-24 23:11:11 +03:00
bfff9b2c4d Add util::blob::operator bool() and util::blob::swap 2020-11-24 23:10:52 +03:00
1e1679ffe0 Add <functional> include in util::function for std::invoke 2020-11-24 23:10:15 +03:00
75b847ec23 Add geom::lerpn - n-ary baricentric interpolation 2020-11-23 18:14:06 +03:00
c6fe38989c util::function bugfixes & strong exception guarantee 2020-11-23 17:56:35 +03:00
cb468aa675 Remove polymorphic_storage helper 2020-11-22 12:40:31 +03:00
a1cf646633 Rename movable_function -> function & better SSO 2020-11-22 12:40:26 +03:00
8e3a012fd6 Add small object optimization to movable_function 2020-11-22 11:19:49 +03:00
0f1479abbd Implement event_loop using synchronyzed_queue 2020-11-21 23:29:39 +03:00
e41e2492ca Improve synchronyzed_queue interface: support timed variants of all operations 2020-11-21 23:29:17 +03:00
ff5483bfef Update srtm example 2020-11-21 16:27:48 +03:00
0d64e86ffe Add async library & move stuff from util to async 2020-11-21 16:27:38 +03:00
a6b931e8e2 Support auto-canceled tasks 2020-11-21 15:43:42 +03:00
5f91587a39 Add future::ready 2020-11-21 15:32:24 +03:00
ff5d778118 Fix executor::dispatch_at time_point_cast bug 2020-11-21 15:32:14 +03:00
8ecf10de30 Mark future::wait as const 2020-11-21 15:31:55 +03:00
fb9f1d8f30 Fix threadpool name use-after-free bug 2020-11-21 15:31:25 +03:00
240d26663b Add deferred event support to executors 2020-11-21 15:16:47 +03:00
a8a1f44a89 Support deferred events in synchronyzed_queue & remove timeout methods 2020-11-21 15:14:06 +03:00
4fa7e1f824 Logging should start with a capital letter 2020-11-19 23:51:20 +03:00
9fa32c2dd1 Add util::event_loop executor 2020-11-19 23:50:28 +03:00
daf1a3c5f4 Make threadpool implement executor interface 2020-11-19 23:50:23 +03:00
8bfc6cfd72 Add an executor interface that supports cancelable tasks 2020-11-19 23:48:33 +03:00
0a1faf14c7 Add 1D water example 2020-11-15 10:18:35 +03:00
771481a760 SRTM example (wip) 2020-11-13 19:15:03 +03:00
67c6e18ef0 Add framebuffer::read_pixels 2020-11-10 13:23:17 +03:00
34cdba80a1 Use logarithmic Z 2020-11-08 23:39:43 +03:00
63da1987be SRTM example: fix close-view normals by computing them in geometry shader instead 2020-11-08 19:17:22 +03:00
7fa031da00 SRTM example: more todos 2020-11-08 16:25:33 +03:00
65d083d4d7 SRTM example: add todos 2020-11-08 16:21:18 +03:00
71f6fc9baf Add LRU cache implementation 2020-11-08 16:19:37 +03:00
ba9c7a4418 SRTM example (wip) 2020-11-08 16:19:25 +03:00
c89deef9cf Change free camera: any possible orientation now 2020-11-08 16:18:34 +03:00
957493e2e2 Add template deduction guides for transformation classes 2020-11-08 16:15:30 +03:00
42501ec7c2 Add threadpool::queue_size() and synchronyzed_queue::size() 2020-11-08 16:12:42 +03:00
a09eccdf0c SRTM example: use nodes & load height data in a bg thread 2020-11-06 17:35:18 +03:00
1771f56508 Fix all stream output operators: operator<< might return a different stream type 2020-11-06 17:34:57 +03:00
95231632a2 More liberal default maximum thread name length 2020-11-06 17:30:05 +03:00
1a6444d010 Add convex body utilities to cg 2020-11-05 18:11:26 +03:00
26440b0faf Add SRTM rendering example (wip) 2020-11-05 16:55:18 +03:00
e07f2160c5 Fix physics example 2020-11-05 16:53:47 +03:00
dfcec0a1ee Add point-triangle distance 2020-11-05 16:52:05 +03:00
e4be2e9322 Move point-segment distance to distance.hpp 2020-11-05 16:51:55 +03:00
621fac8451 Rewrite point-segment distance 2020-11-05 16:50:25 +03:00
76dd07c266 Add segment-simplex intersection 2020-11-05 16:44:15 +03:00
a1ecc8a2d6 Fix ray-simplex intersection 2020-11-05 16:41:41 +03:00
1bebfebb6d More precise vector length computation 2020-11-05 16:41:02 +03:00
e9b408ef77 Fix unhandled enum warning 2020-11-05 16:36:41 +03:00
d4d463c699 Remove obsolete includes 2020-11-04 10:52:02 +03:00