317 Commits

Author SHA1 Message Date
4de72c20af implement Texture Viewer for GL/Texture 2022-10-31 12:18:27 +09:00
2a2c8f3109 fix an issue that unfinalized future might be refered 2022-10-29 22:55:32 +09:00
20b5217869 add string manipulation library to std table in LuaJIT 2022-10-29 22:54:43 +09:00
0cb8468a58 support drawing with depth test in GL/Program 2022-10-29 11:56:55 +09:00
fa1a29c325 support depth/stencil buffer 2022-10-29 11:50:42 +09:00
9fc39b986a (WIP) improve GL/Framebuffer to use depth/stencil buffers 2022-10-29 01:15:10 +09:00
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
1b424e299c implement automatic-cache-dropping of GL objects 2022-10-26 10:44:19 +09:00
3c09ac4491 enhance logging in OpenGL actions 2022-10-26 10:38:17 +09:00
1ee59aaedf improve usage of opengl PBO and fence 2022-10-26 09:42:02 +09:00
42738f4923 implement drawing with texture in GL/Program 2022-10-25 23:26:47 +09:00
af19f7807d fix behavior of download command in GL/Texture 2022-10-25 17:58:22 +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
ecb7fca1e8 support uniform variables in GL/Program 2022-10-21 12:50:09 +09:00
50f270b571 improve nf7::Value interface 2022-10-21 12:49:48 +09:00
e927179176 fix deadlock when failed to fetch VAO or FBO while GL/Program drawing 2022-10-21 11:09:18 +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
a19b7636fa fix CMake CMP0135 issues
3b0d86c0a523c733c7a4759e9e9b7b6937f6eea6 wasn't worked actually :(
2022-10-21 09:56:20 +09:00
c59d3e2f29 support GL/Program instanced drawing 2022-10-20 13:31:13 +09:00
7f90b40236 allow user to specify viewport before GL/Program drawing 2022-10-20 13:22:10 +09:00
396bebf6b5 implement clearing framebuffer 2022-10-20 13:09:39 +09:00
3b0d86c0a5 fix an issue of configuration on older CMake 2022-10-20 13:09:20 +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