Commit Graph

  • 7d35ac0e5b Move vertex format to utils. master roz 2023-01-07 06:30:08 +01:00
  • 7384a014ff Improve enum declaration. roz 2023-01-06 18:42:58 +01:00
  • cb763962fd Merge vertex and param formats. roz 2023-01-06 18:40:58 +01:00
  • 39c449a763 Add direct copy when output and input vertex formats are matching. roz 2023-01-06 18:16:10 +01:00
  • a02d8e4d7d Fix unsigned packed vertex format. roz 2023-01-06 18:15:19 +01:00
  • 81d52086fe Rework params packing. roz 2023-01-06 17:05:09 +01:00
  • 16c7c91508 Add function attributes to cmp_memcpy. roz 2023-01-06 17:03:21 +01:00
  • 9181d58ecd Add template for packed ints and fix missing define. roz 2023-01-06 17:02:24 +01:00
  • a6ec35ebd1 Remove heavy optims flags from makefile and add predefined function attributes instead. roz 2023-01-06 17:00:11 +01:00
  • 596caef7ee Move cmp_memcpy into directory utils. roz 2023-01-05 03:39:32 +01:00
  • f463db316f Fix signed integers normalisation. roz 2023-01-04 15:24:18 +01:00
  • 59d13684be Improve typing in render. roz 2023-01-04 12:41:05 +01:00
  • d6ec77207f Cleanup includes. roz 2023-01-04 10:22:12 +01:00
  • b46b4bddba Improve typing in render. roz 2023-01-04 09:33:49 +01:00
  • ebc6ededf3 Improve mesh struct after switching to mesh indices. roz 2023-01-04 09:06:13 +01:00
  • 74b6f58794 Fix redondant modification test in batch sorting. roz 2023-01-03 21:41:03 +01:00
  • 39a95e24c3 Switch to buckets sorting. roz 2023-01-03 21:31:36 +01:00
  • 3e0ea2560a Improve compare-memcopy. roz 2023-01-03 20:50:18 +01:00
  • 558ec08614 Buckets sorting. roz 2023-01-03 16:06:11 +01:00
  • 211762c279 Remove obvious flags from makefile. roz 2023-01-03 16:05:37 +01:00
  • a5adfacdfd Use mesh indices in batch. roz 2023-01-03 14:05:25 +01:00
  • d0741afda7 Stores meshes into vertices. roz 2023-01-03 12:59:07 +01:00
  • 66980e6ea9 Move vertices and indicies buffers to vertices. roz 2023-01-03 11:38:19 +01:00
  • a91a852887 Automatic batch freezing. roz 2023-01-03 11:10:37 +01:00
  • 357066b315 Cleanup makefile. roz 2023-01-03 11:10:14 +01:00
  • baac333b44 Batch freezing. roz 2023-01-03 05:28:24 +01:00
  • ed87f292ff Split batch fill and batch draw. roz 2023-01-02 17:01:36 +01:00
  • afad17d517 Fix interface types and constness. roz 2023-01-02 12:14:13 +01:00
  • beca8798bf Rename create_shader. roz 2023-01-01 08:09:37 +01:00
  • e80bbe2418 Remove begin_frame and end_frame, add clear_buffer. roz 2023-01-01 07:57:10 +01:00
  • ae3333e22e Move samplers bindings to shaders. roz 2022-12-31 13:36:48 +01:00
  • 2095e335ea More errors handling. roz 2022-12-31 12:26:41 +01:00
  • 6ec993c6f8 Some errors handling. roz 2022-12-31 11:52:26 +01:00
  • 38a692bc42 Disable dithering. roz 2022-12-31 11:50:09 +01:00
  • 7706fe3a26 Print max textures layers and max attribs. roz 2022-12-31 11:49:47 +01:00
  • 43d62948b7 Move vertex array and buffers from vertices to batch. roz 2022-12-31 09:38:18 +01:00
  • 1b9ce54100 Quit orphaning and use dynamic buffers. roz 2022-12-31 05:30:42 +01:00
  • 3b21e1610a Batch commands memory optim. roz 2022-12-30 14:49:00 +01:00
  • 628f8bcaa4 Buffer orphaning and subrange update optims. roz 2022-12-30 14:14:32 +01:00
  • 306ac3d312 Add a parameter to enable/disable debug output. roz 2022-12-30 14:11:48 +01:00
  • 7db5304d40 Switch back to SoA parameters. roz 2022-12-30 10:50:56 +01:00
  • 414630ecfd Better framebuffer config selection with sRGB. roz 2022-12-29 19:15:27 +01:00
  • ed6c852102 Rework GL framebuffer config selection. roz 2022-12-29 16:24:37 +01:00
  • 919ba9291f Cleanup GL/GLX extensions. roz 2022-12-29 16:20:42 +01:00
  • 33abfd834a Add mat4_orbit. roz 2022-12-29 08:11:12 +01:00
  • 269d7821c8 Cleanup vertex and params creation, and switch commands and params buffers to dynamic draw. roz 2022-12-27 06:27:08 +01:00
  • af0edd5e6d Add set_param_mat3. roz 2022-12-27 06:20:18 +01:00
  • ad2e89f684 Cleanup mat4 setters. roz 2022-12-27 06:18:51 +01:00
  • 6b33f8285c Add mat3 instances parameters. roz 2022-12-26 14:05:06 +01:00
  • 618e05bcaa Dump extensions (commented out). roz 2022-12-26 14:04:39 +01:00
  • cdfce62c90 Rename TEXTURE_FORMAT_32F to TEXTURE_FORMAT_FLOAT_32. roz 2022-12-25 04:20:19 +01:00
  • e286d33c35 Cleanup pointers types and addrs. roz 2022-12-25 04:05:44 +01:00
  • 026ead0b33 Split display from render and rework init/terminate. roz 2022-12-24 11:27:53 +01:00
  • 0c560890a4 Cleanup: move all GLX stuff into render_context_glx. roz 2022-12-24 07:03:59 +01:00
  • 65b25c8be3 Add button and motion events. roz 2022-12-24 06:36:20 +01:00
  • abd5989de8 Add basic XIM support for key events. roz 2022-12-23 13:28:29 +01:00
  • 61cfdbccf3 Add support for key press and release events. roz 2022-12-23 10:18:26 +01:00
  • ffffffaa79 Remove unnecessary cleanup after build. roz 2022-12-23 10:15:45 +01:00
  • 709974412a Add a buffer method to hide ctypes array contruction. roz 2022-12-23 10:14:05 +01:00
  • 337d7b14f5 Rename _lib to _engine. roz 2022-12-23 10:13:24 +01:00
  • ccce6c5d83 Add vec3_rotate and vec3_mul_vec3. roz 2022-12-20 15:26:53 +01:00
  • abf1e87a36 Cleanup more ctypes bindings. roz 2022-12-20 14:37:27 +01:00
  • 84ea17f1cc Cleanup ctypes bindings. roz 2022-12-20 13:34:07 +01:00
  • eaff99a5b6 Cleanup sized int usage. roz 2022-12-20 07:01:58 +01:00
  • c1b9c0d17e Cleanup params packing. roz 2022-12-20 06:33:31 +01:00
  • ddb9b0598f Cleanup: remove slot from texture. roz 2022-12-19 06:27:34 +01:00
  • 028ba40148 Cleanup: rework resources creation. roz 2022-12-18 03:39:34 +01:00
  • 5c9e10eea8 Change instance parameters from SoA to AoS. roz 2022-12-17 16:50:41 +01:00
  • 17b246469f Update doc. roz 2022-12-17 14:02:02 +01:00
  • f5eafab3e4 Add picture to README. roz 2022-12-17 05:07:52 +01:00
  • 3df976c154 Custom instance parameters. roz 2022-12-17 04:58:19 +01:00
  • fa7f1bdaa9 Remove sRGB framebuffer config filtering and add some debug output. roz 2022-12-16 03:21:10 +01:00
  • 8f3612bed2 Cleanup: remove texlevels from instance params. roz 2022-12-05 05:50:04 +01:00
  • a4bd4a88cc Remove old TODOs. roz 2022-12-05 05:48:54 +01:00
  • af25548752 Fix ctypes binding for load_shader. roz 2022-12-04 03:16:01 +01:00
  • 7e015fda86 Cleanup: remove loading of shader sources. roz 2022-12-04 01:43:35 +01:00
  • d5abbb0415 Cleanup: remove old unimplemented functions declarations. roz 2022-12-04 01:42:27 +01:00
  • 1e56cc1c28 Add mat4_mul_vec3. roz 2022-11-29 03:05:34 +01:00
  • dfc2bbc408 Cleanup: remove projection and views and add setters for mat3 and mat4 instead. roz 2022-09-20 03:10:59 +02:00
  • 59df9e8748 Add mat4_projection and mat4_lookat. roz 2022-09-20 02:54:59 +02:00
  • 601336f1f9 Fix cdll loading path. roz 2022-09-20 02:47:07 +02:00
  • 1855778fa7 Fix GL extensions listing. roz 2022-09-19 02:25:52 +02:00
  • eb15d04f2c Cleanup: move all GLX to render_context_glx. roz 2022-09-19 02:02:58 +02:00
  • 94fa36def4 Remove unused c++20 flag in makefile. roz 2022-09-05 11:49:47 +02:00
  • b3547c90f1 Renderer and Python ctypes bindings. roz 2022-08-28 04:23:13 +02:00
  • c979434612 Initial commit roz 2022-08-28 03:55:34 +02:00