Commit Graph

12147 Commits

Author SHA1 Message Date
rdb 40b824bdcc general: Consistently name all bam factory functions make_from_bam
See discussion in #1630
2024-03-18 02:38:41 +01:00
rdb d4a3b9bfcd glgsg: Fix docstring typo 2024-03-15 12:47:21 +01:00
rdb af27a9523c Merge branch 'release/1.10.x' 2024-03-12 15:39:16 +01:00
rdb c4adc17d55 display: Fix assorted unreachable code warnings 2024-03-12 15:30:32 +01:00
rdb bfe1c95d29 pgraph: Python wrappers for TransformState getters no longer return reference to temporary
Fixes #1625
2024-03-12 15:29:54 +01:00
rdb 92db1840f9 net: Prepare to split these classes out into panda3d.net module
See #1466 - these classes are still part of panda3d.core as of 1.11, but they should really be imported from panda3d.net (they can be imported from either place in 1.11).  A future release will remove them from panda3d.core entirely.
2024-03-02 13:41:23 +01:00
rdb 09fc5b73d7 glgsg: Fix regressions with fog shader inputs in GLSL 2024-02-11 22:57:18 +01:00
darktohka b049c891d1 ext: Use different names for each gen_next method 2024-02-10 23:49:28 +01:00
rdb 3303bac902 x11: Fix error message when xf86dga extension is not found
[skip ci]
2024-02-09 15:06:27 +01:00
Maxwell Dreytser d8775fa01e Fix unguarded python-specific headers. 2024-02-02 19:45:28 +01:00
Maxwell Dreytser 6dc274e38d Remove .I files from _IGATEEXT. 2024-02-02 19:45:28 +01:00
rdb 73360393df Switch use of Py_INCREF to new Py_NewRef function
This is more idiomatic, simplifies the code, makes it easier to port to eg. HPy later on, and makes it easier to use the limited ABI (where it can be optimized to a tail call) later on

A polyfill is provided for compatibility with Python versions 3.8 and 3.9
2024-01-29 17:57:53 +01:00
rdb f1f15a92a4 task: Fix refcount leak when assigning attribute of task object
Regression on 1.11
2024-01-29 16:03:43 +01:00
rdb 84ed141b2a Squash merge webgl-port branch into master
Adds support for emscripten as a build target / platform, and adds a WebGL renderer back-end
2024-01-25 15:37:38 +01:00
rdb b49dbaca2b Report errors if calls to `close()` fail 2024-01-25 12:33:20 +01:00
rdb 0dad38d089 text: Enable text-use-harfbuzz by default, if compiled in
See #1591
2024-01-23 16:47:50 +01:00
rdb 23772c4722 text: Support explicit direction even with harfbuzz disabled
Fixes #1591
2024-01-23 16:45:39 +01:00
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