rdb
1b1d80cd27
More thoroughly fix issues with pickling Panda objects in Python 3
...
This also adds DatagramBuffer, a class for writing datagrams to memory and reading them from there again.
2017-11-08 00:02:35 +01:00
rdb
dd2806c8bd
Mark constructors 'explicit' for which coercion makes no sense
2017-11-06 19:47:38 +01:00
rdb
8078fa2b38
More efficiently store SimpleHashMap with empty values
2017-10-17 23:04:16 +02:00
rdb
35349b6224
Expose DatagramOutputFile to Python, add props to DatagramSink
2017-09-17 01:38:59 +02:00
rdb
925ce854d0
general: make DO_MEMORY_USAGE setting not change ABI compatibility
2017-07-10 19:50:09 +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
rdb
6b882ac767
Fix slow garbage collect after using a lot of states
2017-06-09 20:12:49 +02:00
rdb
a71a89acc2
putil: make UpdateSeq a literal type
2017-05-15 16:34:13 +02:00
rdb
6f8b379bda
Big patch full of performance improvements
...
This particularly benefits applications with a lot of nodes.
2017-04-03 01:41:23 +02:00
rdb
edb83fe89a
Various optimizations to reduce performance overhead of rendering
2017-02-21 02:20:06 +01:00
rdb
a15d84dbeb
Fix compile errors and warnings in MSVC 2010 / GCC 4.6
2017-01-12 15:18:48 +01:00
rdb
e60d1e292e
Make better use of C++ rules for implicit generation; allow PointerTo and some mutex impls to be static initialised
2017-01-12 12:34:15 +01:00
rdb
41d26284d7
Fix various compilation issues on Mac.
...
Work around bugs in Apple Clang that ships with XCode 4 with C++11 by disabling constexpr
Use move() instead of std::move()
It also looks like we'll have to continue using pystub for tools that use libp3interrogatedb for now.
2017-01-08 17:17:56 -05:00
rdb
7d414500c6
Various compile fixes
2016-12-22 11:34:47 +01:00
rdb
b21e8fdf32
COW performance tweaks; also somehow fixes Bullet soft body issue
2016-12-11 15:30:03 +01:00
rdb
08ea4bf2e5
Merge branch 'release/1.9.x'
2016-09-14 20:57:26 +02:00
rdb
2c651dc96b
Fix is_playing() when playing an animation backwards
2016-09-14 20:55:57 +02:00
deflected
234e7eefee
loader: Added loading of 2D texture array
...
Signed-off-by: deflected <deflected@users.noreply.github.com>
2016-09-12 13:21:23 +03:00
rdb
70f10a70d1
Merge branch 'release/1.9.x'
2016-09-12 00:48:03 +02:00
rdb
632ad5e3ef
Acquire mutex in cache_unref() - fixes race cond in async flatten
2016-09-12 00:36:36 +02:00
rdb
47388b0dbc
Separate out CPython calls from core libs; eliminate need for pystub
2016-07-20 14:30:41 +02:00
rdb
8381118a97
Assorted tweaks and compile warning fixes
2016-07-14 12:54:39 +02:00
rdb
6f168446d0
Merge branch 'release/1.9.x'
2016-07-12 14:57:48 +02:00
rdb
7b7bf93118
Fix frame chug when loading big model asynchronously (LP #1019599 )
2016-07-12 11:27:52 +02:00
rdb
9963fe2c3c
Fix a couple of compile warnings, reduce unnecessary includes
2016-06-23 22:59:50 +02:00
rdb
8d05ef3022
Assorted fixes
2016-06-03 22:23:42 +02:00
rdb
18874fa151
Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
...
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
rdb
ce29ae490d
Interrogate improvements, more properties, MAKE_SEQ_PROPERTY
2016-05-11 00:16:53 +02:00
rdb
a2ae62dbda
Introduce ability to write older .bam versions, down to 6.21
...
See https://www.panda3d.org/manual/index.php/Dev:Bam_Format
2016-04-29 16:30:41 +02:00
rdb
33ed30b178
Support defining bam factory functions in Python
2016-04-09 19:28:33 +02:00
rdb
f0cd1ce315
ColorBlendAttrib: support separate alpha mode and dual-src blend. bam 6.42
2016-04-08 15:44:57 +02:00
rdb
15b0ba45f9
Fix broken pickling in Python 3 build
2016-03-31 16:49:27 +02:00
rdb
2971915618
Bam 6.41: lenses and light changes, add max_distance
2016-03-02 17:54:49 +01:00
rdb
d50a326ca7
Fix silly multiple uncompress&recompress when generating mips for compressed texture
2016-02-29 19:49:48 +01:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
0a366e987f
Merge branch 'release/1.9.x'
...
Conflicts:
panda/src/glstuff/glGraphicsStateGuardian_src.cxx
panda/src/putil/bamReader.h
2016-01-26 11:45:04 +01:00
rdb
ea368dd559
Bam reader robustness; allow threaded bam reading from Python
2016-01-26 11:35:04 +01:00
rdb
bb85b261f8
Expose more properties to Python
...
Rename "from" to "from_solid" to avoid clashing with Python keyword
2016-01-13 21:29:34 +01:00
rdb
6eb460c359
Add ability to cache compiled GLSL shaders, remove unused ShaderUtilization
2016-01-13 19:58:11 +01:00
rdb
41fad59ae8
bam 6.40: support writing NodePaths, allows instanced lights and clip planes
2016-01-11 15:04:06 +01:00
rdb
3393454582
Metalness workflow PBR stuff, support light color temperatures, make light specular color tied to light color by default
2016-01-09 16:08:33 +01:00
rdb
e4857a58bb
Add many more Python properties
2015-12-24 16:17:34 +01:00
rdb
6480e82e3b
First pass adding properties to many Panda classes
2015-12-10 16:23:06 +01:00
rdb
1b857d6bda
A few interrogate improvements
2015-11-28 17:54:01 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01:00
rdb
da17cce447
Fix error and warnings in 32-bit Windows build
2015-11-01 16:57:52 +01:00
rdb
b0d8b9109e
Check in change that might help fix a WeakKeyHashMap assert
2015-11-01 15:59:38 +01:00
rdb
0ae2df7e02
Merge branch 'release/1.9.x'
2015-11-01 15:54:58 +01:00
rdb
d3494edf2c
Address some rare crashes at shutdown
2015-10-31 04:11:12 +01:00