rdb
7c9c4cd435
gobj: devirtualize calls to GeomPatches::get_num_vertices_per_primitive()
2024-10-17 16:18:12 +02:00
rdb
61f8df2d7d
general: Fix assorted compiler warnings
2024-10-14 12:06:35 +02:00
rdb
777ab6746c
display: Fix double-precision build
...
Fixes #1688
2024-10-14 12:05:57 +02:00
rdb
ca25efc5f6
makepanda: Remove --memory-init-file flag on emscripten
...
[skip ci]
2024-10-12 09:57:18 +02:00
rdb
bd4dc8a379
display: Fix ability to copy wdxGraphicsBuffer to RAM on DX9
2024-10-10 19:57:42 +02:00
rdb
30418158e8
dxgsg9: Allow getting alpha bits in buffer when host has no alpha
2024-10-10 19:57:14 +02:00
rdb
a59c857359
dxgsg9: Replace old A2W10V10U10 format with A32B32G32R32F
2024-10-10 19:56:41 +02:00
rdb
eac1cb57c4
dxgsg9: Add missing formats to DXTextureContext9::get_bits_per_pixel
2024-10-10 19:49:15 +02:00
rdb
05cf72e22f
dxgsg9: Fix texture clear color not working for 3D textures
2024-10-10 19:48:50 +02:00
rdb
7557826c8b
Merge branch 'release/1.10.x'
2024-10-10 19:48:37 +02:00
rdb
51e469d065
Update BACKERS.md
...
[skip ci]
2024-10-10 19:41:14 +02:00
rdb
cd2e3dfde9
dxgsg9: Fix crash on window event after `close_window()`
2024-10-10 01:08:54 +02:00
rdb
beb49b3cd3
dxgsg9: Fix some format handling, support for r32f and rgba32f textures
2024-10-03 13:43:22 +02:00
rdb
0ea0d5fa2b
dxgsg9: Fix crash when copying inverted framebuffer to texture RAM
2024-10-03 13:36:02 +02:00
rdb
51876c6116
dxgsg9: Fix crash with buffer when there is no depth buffer
2024-10-03 13:36:02 +02:00
rdb
37799dc3ce
pipeline: Try to fix Windows compilation issue
2024-09-29 23:02:35 +02:00
rdb
89fcfa1fe9
Merge branch 'release/1.10.x'
2024-09-26 10:23:50 +02:00
Drew Rogers
38261d4bb2
showbase: Patch for iris intervals
2024-09-25 22:34:19 -05:00
rdb
c05a63f4ae
pipeline: Fix compile error without pipelining enabled
...
Closes #1684
[skip ci]
2024-09-21 10:55:05 +02:00
rdb
beff684af3
Further thread safety changes for Python 3.13 free threading
...
See #1683
2024-09-19 20:43:06 +02:00
rdb
4b2fa45578
Make use of PyImport_GetModule function
2024-09-19 20:42:31 +02:00
rdb
14f3cb0e40
tests: Add unit test for static property
2024-09-19 20:25:45 +02:00
rdb
5106fc879f
Changes for compatibility with Python 3.13
...
Includes some preliminary work to make free-threading safe, see also #1683
2024-09-19 16:01:10 +02:00
rdb
b32459ffa1
Merge branch 'release/1.10.x'
2024-09-19 15:51:25 +02:00
rdb
cdafd81764
Fix compilation issues with Python 3.13
2024-09-19 15:47:50 +02:00
rdb
e70d0b47fc
distributed: Fix very minor memory leak
2024-09-19 14:20:35 +02:00
rdb
d7ede81aa3
cocoa: Fix compile error with MacOSX 10.6 SDK
2024-09-19 11:15:44 +02:00
rdb
a4faa802af
cocoa: Remove autorelease pool in process_events()
...
We now have one around the entire frame, in graphicsEngine.cxx
2024-09-19 00:25:51 +02:00
rdb
442558bb2d
Merge branch 'release/1.10.x'
2024-09-19 00:25:16 +02:00
rdb
9f493f588d
display: Fix significant memory leak on newer macOS versions
...
It seems the Metal-based OpenGL driver uses autorelease a lot for resources that last only a single frame, so we need to create an autorelease pool around the frame lest the resources will only get cleaned up at application exit.
2024-09-19 00:23:06 +02:00
rdb
756fe2e72b
cocoa: Fix a very minor memory leak in DisplayInformation
2024-09-18 23:51:09 +02:00
rdb
b337f2a3da
pipeline: Use a high-precision timer for Thread::sleep() on Win32
...
This is mainly used for clock mode M_limited, which is currently suffering from terrible imprecision on Windows. This fixes that, making it possible to lower the value of sleep-precision down to 1ms.
2024-09-16 21:43:42 +02:00
rdb
bb5e4454fe
putil: Add debug for oversleeping/undersleeping with M_limited clock
2024-09-16 21:41:52 +02:00
John C. Allwein
e3f580763a
pview: add shift+r keyboard bind to reload all textures ( #1678 )
2024-09-16 16:02:45 +02:00
Timothy Choi
8caf582b32
refactor(distributed): Un-nest generateGlobalObject's applyFieldValues function ( #1667 )
2024-09-16 13:55:53 +02:00
rdb
f5401b19fa
Merge branch 'release/1.10.x'
2024-09-16 13:54:22 +02:00
rdb
e2fb2d1241
cocoa: Prevent eating keyUp when switching to FS from macOS' FS
2024-09-16 13:39:16 +02:00
rdb
c7bcec1ff5
cocoa: Exit macOS' fullscreen mode when switching fullscreen
...
Prevents black screen when switching to fullscreen
2024-09-16 13:39:16 +02:00
rdb
82b9a1266c
cocoa: Fix error when switching to FS while macOS' FS is active
2024-09-16 13:39:16 +02:00
John C. Allwein
e7604cb163
event: fix result refcount leak when awaiting AsyncFuture
...
Raising the StopIteration exception left the underlying
result with an elevated refcount which prevented it from
being cleaned up.
2024-09-14 15:59:05 -06:00
John C. Allwein
cfe3885c0e
event: use the persistent python wrapper when appending task object ( #1681 )
2024-09-14 20:25:08 +02:00
rdb
fc394e4c59
glgsg: Pass in osg_FrameNumber input via ShaderMatSpec mechanism
2024-08-23 21:08:50 +02:00
rdb
cd68287b6a
shader: Get all aggregate shader inputs (eg. lights) in one go
...
This means that p3d_LightSource[n] will be fetched once off the LightAttrib, written to the matrix cache, and then indexed into by the various ShaderMatSpec. This should be significantly more efficient, but the main aim is to prepare for a new binding system in the new shader pipeline
User structs are still an exception as of now
2024-08-23 16:29:46 +02:00
rdb
99225dfaef
shader: Unify ShaderPtrSpec and ShaderMatSpec mechanisms
2024-08-23 16:29:42 +02:00
rdb
99f4034701
shader: Don't store on ShaderMatSpec, use scratch matrix instead
2024-08-23 16:29:38 +02:00
rdb
dfc85b8a68
tests: Make shadowViewMatrix test less sensitive
2024-08-23 16:28:10 +02:00
rdb
833fdb5d36
readme: Update Python version in FreeBSD command
...
Python 3.7 is no longer supported in Panda3D anyway
2024-08-23 14:20:38 +02:00
rdb
a8ca06ea47
tests: Don't fail Dial test if tkinter failed to import
2024-08-23 14:20:38 +02:00
rdb
e2ad8f2a2f
tests: Test additional properties of light source struct
2024-08-23 14:20:35 +02:00
rdb
2c5cebe7e0
display: Fix shader gen regression for more than 2 lights
2024-08-23 14:20:20 +02:00