19 Commits

Author SHA1 Message Date
31924ce5b2 use tracy profiler's features 2022-11-20 12:30:40 +09:00
7489bad3f8 fix use of invalid memory in GL/Framebuffer 2022-11-13 12:15:04 -08:00
9038511525 enable alpha blending in drawing by GL/Program 2022-11-12 22:41:10 +09:00
b15eee5d9c fix deadlock caused by double locking of GL objects 2022-11-12 11:52:59 +09:00
8f6ff99136 improve ugly codes in locking OpenGL objects 2022-11-03 10:59:28 +09:00
08fcda65ca fix an issue that depth config is not applied to OpenGL program 2022-10-31 13:12:16 +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
8ef4abd75e refactor gl::Obj 2022-10-29 00:00:43 +09:00
dc3d8b15bf add GLSL version specifier automatically if not provided 2022-10-27 23:24:16 +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
c42b63da0c add offset parameters in uploading texture through GL/Texture 2022-10-24 09:04:21 +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