217 Commits

Author SHA1 Message Date
e607a587c1 fix invalid memory reference 2022-10-29 01:14:15 +09:00
31bbf118e1 improve nf7::AggregatePromise not to ignore errors from children 2022-10-29 01:13:51 +09:00
8ef4abd75e refactor gl::Obj 2022-10-29 00:00:43 +09:00
694e9e34bb improve nf7::NFileWatcher to watch multiple native paths 2022-10-27 23:53:40 +09:00
c1f7328628 implement preprocessor for GLSL 2022-10-27 23:53:22 +09:00
dc3d8b15bf add GLSL version specifier automatically if not provided 2022-10-27 23:24:16 +09:00
05201ef13e enhance nf7::Future::Chain 2022-10-27 23:24:16 +09:00
1ee59aaedf improve usage of opengl PBO and fence 2022-10-26 09:42:02 +09:00
9dada90b78 support GL_ELEMENT_ARRAY_BUFFER 2022-10-25 17:58:22 +09:00
419b9a98e2 commonize codes to lock GL objects using template 2022-10-25 16:34:16 +09:00
d5b5e664d7 use custom enum to represent metadata of GL objects 2022-10-25 11:43:58 +09:00
f869f191f2 split GLenum utility to other file 2022-10-25 11:06:18 +09:00
c42b63da0c add offset parameters in uploading texture through GL/Texture 2022-10-24 09:04:21 +09:00
1e33062e9a implement dowloading GL/Texture 2022-10-22 16:52:42 +09:00
50f270b571 improve nf7::Value interface 2022-10-21 12:49:48 +09:00
ffe3d6265d fix an recursion issue in nf7::luajit::ToValue() 2022-10-21 11:05:43 +09:00
3d14e709b1 add nf7::Value::integerOrScalar() accessor 2022-10-21 11:04:12 +09:00
fcf3dad206 implement draw command of GL/Program 2022-10-19 19:21:52 +09:00
9a637586e2 add new sugar syntax for nf7::Future::Chain 2022-10-19 19:21:03 +09:00
ca5dfb5933 add GL/Framebuffer 2022-10-19 12:25:21 +09:00
38fc3b680a improve GL/Texture to allocate image on initialization 2022-10-19 12:25:09 +09:00
96fd71df07 separate initialization codes of GL objects 2022-10-19 01:06:47 +09:00
0a55250f52 add GL/VertexArray 2022-10-17 17:49:31 +09:00
2c6608ea09 enhance nf7::Future::Then() method to allow caller to choose an executor 2022-10-15 10:29:35 +09:00
451094c9fc add GL/Program 2022-10-15 08:19:07 +09:00
94615b3669 add nf7::AggregatePromise 2022-10-15 08:14:58 +09:00
4e83f7b5e9 add GL/Shader 2022-10-12 10:25:19 +09:00
7ee770e67d add nf7::Future::Chain() method 2022-10-12 10:25:10 +09:00
4b79c5e4df add GL/Texture 2022-10-10 13:03:22 +09:00
58d39739e8 add GL/Buffer 2022-10-10 11:18:34 +09:00
77dc8cef32 improve nf7::Mutex 2022-10-09 17:59:13 +09:00
2edd7d9e88 improve Node interface 2022-10-07 11:53:36 +09:00
cafba96971 improve synchronization in main loop 2022-10-07 11:53:36 +09:00
e3dbcb016d unify LuaJIT/Node and LuaJIT/InlineNode into LuaJIT/Node
add std.import to LuaJIT std lib
2022-10-01 11:10:30 +09:00
5c84d95139 improve an NodeRootLambda interface on LuaJIT 2022-09-30 17:52:32 +09:00
f96188ef14 rename NodeRootSelectLambda -> NodeRootLambda
and improve common/luajit.hh
2022-09-30 17:18:46 +09:00
7d696cfbd9 remove unused headers 2022-09-30 16:29:15 +09:00
c2c4b83918 improve main.cc readability 2022-09-28 13:28:27 +09:00
4f13dd9456 refactor Audio/Device 2022-09-27 11:09:45 +09:00
b949383932 fix an issue that node sockets can be duplicated 2022-09-26 12:45:05 +09:00
5ef347fa2e fix an issue that global table is not applied in lua's main thread 2022-09-26 12:31:06 +09:00
8688ef98b6 add nf7::gui::Config 2022-09-26 12:00:46 +09:00
d0d6a2ebd5 refactor LuaJIT/Node 2022-09-26 12:00:46 +09:00
ab802d02e3 improve nf7::Future for using with const qulifier 2022-09-26 12:00:46 +09:00
007882ccfd fix data race 2022-09-26 02:15:13 +09:00
2082a6e482 enhance Future::Then() 2022-09-26 02:15:13 +09:00
8ffad3347f rename NativeFile -> NFile 2022-09-26 02:15:13 +09:00
7275e9a710 add NFileWatcher 2022-09-26 02:15:13 +09:00
46e6a78682 allow GenericMemento to access data through arrow operator
the arrow allows
2022-09-26 02:15:13 +09:00
09375ced9c restore nf7::Task once removed 2022-09-26 02:15:13 +09:00