Commit Graph

38 Commits

Author SHA1 Message Date
rdb c59a039fa8 pgraph: fix RenderState/TransformState count in PStats exploding
This was a regression in 1.10.6 that caused PStats to misreport the amount of RenderState/TransformStates in the application.
2020-04-25 23:39:03 +02:00
rdb 90f96fc1a9 Change SimpleHashMap implementation to improve performance of GC.
The new implementation stores elements contiguously and keeps a separate sparse array of indices, similar to the new PyPy and CPython implementations.  This vastly improves performance when iterating over the individual elements, such as when garbage collecting states, and decreases memory usage.
2017-06-12 19:58:02 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 18ad6d1543 Replace many int params with size_t params where appropriate, and work towards fixing type conversion warnings 2015-10-07 18:58:26 +02:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 220ba658a0 new, experimental TransformState seems to work better for multithreading 2011-09-04 02:52:41 +00:00
David Rose e41d03482f fix TransformState leak 2009-03-11 00:21:01 +00:00
David Rose 0e885a8481 update deprecated comment 2009-03-09 18:06:30 +00:00
David Rose d4c2c9858d SIMPLE_THREADS_NO_MUTEX -> LightMutex 2008-10-08 23:23:40 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 48469532e2 more cache debugging methods 2007-09-20 18:19:38 +00:00
David Rose 15a52aa29f SimpleHashMap 2007-07-21 00:02:14 +00:00
David Rose 68cd3322a9 better thread protection in reference counts, esp. TransformState etc. 2007-07-14 21:32:48 +00:00
David Rose 1343e40e31 fix problem with non-normalized quat 2006-09-05 06:39:27 +00:00
David Rose b81fdf5f9d revisiting hashtables 2006-09-01 22:27:21 +00:00
David Rose fade04905d more mutex protection; more current_thread passing 2006-04-28 16:17:55 +00:00
David Rose 9e986fce40 make PStats more thread-friendly 2006-04-09 20:17:26 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00
David Rose b7fd641aa9 fixes to MultitexReducer 2006-03-08 00:24:31 +00:00
David Rose 726410e386 regularize vec3's a bit 2005-10-21 23:56:40 +00:00
David Rose 9cf428352d add TransformState::get_inverse() 2005-09-09 14:39:48 +00:00
David Rose 65458d9edd introduce 2-d TransformStates 2005-07-21 23:46:15 +00:00
David Rose bc0d509090 bam 5.0, new Geom implementation is now official 2005-06-30 17:42:21 +00:00
David Rose e001e35a60 support point sprites in more cases, for instance under render2d and under a scale 2005-05-25 12:27:42 +00:00
David Rose 977f692331 NodeCachedReferenceCount 2005-05-09 13:59:15 +00:00
David Rose 63a777ed78 fix list_cycles() 2004-09-13 17:26:16 +00:00
David Rose cf44a95d84 fix leak due to cyclic RenderState reference counts 2004-09-13 16:29:57 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose 889be29b47 add session recording and playback 2004-01-30 18:20:47 +00:00
David Rose 344ca11ffd add explicit support for shear to the scene graph 2003-07-23 23:03:04 +00:00
David Rose b0355be74e be less restrictive with transforms 2002-10-03 22:03:22 +00:00
David Rose bddbd6788b support output of event parameter, spam in data graph 2002-08-21 20:36:06 +00:00
David Rose bc946860e6 add get_quat() and get_uniform_scale() 2002-06-20 00:12:41 +00:00
David Rose 83400f5f7f fix circular cleanup in TransformState and RenderState 2002-03-28 19:34:09 +00:00
David Rose 33c59b176b pgraph nodepath fixes, pstats, invalid transforms 2002-03-07 19:39:04 +00:00
David Rose c7d0e2d117 pgraph NodePath 2002-03-07 02:45:21 +00:00
David Rose 063c2cafff new scene graph, transforms and cameras 2002-02-26 23:23:39 +00:00