rdb
dae26c2e4b
cocoadisplay: Fix fullscreen regression on Intel macs
...
Partially backs out 619050bb32a6b154e48af968ca9372278292cd61
Fixes #1316 (for good this time hopefully)
2022-12-08 15:20:14 +01:00
rdb
4040e7b390
Merge branch 'release/1.10.x'
2022-12-07 19:04:12 +01:00
rdb
602bd3e023
gobj: Fix Texture render_to_texture flag garbage after CData copy
2022-12-07 19:02:30 +01:00
rdb
bdb55c480b
cocoadisplay: Fix missing includes
2022-12-07 18:58:54 +01:00
rdb
5751fc6478
cocoadisplay: Fix a whitespace error
2022-12-07 18:58:38 +01:00
rdb
72376e95f1
cocoadisplay: Even better applicationShouldTerminate handling
...
It seems that performClose doesn't actually work properly for fullscreen windows
2022-12-07 18:34:36 +01:00
rdb
fe8ed9dec7
Merge branch 'release/1.10.x'
2022-12-07 17:58:28 +01:00
rdb
02a1e116f9
readme: Minor wording tweaks
...
Closes #1319
Co-authored-by: IsakTheHacker <67378443+IsakTheHacker@users.noreply.github.com>
2022-12-07 17:56:39 +01:00
rdb
4979a8ba3f
cocoadisplay: More graceful application termination behavior
...
See #1321
2022-12-07 17:52:11 +01:00
LD
5fa3f3eb68
cocoadisplay: Call remove_all_windows() when the application is about to close
...
Part of #1321
2022-12-07 17:22:23 +01:00
rdb
c85cc8f2e8
cocoadisplay: fix unprotected debug/spam prints
2022-12-07 17:20:41 +01:00
rdb
2a65f583d0
cocoadisplay: Small tweak to fullscreen fix
2022-12-07 17:16:18 +01:00
rdb
dcdd504e3f
ode: Fix warnings when copying OdeTriMeshGeom
2022-12-07 17:15:49 +01:00
rdb
264fe5e057
pstats: Fix clock skew handling when frames arrive out-of-order
2022-12-07 15:01:39 +01:00
rdb
9784d46e95
pstats: Fix off-by-one error in frame number counting
...
The frame number for CPU frames was one ahead of the real one, which did show up correctly for GPU frames
2022-12-07 14:42:29 +01:00
rdb
5032d41f43
pstats: Set window icon for PStats on Windows
...
Just using a stock image from imageres.dll for now, but it makes it a easier to spot and distinguish from other Panda3D apps in the task bar.
2022-12-07 14:30:20 +01:00
rdb
5fcc04ba7f
distributed: Change gc-save-all
to 0 by default
...
Fixes #1407
2022-12-07 13:54:47 +01:00
rdb
507ca7f7ac
display: Remove some unused variables
2022-12-07 13:53:44 +01:00
rdb
39744ac7de
pstats: Fix save/load incompatibility with double-prec builds
2022-12-07 13:53:12 +01:00
rdb
3dbaf80841
pstats: Fix compile error on Windows with STDFLOAT_DOUBLE=1
...
Fixes #1408
2022-12-07 13:52:11 +01:00
rdb
5f3f2339e6
dist: Drop egg2bam handler, add egg/gltf/glb to bam_model_extensions
...
See #714
2022-12-06 20:04:45 +01:00
rdb
c82f95ad6b
Merge branch 'release/1.10.x'
2022-12-06 20:02:35 +01:00
rdb
3f3fd74f86
dist: Use Panda loader system for converting models to .bam
...
Set bam_model_extensions in order to specify which formats are automatically converted to .bam
Fixes #714
2022-12-06 19:41:00 +01:00
rdb
765d76740d
dist: Use manylinux2014_x86_64 for linux_x86_64 alias on Py 3.11
2022-12-06 19:37:38 +01:00
rdb
27d3aed2d3
makepanda: Fix detection issues with newer macOS/XCode versions
2022-12-06 17:30:26 +01:00
rdb
619050bb32
cocoadisplay: Fix fullscreen issues on M1 macs
...
The OpenGL-on-Metal drivers used on these machines don't support CGLSetFullScreenOnDisplay, so we need to disable it on those machines. This also applies when running a x86_64 app through Rosetta 2, hence the sysctlbyname check.
Furthermore, we need to set the appropriate shielding level, which need not be `NSMainMenuWindowLevel+1`.
Fixes #1316
Co-authored-by: LD <laurent.deru@gmail.com>
2022-12-06 16:59:55 +01:00
rdb
45ac5029c0
glgsg: Fix compile error with OpenGL ES 1
...
Introduced by 2c9deaaaf06fba7b4d5f71e9e75cd4919aa5a18e
2022-12-06 16:53:51 +01:00
rdb
32ebe11b06
dist: Add an option to retain docstrings in compiled Python code
...
Fixes #1341
2022-12-06 15:21:39 +01:00
rdb
ffbfdb22e0
dist: Add prefer_discrete_gpu
option to force use of dedicated GPU
...
Currently only implemented on Windows.
Fixes #680
2022-12-06 15:20:57 +01:00
rdb
ecbd262ac4
dist: Always use manylinux2014 for Python 3.11+, add manylinux_2_28
2022-12-06 14:43:47 +01:00
rdb
0a8e4e31f8
makepanda: Add handling for manylinux_2_28
...
Note that this version drops 32-bit intel support
2022-12-06 14:43:06 +01:00
rdb
ff9ff688be
tform: Fix "without" event generation when mouse leaves window
...
Fixes #1400
2022-12-06 13:48:23 +01:00
rdb
8a46c3dc64
windisplay: Only release capture when last mouse button is released
...
This fixes issues with lost up events when dragging out of the window with multiple buttons held
Fixes #1396
2022-12-06 13:36:14 +01:00
rdb
2c9deaaaf0
glgsg: Fix 1 texture stage limit when setting gl-version 3 2
or higher
...
Fixes #1404
2022-12-06 12:57:45 +01:00
rdb
95a77e4f75
showbase: Add do_events()
and process_event()
snake_case aliases
2022-12-06 12:57:02 +01:00
rdb
02028aa789
Update BACKERS.md
...
[skip ci]
2022-12-06 12:56:37 +01:00
rdb
32f9054067
prc: Add ConfigVariableFilename.__fspath__()
...
Fixes #1406
2022-12-06 12:52:44 +01:00
Disyer
7e4cf28f27
dtool: Upgrade default encryption algorithm to AES-256 ( #1337 )
...
The Blowfish cipher is no longer available on OpenSSL 3.x by default. It requires enabling the legacy cipher suite, which is compiled separately from the main OpenSSL library. AES-256 is a good replacement cipher that has hardware support in most newer computers. AES-256 is also available in OpenSSL 1.0.2.
2022-12-04 19:28:29 +01:00
rdb
7a55c723ba
Merge branch 'release/1.10.x'
2022-12-04 19:28:03 +01:00
rdb
59eb1510b9
pstats: Fix compilation without HAVE_THREADS or with SIMPLE_THREADS
2022-12-04 19:26:22 +01:00
rdb
41f0c9d48d
pgraph: Support None as second arg of replace_texture/replace_material
...
This removes the relevant texture or material
2022-12-04 19:24:04 +01:00
rdb
d621df47ac
prc: Fix bf-cbc encryption/decryption regression with OpenSSL 3.0
...
Loads the legacy provider to continue supporting this algorithm
2022-12-04 19:22:26 +01:00
rdb
8ca804086f
pgraph: Fix a compiler warning in renderEffects.I
...
Initialization is unnecessary, but harmless
2022-12-04 16:58:49 +01:00
rdb
0866d485b1
pstats: Set default value for pstats-max-queue-size
to 4
...
Otherwise any multithreaded application is dropping frames like mad, since the packets for different frames may be added to the same queue at roughly the same time.
2022-12-04 16:57:55 +01:00
rdb
550aad7024
Fix some uses of AtomicAdjust::Pointer
to use patomic<T *>
2022-12-04 00:36:41 +01:00
rdb
05b3fe2170
dtoolbase: Use patomic<size_t>
for memory usage counters
2022-12-03 22:42:03 +01:00
rdb
7c85b54ba4
pstats: Use proper microsecond symbol on GTK
2022-12-03 22:28:02 +01:00
rdb
bb530435e8
pstats: Offload more work to separate PStats thread
...
This improves performance of PStats client when a lot of data is being sent per frame.
Also increase the value of pstats-max-queue-size, since otherwise we're constantly dropping frames when using multiple threads.
2022-12-03 22:27:46 +01:00
rdb
82522a7bef
dtoolbase: Fix compile error in patomic.I with HAVE_THREADS=UNDEF
2022-12-03 21:53:02 +01:00
rdb
863a38e901
pipeline: Display error if joining thread failed
...
This can occur if a thread tries to call join on itself
2022-12-03 21:48:34 +01:00