Commit Graph

12130 Commits

Author SHA1 Message Date
rdb ca9b5dd44a glgsg: Fix for when `p3d_Color` is set to vec4 type
Fixes #1601
2024-01-23 15:42:13 +01:00
rdb 39d964c4bb glgsg: Don't set immutable flag for buffer textures (regression)
Fixes #1602
2024-01-23 15:37:07 +01:00
rdb 9517ffb320 Merge branch 'release/1.10.x' 2024-01-08 21:10:17 +01:00
kamgha fe63dee524 Assorted docstring fixes
Closes #1588
2024-01-08 19:53:46 +01:00
rdb 6bbba133f0 pipeline: Fix `Thread::bind_thread()` regression
Fixes #1575
2024-01-04 17:15:11 +01:00
jb 384a0d1238 recorder: fix reading multiple recorders from bam file
Closes #1564
Fixes #1561
2024-01-04 16:36:08 +01:00
rdb 9145b6c729 Merge branch 'release/1.10.x' 2024-01-04 16:36:03 +01:00
rdb 6b3dfc7e16 pgraph: add note to LensNode::is_in_view docstring about CS
Closes panda3d/panda3d-docs#143
2024-01-04 16:22:41 +01:00
jb 7277199d6e windisplay: fix handling of invalid devices, replaced 0 with nullptr
Fixes #1559
Closes #1563
2023-12-10 13:24:31 +01:00
Ian Eborn (Thaumaturge) 1c4a91858b grutil: Change docstring for MeshDrawer link_segment method
In short, this adds notes regarding the manner in which the method makes use of the "frame" and "color" parameters.

Fixes #1560
Closes #1569
2023-12-10 13:21:12 +01:00
rdb be958c409f recorder: Fix error reading multiple recorders from .bam file
Modified version of #1564 without changing ABI

