25491 Commits

Author SHA1 Message Date
rdb
4d5d7047af pgraph: Slight efficiency refactoring of remove_unused_vertices() 2022-10-25 16:34:28 +02:00
rdb
f64dcbd3df bullet: Clean up BulletContact/BulletManifoldPoint reference handling a bit
Still looks kinda sketchy though

Related to #1192
2022-10-25 16:34:28 +02:00
rdb
bf65624298 dtoolbase: Make MemoryHook constant-initialized
init_memory_hook() is no longer required, eliminating static initialization order issues

This required moving the DeletedBufferChain map elsewhere, which now also has a const-initialized array for relatively small allocations.

Also, deletedChain.T has been renamed to deletedChain.I

Fixes #539
2022-10-24 13:26:03 +02:00
rdb
6f9897fe49 pgraph: Remove deprecated PandaNode::set_bound() method
It's been deprecated with warning for so long, with easy replacement
2022-10-24 13:25:41 +02:00
rdb
7f707de384 interrogate: rename operator [] = to operator []= 2022-10-24 13:24:30 +02:00
rdb
a28b641bf3 interrogatedb: Indicate whether types/function wrappers are deprecated 2022-10-24 13:24:20 +02:00
rdb
14f08361ce Merge branch 'release/1.10.x' 2022-10-24 13:24:03 +02:00
rdb
dd262c6715 cppparser: Properly record C++11 attributes 2022-10-24 13:23:05 +02:00
rdb
e3ec6f7947 collide: Reimplement respect-prev-transform test for capsule-into-poly
Taken from 6e168c2bc463a0ca70bfe064117b2f13c66db4c3 (which was written for the old test that was replaced)
2022-10-24 13:21:19 +02:00
rdb
b018d65da9 gobj: Fix tex not being cleared initially with gl-immutable-texture-storage
Regression as of 494631ac54e8b5bd2cf72f4ffe44b1c565b62b6e and bfe595f4dcfbbd8964b3ee52394ca0988fa7107b (#1168)
2022-10-24 13:21:19 +02:00
rdb
accd130c83 display: Fix RTT attachment modified flag not propagating through pipeline
Fixes #1364 (the other half)
2022-10-24 13:17:42 +02:00
rdb
c799146cc9 glgsg: Fix stencil renderbuffer not being unbound when binding depth tex
Fixes part of #1364
2022-10-24 13:17:42 +02:00
rdb
d4b8bb63ba pgraph: Proper deprecated marking for PandaNode::set_bound()
[skip ci]
2022-10-24 01:42:03 +02:00
rdb
e113503538 daeegg: Fix a compiler warning 2022-10-24 01:39:52 +02:00
rdb
2396bd26dc deadrec: Fix compiler warning 2022-10-23 17:01:02 +02:00
rdb
dd662a6eaa cppparser: Fix syntax error with C++11 attributes in declarators 2022-10-23 17:01:02 +02:00
rdb
ee1db0630a pipeline: _mm_pause alternative on non-x86 Windows 2022-10-23 14:21:39 +02:00
rdb
a44d26bfbf pgraph: Allow moving a NodePath into a WorkingNodePath efficiently 2022-10-22 17:04:00 +02:00
rdb
4d2a13537a pgraph: Mark RenderState::unref() as final
This will allow the compiler to devirtualize these calls
2022-10-22 16:53:39 +02:00
rdb
f0446a6e9c Merge remote-tracking branch 'origin/release/1.10.x' 2022-10-22 16:51:57 +02:00
rdb
6fe25d3edc shader: Fix attr_fogcolor not picking up inter-frame changes
Fixes shader generator not responding to fog color changes
2022-10-22 16:03:52 +02:00
rdb
d0b7574384 pgraph: Add missing PandaNodePipelineReader::get_into_collide_mask() 2022-10-22 15:49:40 +02:00
rdb
8bed85740f pgraph: Fix race condition when destructing/constructing NodePaths
Fixes #1366
2022-10-22 15:48:23 +02:00
rdb
00de2771fc dcparser: fix Python 3 regression unpacking uint types
Backport of d1d0dab9900c65aad7617e709428c812c6b56b37 (#1380)

Co-authored-by: Nat <56046513+NathaanTFM@users.noreply.github.com>
2022-10-22 10:31:26 +02:00
Disyer
c28bd047b3 audio: Add support for setting the loop start time of sounds
Closes #1347
2022-10-22 10:27:57 +02:00
Nat
d1d0dab990
dcparser: fix uint32s being signed on Windows 2022-10-21 23:44:32 +02:00
rdb
fe9cda9614 collide: Remove duplicate capsule-into-poly test 2022-10-20 21:43:10 +02:00
rdb
fe7635d6e7 wgldisplay: Mark a method as static 2022-10-20 21:02:17 +02:00
rdb
67fc72bdaf general: Add constness to some methods where it is missing 2022-10-20 21:01:58 +02:00
rdb
cee1de7338 general: Get rid of some coerce constructors where they make no sense 2022-10-20 21:00:05 +02:00
rdb
61ff260ee3 Merge branch 'release/1.10.x' 2022-10-20 20:59:45 +02:00
rdb
7c4e2660a4 actor: Minor style improvements 2022-10-20 20:58:17 +02:00
rdb
9efdf9919c collide: Implement capsule-into-polygon intersection test
There is one edge case (literally) where the reported interior point isn't deep enough, which is when the capsule hits the edge of a polygon at a steep angle, but it will still push it out eventually, so whatever.

Fixes #1369
2022-10-20 17:14:54 +02:00
rdb
bb8b08a690 interrogatedb: Add interrogate_wrapper_is_extension() function 2022-10-20 10:09:45 +02:00
rdb
0b7c694f10 linmath: Make mat.rows[n] and mat.cols[n] assignable to 2022-10-19 16:04:57 +02:00
rdb
25d11b3b17 interrogatedb: Add more query functions for seq/map elements 2022-10-19 16:04:37 +02:00
rdb
0c03dfca05 egg: Some comment reformatting
[skip ci]
2022-10-19 16:04:15 +02:00
rdb
77e3033c42 makepanda: Fix ExecutionEnvironment.args being empty on Linux 2022-10-19 15:45:40 +02:00
rdb
a8eef28708 glgsg: Fix error when downloading luminance8 texture 2022-10-19 12:20:06 +02:00
rdb
cd7abbb797 makepanda: Copy missing CMotionTrail header file 2022-10-17 16:39:42 +02:00
rdb
834be5c7a0 interrogate: Fix some badly formatted code 2022-10-10 15:10:53 +02:00
rdb
e6036b5209 interrogatedb: More queries for function wrappers:
- `interrogate_wrapper_function(wrapper)`
- `interrogate_wrapper_is_copy_constructor(wrapper)`
- `interrogate_wrapper_is_coerce_constructor(wrapper)`
2022-10-10 15:09:28 +02:00
rdb
bb6976d558 pstats: Third significant update to PStats server UI, including:
* Windows stay open after client disconnects, for further inspection
* Ability to save session results to a file, and reopening those files
* Ability to save the current graph window layout for new sessions
* Ability to change colors (by right-clicking on bar)
* SI prefixes for Hz units (kHz, MHz, etc.)
* Ability to export session to Chrome Tracing JSON format
* "Close All Graphs" menu option
* Graphs now properly show data when opened while Pause is on
* Some fixes for weird graph window minimize behavior on Windows
2022-10-05 18:58:36 +02:00
rdb
2a0da59dae tests: Add more tests for sphere-into-box 2022-10-05 14:55:46 +02:00
rdb
6e14591a8b CMake: Don't link to mimalloc if it is not enabled 2022-10-05 13:57:41 +02:00
rdb
d6ebd62034 express: Add peek_int16 and peek_uint16 to DatagramIterator 2022-10-04 15:46:53 +02:00
rdb
27e54ffd75 Merge branch 'release/1.10.x' 2022-10-03 18:38:47 +02:00
DJs3000
f6fac95a78 Added e2k support (MCST Elbrus 2000) (#1367)
Closes #1367
2022-10-03 18:29:41 +02:00
rdb
6ad68d95cb device: Fix missing init_type for InputDeviceNode 2022-09-28 06:32:46 +02:00
rdb
79bd743957 Merge branch 'release/1.10.x' 2022-09-02 23:14:15 +02:00