rdb
316b0009ae
Merge branch 'release/1.10.x'
2022-10-31 23:10:39 +01:00
rdb
ae7084504b
event: Fix crash when creating task from closure with extra data
2022-10-31 23:09:13 +01:00
rdb
d8a537b59b
dtoolbase: Add comment clarifying assertion in DeletedBufferChain
...
[skip ci]
2022-10-31 19:26:59 +01:00
rdb
587f9f7bcd
makepanda: Fix issues when building on arm64 without --arch
flag
...
Logic in various places seems to assume `OSX_ARCHS` contains `arm64` in this case
2022-10-31 19:25:47 +01:00
rdb
4cf8187df7
cocoadisplay: Fix crash with threading-model on newer macOS versions
...
Updates the context on the main thread instead of the draw thread now. If render_frame happens to run while the context needs updating, it will skip the frame.
Fixes #1286
2022-10-29 20:51:05 +02:00
rdb
4c6df54d6f
tests: Fix failing window unit test on macOS
...
Fixes #804 (together with previous commit 979f194f499e76a12ba137c52b3b33f51d7d8e6c)
2022-10-29 18:47:15 +02:00
rdb
979f194f49
tests: Load either 120 or 150 GLSL shaders depending on capabilities
...
Addresses part of #804
2022-10-29 18:46:59 +02:00
rdb
a111bb4442
tests: skip auto-shader tests if Cg shaders are not supported
...
Backport of 57b0be86471f4356b912d5976e4f5b9cb9e92220
2022-10-29 18:16:58 +02:00
rdb
54e2ddfd1c
gobj: Fix failure to async reload texture more than once
...
Fixes #1354
2022-10-28 13:16:07 +02:00
rdb
e0c3c8a8d9
filter: Add docstring for CommonFilters.setMSAA
...
[skip ci]
2022-10-25 17:51:32 +02:00
rdb
4bdac5afac
glgsg: Save a buffer bind call by changing order of blitting MS FBOs
2022-10-25 16:51:53 +02:00
rdb
9768cbb6c2
Merge branch 'release/1.10.x'
2022-10-25 16:44:24 +02:00
rdb
bdb0f0b56a
pipeline: Don't use yield ASM intruction on ARM < 7
2022-10-25 16:35:28 +02:00
rdb
fc8c07a949
pgraph: Remove unused vertices during premunge phase
...
Disable with premunge-remove-unused-vertices config var - let me know if causes issues for you, performance or otherwise, though!
2022-10-25 16:34:28 +02:00
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
a71b417aec
filter: Add "MSAA" filter to CommonFilters
...
This provides an easy way to enable MSAA for the offscreen color buffer only without having to enable it on the main window.
When using this filter, it is important to have framebuffer-multisample turned off in Config.prc.
2022-10-25 16:26:30 +02:00
rdb
4d2a45f124
glgsg: Fix multisample FBOs with MRT blitting aux target into color target
2022-10-25 16:25:50 +02:00
rdb
1a72311243
bullet: Fix LMatrix3<>btMatrix3x3 conversion functions
2022-10-25 12:10:44 +02:00
rdb
693b4d3fb3
bullet: Fix BulletAllHitsRayResult::empty()
compiler warning
2022-10-25 12:08:50 +02:00
rdb
ef9c9fa20e
bullet: Fix BulletWheel::empty()
referencing local objects
2022-10-25 12:08:06 +02:00
rdb
cc24b5373d
pgraph: Fix PandaNode::_nested_vertices
not updating properly
...
The problem was that `PandaNode::update_cached()` queries the node's `_internal_vertices` *before* calling `get_internal_bounds()` (which is what actually calculates it).
2022-10-25 11:35:29 +02:00
rdb
9a53a3bf31
cppparser: Fix an instance of pvector being used instead of std::vector
...
Also see #539 (but doesn't fully resolve this case because DSearchPath also uses pvector)
[skip ci]
2022-10-24 13:43:29 +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