Fixes #1561
2023-12-10 13:18:47 +01:00
rdb 4f37d97cf6 glgsg: Show internal format in debug output 2023-12-10 13:18:23 +01:00
rdb 89701270dd gles2gsg: Fix image load/store support in OpenGL ES 3.1
This does require gl-immutable-texture-storage to be on, so it is not enabled by default unless that variable is set. That is not a breaking change since before this change, support was never enabled to begin with
2023-12-09 21:15:28 +01:00
rdb deb24afe18 display: properly prioritize preferred pipe
Previously, load-display of a module with more than one pipe would cause the first available pipe to be loaded, rather than the one returned by `get_pipe_type_<module>()`
2023-11-30 23:46:18 +01:00
Dakota Smith 3097d2637c bullet: Fix deadlock when contact added callback accesses certain data or executes bullet methods 2023-11-19 02:17:54 +01:00
git2323 f9a86bced6
device: fix small typo, fixes 1571 (#1572) 2023-11-18 11:49:53 +01:00
WMOkiishi 4c2581a4d2
pgui: Add more property-style accessors (#1552) 2023-10-26 23:18:12 +02:00
rdb 1a3ee2b232 tinydisplay: Fix build when no platform display module is enabled
Fixes #1554
2023-10-23 12:18:09 +02:00
rdb 20a2b26090 cocoa: Support EDR windows with float framebuffer
Requires macOS 10.11
2023-10-23 12:17:28 +02:00
rdb 3833a35fa9 Merge branch 'release/1.10.x' 2023-10-22 12:06:18 +02:00
rdb 0a7afb37d9 wgldisplay: Fix HDR framebuffers with newer NVIDIA drivers
[skip ci]
2023-10-21 17:14:26 +02:00
rdb 7c3e660b15 display: make refresh_rate float, deprecate get_display_mode_xyz 2023-10-21 15:07:50 +02:00
rdb a52744a973 cocoa: Improvements to VSync implementation:
- Use futex instead of condition var
- Prepare for adaptive sync support (#1553)
- Support in tinydisplay
2023-10-21 15:05:44 +02:00
rdb eec66c585e display: Add method for querying current display mode index
Note that it doesn't work on macOS with high-DPI displays, this requires #1308 (which is on master), otherwise it will just report -1 for now

Fixes #1550
2023-10-21 14:03:51 +02:00
rdb c48fcba3d8 CMake: build tinydisplay using CMake
Based on work by @toadkarter (#1487) and @pmp-p (#1547)

Fixes #1481
2023-10-15 11:34:47 +02:00
rdb a6ab238abc Merge branch 'release/1.10.x' into incoming 2023-10-14 21:35:00 +02:00
rdb 9dce403bee tinydisplay: fix missing include in zmath.h 2023-10-14 18:05:47 +02:00
rdb 5b041474ff glgsg: Fix wrong value for deprecated shadowMatrix shader input 2023-10-13 23:29:21 +02:00
rdb e01cb590de Merge branch 'release/1.10.x' 2023-10-13 23:24:48 +02:00
Mitchell Stokes 893f5ce492 Fix assert on Py_SIZE(long) when using Python 3.12
Starting with Python 3.12, passing a PyLong into Py_SIZE() triggers an
assertion. PyLong (and the whole C API) is transitioning to be more
opaque and expose fewer implementation details.
2023-10-13 10:54:33 +02:00
rdb 5685949588 shader: Fix regression fetching material shader inputs 2023-10-11 16:07:55 +02:00
rdb 79a60688ce pnmimage: Support reading of .bmp files with RLE8 compression 2023-10-11 15:53:57 +02:00
LD ae3cbe4b12
cocoadisplay: Add support for high-dpi screens (#1308) 2023-10-10 16:56:04 +02:00
rdb b8ea788440 display: Fix shadowViewMatrix regression for NodePath shader inputs
Stopped working in ba388e2866
2023-10-09 17:44:36 +02:00
rdb 93a75d8fe2 Merge branch 'release/1.10.x' 2023-10-09 17:43:02 +02:00
rdb a2fa54f385 gobj: fix `_contexts != nullptr` assert when prepare fails 2023-10-09 16:52:45 +02:00
rdb 526994c302 pview: Don't require a window in screenshot mode 2023-10-08 23:36:59 +02:00
rdb e5869ac750 pview: Fix camera positioning differences with offscreen window 2023-10-08 23:30:00 +02:00
rdb 2c727940ae glgsg: Fix code issue with new integer ShaderMatSpec 2023-09-18 14:11:22 +02:00
rdb cb4597ebb8 shader: Pass built-in array shader input in one go
This applies to `p3d_TextureMatrix[]` and `p3d_ClipPlane[]`

This is more efficient and also works around Apple driver bugs (like #846)

Fixes #883
2023-09-17 19:18:40 +02:00
rdb ba388e2866 shader: More efficient state-based shader input fetching
Previously every input was fetched as a matrix.  Now, every input is fetched as a vector, with matrices taking up multiple vectors.  This saves a lot of copying and a lot of space in the cache.

Furthermore, integer state-based inputs can be defined (for future use)

Naming still needs to be revised, since it's called the "mat part cache" etc.
2023-09-17 17:54:17 +02:00
rdb c99fe581d3 Merge branch 'release/1.10.x' 2023-09-16 09:57:09 +02:00
rdb 144479d8e4 cocoa: squelch secure restorable state warning on macOS 14 2023-09-16 09:50:17 +02:00
rdb b22b970d10 makepanda: Require macOS SDK 10.12 or higher
This does not remove support for older macOS versions, they can still be targeted by newer SDKs (10.9 can still be targeted by the macOS 12 SDK)

I would like to require macOS 11 SDK, but we still need 10.13 for FMOD
2023-08-29 22:51:17 +02:00
Christopher He cbfd8f4545
collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
rdb 0bc290eb2c event: Replace _PyGen_FetchStopIterationValue in Python 3.13+
See python/cpython#106320 and python/cpython#107032

Closes #1526
2023-08-05 16:37:01 +02:00
Disyer f596666b84 panda: Install correct config headers for pstatclient and putil
Closes #1525
2023-08-05 14:51:31 +02:00
Disyer e8179e489f panda: Correct header guard names (#1525) 2023-08-05 14:50:28 +02:00
rdb f80cd08993 Remove support for EOL Python versions 3.6 and 3.7 2023-08-04 14:20:59 +02:00
rdb a68ecb9765 Merge branch 'release/1.10.x' 2023-08-04 14:07:41 +02:00