rdb
9ebfef4b83
pgraph: Change TransformState hashing not to require grabbing lock
...
Instead, set it atomically, with a special hash value used instead of a flag for indicating that the hash is not known.
2021-11-16 17:30:36 +01:00
rdb
60c5589671
pgraph: Optimize handling/checking of identity/invalid transforms
2021-11-16 17:30:36 +01:00
rdb
fac6916151
pgraph: Major traversal optimizations
...
In particular, these optimize the traversal of nodes that are not in view, which are discarded more efficiently.
This change affects both the cull and collision traversers.
2021-11-16 17:30:33 +01:00
rdb
20e4704be2
Merge branch 'release/1.10.x' into incoming
2021-11-16 16:35:08 +01:00
rdb
0f7a575ac0
bullet: Add bullet-split-impulse config variable
...
Fixes #1201
Co-authored-by: K9Kraken <K9Kraken@users.noreply.github.com>
2021-11-16 15:16:25 +01:00
rdb
ab6d3b2e15
gobj: Show better error if calling tex.write() with unknown extension
2021-11-16 15:04:46 +01:00
rdb
32584f0a68
pgraph: Fix prepare_scene() not properly invoking the shader generator
2021-11-09 15:46:14 +01:00
rdb
cf681eb8dd
bullet: Clean up fix for #1193
...
See ad7cbcd4ec
2021-11-02 15:34:26 +01:00
rdb
0bc0709b72
Merge branch 'release/1.10.x'
2021-11-02 15:20:41 +01:00
rdb
04c6636744
pgraph: Add some missing properties to PlaneNode
2021-11-02 15:02:40 +01:00
rdb
9587965c5d
bullet: Add some API documentation strings for BulletDebugNode
2021-11-02 15:02:14 +01:00
rdb
ad7cbcd4ec
bullet: Fix memory leak getting persistent manifolds from Python
...
These classes ought to be returned by value. Cleaner fix will be in master.
Fixes #1193
2021-10-27 11:20:19 +02:00
rdb
a4ea476cce
linmath: Implement read-only buffer protocol support for vectors
...
Fixes #1194
2021-10-27 10:53:35 +02:00
rdb
77c6bc199d
gobj: Remove unused member variable from TexturePeeker
2021-10-27 10:46:43 +02:00
rdb
2ae6e5c6ce
glgsg: Remove unused variable from glGSG
2021-10-26 17:28:01 +02:00
rdb
605651f0e8
Merge branch 'release/1.10.x'
2021-10-26 17:27:56 +02:00
rdb
57d7bc2f53
display: document make_texture_buffer() behavior when size is 0
...
Fixes panda3d/panda3d-docs#100
2021-10-26 14:00:25 +02:00
rdb
9b55279fde
glgsg: Minor code cleanup in FBO code
2021-10-26 14:00:04 +02:00
rdb
618e6f3fee
pgui: Fix slider thumb entering dragging state on button press
...
This caused updating the slider while a button is pressed and the mouse is held over the thumb not to work.
Fixes #1188
2021-10-26 13:45:38 +02:00
rdb
2b0571ee92
glgsg: Also pick up glClearTexSubImageEXT in OpenGL ES 2+
2021-08-31 15:37:21 +02:00
rdb
1739cef318
Merge branch 'release/1.10.x' into incoming
2021-08-31 14:03:57 +02:00
rdb
c96189e53c
display: Fix compilation on Windows (can't name variables near/far)
2021-08-31 14:01:03 +02:00
rdb
cb4bcbe67e
collide: Fix typo causing compile error on Windows with Python 3.10
2021-08-30 21:27:53 +02:00
rdb
2cc1633a77
pgraph: Clarify in find() documentation that this node not included
2021-08-30 14:03:17 +02:00
rdb
8c01f7faff
gles2gsg: Implement support for GL_EXT_clear_texture in OpenGL ES 2+
2021-08-30 14:02:41 +02:00
rdb
481fc67996
gles2gsg: Support gl-depth-zero-to-one in OpenGL ES 2+
...
Requires GL_EXT_clip_control support in the driver.
2021-08-30 14:02:09 +02:00
rdb
32b78a382a
express: Protect clock debug print with is_debug() check
2021-08-30 14:00:59 +02:00
rdb
53741ffa13
pgraph: Implement new DepthBiasAttrib to replace DepthOffsetAttrib
...
Fixes #1157
2021-08-26 10:47:07 +02:00
rdb
280175f267
display: Support specifying depth range on DisplayRegion
...
See https://discourse.panda3d.org/t/depthoffsetattrib-z-range-composition-order/27943/4
2021-08-26 10:42:25 +02:00
rdb
3d4dd50358
Merge branch 'release/1.10.x'
2021-08-11 15:02:05 +02:00
rdb
8ad4234df8
pgui: prevent error when rendering in offscreen mode
...
Fixes #1174
2021-08-11 09:19:27 +02:00
rdb
20e081482f
glgsg: detect and fix overlapping SSBO bindings
...
Fixes #1176
2021-08-05 09:37:26 +02:00
rdb
c293ad3da2
Merge branch 'release/1.10.x'
2021-08-03 20:19:15 +02:00
rdb
5b30fa7adf
putil: Fix reading/writing BitArray from/to bam file on 64-bit
...
Fixes #1181
2021-08-03 20:13:56 +02:00
rdb
7ac7a95843
glgsg: Delete multisample FBO properly
...
Related to #1166
2021-08-03 11:43:49 +02:00
rdb
1f84469cd9
filter: Fix issue with cached CullResult persisting after cleanup
...
This can cause issues if a DR gets assigned an inactive camera - the old cull result will persist and be used for draw. Possibly we need to do this in set_camera.
Reproduced by #1166
2021-08-03 11:43:49 +02:00
rdb
ea45ff691d
display: Improve error message when display module isn't loaded
2021-08-03 11:43:49 +02:00
rdb
3dc09c38d3
dxgsg9: Fix crash when resizing window in multi-window setup
...
Fixes #1167
2021-07-31 09:56:52 +02:00
rdb
089a615adb
pgui: If no explicit candidate_inactive style given, use underscore
2021-07-05 18:01:05 +02:00
rdb
4cd579d0ba
x11: Implement ime-aware setting using XIM
2021-07-05 17:53:19 +02:00
rdb
4ba3df7082
pgui: Fix missing cursor when typing candidate
2021-07-05 17:37:48 +02:00
rdb
25f9d3ff13
pgui: Don't clear candidate on keypresses like shift/ctrl etc
2021-07-05 17:37:15 +02:00
rdb
f27e9b2a86
linmath: Add __rmul__ operator for left scalar multiplication
...
Fixes #1048
2021-07-05 14:16:55 +02:00
rdb
bfe595f4dc
glgsg: Implement partial updates of texture arrays / cube maps
...
Also, simplify the cube map upload mechanism somewhat.
Fixes #1168
2021-07-04 17:03:14 +02:00
rdb
494631ac54
gobj: Implement texture modification tracking for individual pages
...
Part of #1168 , GL implementation in following commit
2021-07-04 16:36:26 +02:00
rdb
77f486a07b
putil: Improve SparseArray output printing
2021-07-04 16:35:11 +02:00
rdb
0c5fedfc9b
Merge branch 'release/1.10.x'
2021-07-02 16:03:41 +02:00
rdb
0e219fa5c9
display: Remove obsolete mouse_mode_relative/absolute methods
2021-07-02 16:00:41 +02:00
rdb
bcbef3f6c8
pgraph: Add RenderState::get_unused_states() by analogy with TransformState
2021-07-02 15:22:44 +02:00
rdb
1415ccca61
pgraph: Fix assertion error in get_num_unused_states()
...
Fixes #1172
2021-07-02 15:11:33 +02:00