Commit Graph

54 Commits

Author SHA1 Message Date
rdb 9231694f8f gobj: fix Python 3 support for GVADHandle::get_(sub)data/set_(sub)data
That said, you should really be using the buffer protocol; you can create a memoryview() directly around the GeomVertexArrayData.
2018-06-14 14:11:34 +02:00
Sam Edwards 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +02:00
rdb 3077316782 general: use proper deleted funcs instead of stubs with asserts
This gives better compile-time diagnostics and saves on code, while also better communicating intent.
2018-05-23 23:35:27 +02:00
rdb 9fad3dba60 general: remove macros for compatibility with non-C++11 compilers
Now that we require MSVC 2015, we no longer need all this nonsense, so we can write cleaner code.
2018-05-23 23:33:05 +02:00
rdb 39abc66025 gobj: reduce unnecessary use of threading primitives in constructors 2017-12-28 00:20:59 +01:00
rdb 4f299fa71f Fix compilation when building without threads enabled 2017-03-09 14:31:07 +01:00
rdb edb83fe89a Various optimizations to reduce performance overhead of rendering 2017-02-21 02:20:06 +01:00
rdb 8c914a2855 Work towards ABI stability wrt allocation. Let MemoryHook take advantage of dlmalloc's internal bookkeeping. 2017-02-17 13:02:01 +01:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb e4857a58bb Add many more Python properties 2015-12-24 16:17:34 +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 11ed8a4d8d Use dynamic type lookup for interrogate to eliminate inter-module dependencies
It is now no longer necessary to link to core.pyd
Also includes a slight coercion optimization for trivial types
2015-06-06 19:36:40 +02:00
rdb b4bfe7010c A few convenience methods that allow for cleaner code in GSGs 2015-03-31 13:57:02 +02:00
rdb 4a91704958 add copy_data_from version that takes a Python buffer object 2013-10-29 12:14:47 +00:00
rdb cc3bae7e76 Big interrogate cleanup, new extension system, add __iter__ support, add buffer protocol support 2013-09-17 10:11:43 +00:00
David Rose 372532346e GeomVertexData::reserve_num_rows() and related changes--big performance improvement, especially on Windows 2011-03-12 21:42:34 +00:00
David Rose 6090507c4c need true mutexes in a few places for vertex paging 2008-12-31 20:22:27 +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 f411404617 report redundant dups in analyze() 2007-07-23 22:02:42 +00:00
Zachary Pavlov 220d33e006 okay, this is going to be a big commit. The basic idea here is to add transparent defines to allow for directory based dlls later. This will let us build tau again. ugggg 2007-07-20 23:02:51 +00:00
David Rose b5603504b3 fix threaded crash 2007-07-14 05:49:08 +00:00
David Rose c60379d898 AttribNodeRegistry, ordering in BamReader::complete_pointers() 2007-07-07 20:34:16 +00:00
David Rose 8c67180085 add clear() 2007-06-22 23:34:15 +00:00
David Rose a3585abfec lock name, class inheritance 2007-06-22 22:37:13 +00:00
David Rose 5f1b029f42 NeverFreeMemory 2007-06-14 23:15:14 +00:00
David Rose 68c9ef5207 don't prune nonresident geometry in cull--wait until draw 2007-06-07 21:45:33 +00:00
David Rose 39dc3d9c3e add allow-incomplete-render 2007-06-06 21:05:17 +00:00
David Rose 3e5249d89a vertex-data-threaded-paging, pass 1 2007-06-06 02:50:38 +00:00
David Rose 36dfcf2437 fix memory leak 2007-06-03 20:16:00 +00:00
David Rose 820a9fb99b GeomVertexArrayData::get_modified() wasn't getting updated 2007-05-24 22:48:31 +00:00
David Rose fd13c10bbd add VertexArrayBook::save_to_disk() 2007-05-24 01:24:39 +00:00
David Rose 547ff677d1 better vertex paging 2007-05-18 18:19:15 +00:00
David Rose 6f2aae0c37 support flushing vertex data to disk 2007-05-13 15:59:59 +00:00
David Rose 0329972a41 go to pvector<uchar> instead of PTA_uchar for GeomVertexArrayData 2007-05-13 01:12:15 +00:00
David Rose b943c36fae First pass at memory-managed vertices. Might break threaded code. 2007-05-13 00:01:38 +00:00
David Rose d87cae471d more better pstats mem tracking 2007-05-10 14:40:52 +00:00
David Rose d1a06d8f02 correctly release gsg on window close 2007-04-26 00:44:20 +00:00
David Rose 936412fae2 merge cow_thread_2007_04_12: make copy-on-write operations thread-safe 2007-04-19 18:23:10 +00:00
David Rose 63edecf517 faster sprite particles 2007-02-08 19:56:33 +00:00
David Rose 5779007507 more memory tracking stuff 2006-11-24 22:59:44 +00:00
David Rose 26b20ce4ac pstats tracking for texture and vertex data on main memory 2006-11-02 19:31:03 +00:00
David Rose b053967464 fix threading on windows 2006-06-15 23:39:00 +00:00
David Rose 7dc0eabbbb fix compilation errors without threading 2006-05-02 01:47:59 +00:00
David Rose c8eb6c5a82 reduced need for read locks 2006-05-02 00:48:10 +00:00
David Rose ce3afa5f53 preserve current_thread instead of pipeline_stage in PipelineReader objects 2006-04-20 18:38:41 +00:00
David Rose 57338ee24d better windows tau support; better threaded DeletedChain support; beginning PipelineReader classes 2006-04-20 04:03:16 +00:00
David Rose c3303c70b2 make interfaces to move raw texture and vertex data through Python as strings 2006-04-14 00:28:04 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00