Aidan Noll
8fbf972f30
putil: use Py_REFCNT macro instead of directly accessing reference count field
...
Closes #1197
2021-12-12 22:22:10 +01:00
rdb
0e91f4ee1c
device: Gracefully ignore invalid data index from raw input device
2021-12-12 18:38:09 +01:00
rdb
215ad6bfd9
Fix a few docstring typos
2021-12-12 18:38:09 +01:00
rdb
60cc334cd9
gobj: Fix some TexturePeeker docstrings
...
[skip ci]
2021-12-07 23:05:49 +01:00
rdb
82ebf908fa
gobj: Fix spelling error in doc of async-load-delay config variable
2021-12-04 20:38:31 +01:00
rdb
e2c26adcf0
event: Mention that ButtonEvent API is not stable for Python use
2021-12-04 20:38:13 +01:00
loonaticx
15c84afbe9
doc: Improve egg syntax documentation
...
[skip ci]
Closes #1199
2021-11-28 16:12:44 +01:00
rdb
980399d142
event: Expose ButtonEvent to Python
2021-11-28 14:36:20 +01:00
rdb
2abf867203
gobj: Don't load textures when loading bam file if preloading is off
...
This is wasteful (especially when the bam file already has the simple RAM images baked in if needed) since we are throwing away the texture data right away anyway. Just locate it on disk, it will be loaded later when it is needed.
Fixes #1208
2021-11-28 14:04:41 +01:00
rdb
c0a9123dde
gobj: Fix TextureReloadRequest not reloading in certain situations
...
This prevented async texture loading from working unless mipmapping was enabled
2021-11-28 14:01:33 +01:00
rdb
5eaa67fbc9
gobj: Add TexturePool::get_texture() for querying tex from pool
2021-11-28 14:00:59 +01:00
rdb
5cad0eb973
glgsg: Don't use simple RAM image in shaders for non-sampler2D types
...
Simple RAM images are always 2D right now, so this would otherwise cause an error.
2021-11-28 13:59:46 +01:00
rdb
8f9d23ff29
linmath: Remove redundant sin() calculation in LQuaternion
2021-11-28 13:58:13 +01:00
rdb
54de9f9fa4
glgsg: Fix possibility of simple RAM image going out of scope
2021-11-28 13:57:20 +01:00
rdb
ea61e53ab2
event: Fix ButtonEvent docstring
2021-11-28 13:56:55 +01:00
rdb
6adb6be4b5
egg2pg: slight comment cleanup in characterMaker.cxx
...
[skip ci]
2021-11-16 17:55:32 +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
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
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
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
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
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
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
rdb
388ddda9d7
x11: Fix black screen when switching fullscreen without WM
...
Reconfiguring the window to origin 0, 0 is unnecessary and if the win origin is already 0, 0 this results in Panda waiting for a ConfigureNotify that never comes.
2021-07-02 14:04:57 +02:00
Ben Humphries
0415a08416
cocoadisplay: Round refresh rates when choosing display mode on macOS
...
Closes #1144
Co-authored-by: rdb <git@rdb.name>
2021-06-01 10:56:55 +02:00
rdb
2386e80448
linmath: Backport support for floor division to 1.10
...
Backport of 8944737844
(Also fixes return type of `__pow__` to always be derived class)
2021-06-01 10:45:56 +02:00
rdb
4e0e945279
linmath: Backport round(), floor(), ceil() support for vectors
...
See #821
2021-06-01 10:23:58 +02:00
rdb
42d292ee17
glgsg: Slight optimization, don't get texture type more than once
2021-06-01 10:00:43 +02:00
rdb
967fbbc49e
glgsg: Fix regression uploading buffer texture with null image
...
Regression in c1babd1ad1 - it caused an assertion to be thrown when uploading a buffer texture without a RAM image.
2021-06-01 09:56:04 +02:00
Paul m. p. P
70ac82d5da
bullet: Fix compilation issue with BulletHeightfieldShape
...
Fixes #1161
2021-05-31 17:43:50 +02:00
rdb
1d2407f667
ffmpeg: Fix compile error with latest ffmpeg version
...
Fixes #1164
2021-05-17 11:19:55 +02:00
rdb
9410418840
pnmimagetypes: Changes to support compilation with OpenEXR 3.0.1
2021-05-11 11:38:40 +02:00
rdb
2ed61c91fc
gobj: make_lines_in_place() (& points, patches) should change primitive type
2021-05-10 13:35:47 +02:00
rdb
c1babd1ad1
texture: Don't try to compress buffer textures by default
...
Buffer textures don't support compression, so we shouldn't try to driver-compress them, and we should not try to compress the RAM image unless explicitly overridden.
2021-04-29 20:33:52 +02:00