rdb
ce9d2e38bf
android: Improve physical mouse and keyboard handling:
...
- Support scroll wheel
- Support middle click, forward and back buttons (mouse4 and mouse5)
- Fix handling of key repeat events
- Correctly map numpad keys
[skip ci]
2022-01-04 20:35:17 +01:00
rdb
d46651c032
Merge branch 'release/1.10.x'
2022-01-04 16:35:19 +01:00
rdb
210f7aecfb
x11: Support mouse buttons 4 and 5
2022-01-04 11:06:25 +01:00
rdb
d1c756713d
display: Handle raw event for key between Shift and Z on ISO keyboards
...
This key is called raw-< for lack of anything better, it's usually mapped as backslash on US keyboards but that would not allow distinguishing between the backslash key near the enter key.
2022-01-04 11:05:46 +01:00
rdb
c358f09f85
windisplay: Support lmeta, rmeta, and menu keys
2022-01-04 10:10:27 +01:00
rdb
08628dc97e
windisplay: Support horizontal scroll wheel
2022-01-04 10:09:36 +01:00
rdb
822d8ce4c4
Revert "pgraph: Don't dupe shared GeomVertexData when premunging Geom"
...
This reverts commit f058bad802 .
Reverting because I realised the current behaviour is happening due to different mungers, which my fix ignores.
Unfixes #1185
2022-01-03 11:31:54 +01:00
rdb
f8df5cac32
Merge branch 'release/1.10.x'
2022-01-02 20:11:41 +01:00
rdb
11d5a49d6f
pgraph: Fix LightAttrib::replace_{on|off}_light()
...
Fixes #1153
2022-01-02 13:02:04 +01:00
rdb
f058bad802
pgraph: Don't dupe shared GeomVertexData when premunging Geom
...
Fixes #1185
2022-01-02 11:45:33 +01:00
rdb
e9c97535f7
framework: Support GUI under pixel2d by default (for C++ users)
...
Fixes #1222
2022-01-01 18:22:02 +01:00
rdb
b53895aa3d
Merge branch 'release/1.10.x'
2022-01-01 18:18:46 +01:00
rdb
2915c6e670
glgsg: Force transform_weight column to read (0, 0, 0, 1) if absent
...
On NVIDIA cards, this doesn't seem to happen automatically.
Fixes #1207
2022-01-01 16:49:41 +01:00
rdb
5caf0ff5d6
device: Correction to 0e9ea67066
...
Fixes #1218
2022-01-01 15:14:30 +01:00
rdb
0e9ea67066
device: Implement correct sign extension for Windows raw devices
...
Hopefully, fix for #1218
2022-01-01 12:15:00 +01:00
rdb
72bf9e7fd1
device: Map FrSky RC controller as flight stick instead of gamepad
...
Reverts f01399bba8
2022-01-01 12:09:19 +01:00
rdb
1e6569e678
dxgsg9: Fix issues with luminance textures and ATI1 compression
...
Fixes #1198
2021-12-31 22:59:01 +01:00
rdb
ecc6fb6b0c
dxgsg9: Implement ability to get screenshot from multisample backbuffer
...
Fixes #1225
2021-12-31 13:41:57 +01:00
rdb
953cf898bc
x11: Fix doubled-up info print message
2021-12-26 14:13:32 +01:00
rdb
9598065641
Merge branch 'release/1.10.x'
2021-12-26 14:13:23 +01:00
rdb
f01399bba8
device: Correct axis mappings for FrSky RC controller on Windows
...
See #1218
2021-12-26 12:30:05 +01:00
rdb
8b19761844
device: Add spam output for raw windows device
2021-12-26 12:30:05 +01:00
rdb
5eb0f04e87
display: Add missing host property to GraphicsOutput
2021-12-14 11:43:03 +01:00
rdb
2e0614138f
display: Add pickle support to FrameBufferProperties
2021-12-14 11:42:40 +01:00
rdb
a4d53a8ced
pgraph: Fix unnecessary double state munge in prepare_scene()
...
[skip ci]
2021-12-13 13:23:38 +01:00
rdb
fc625eec11
Merge branch 'release/1.10.x' into incoming
2021-12-12 22:54:15 +01:00
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
e4013226e1
general: Remove vestigial typedef.h file
2021-12-12 18:37:49 +01:00
rdb
3ef5d96efc
putil: Slight BamReader optimization
2021-12-12 18:37:48 +01:00
rdb
eaf8cb79d5
Add pickle support to a variety of classes
2021-12-12 18:35:44 +01:00
rdb
650b958217
display: Add convenient shorthand for win.request_properties()
...
Now instead of this:
win.request_properties(WindowProperties(title="Test"))
You can directly do this:
win.request_properties(title="Test")
2021-12-12 14:54:47 +01:00
rdb
f79ef139ba
device: Don't try to access raw input devices an Android
...
Fixes a log warning
2021-12-12 14:27:56 +01:00
rdb
cc865e6d21
pipeline: Don't exit process when SystemExit happens on external thread
...
PyErr_Print() causes the process to be forcibly exited when a SystemExit exception occurred, this is a big issue on Android.
2021-12-10 14:56:01 +01:00
rdb
429acd6e0d
general: Remove use of proprietary unsigned integer typedefs
2021-12-08 14:51:52 +01:00
rdb
6a50a657be
express: Add support for adding JAR-style signatures to .zip files
...
This is useful for writing apk/aab files in bdist_apps
2021-12-08 14:48:14 +01:00
rdb
60cc334cd9
gobj: Fix some TexturePeeker docstrings
...
[skip ci]
2021-12-07 23:05:49 +01:00
rdb
44e10d10a0
Support deploying Python apps for Android using bdist_apps
2021-12-07 21:00:08 +01:00
rdb
af6230cfda
android: Update android_native_app_glue to latest from upstream
2021-12-06 22:30:13 +01:00
rdb
c594ab38ef
Support building pandagles2 on Android
2021-12-06 22:26:56 +01:00
rdb
c977df33a3
express: Fix issue on platforms without signed cha
2021-12-05 00:01:24 +01:00
rdb
5de31c6293
Merge branch 'release/1.10.x'
2021-12-04 21:57:35 +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
rdb
11edd1a0dc
ffmpeg: Change thread to use lambda
2021-12-01 11:34:48 +01:00
rdb
b1b05c2be9
thread: Allow arbitrary std::function (incl. lambdas) in GenericThread
2021-12-01 11:31:45 +01:00
rdb
37b45a010d
gobj: More efficient tracking of simple image changes
...
Remove the separate simple_image_modified field, instead, the image_modified value is updated if the simple image is changed while there is no RAM image.
This robustifies the tracking on the GSG end, which previously ended up repeatedly calling upload_texture() unnecessarily
2021-11-30 10:56:48 +01:00
rdb
fa0ea312ea
gobj: Move TextureReloadRequest to new Texture::async_ensure_ram_image()
...
The task is implemented with just a simple lambda, much more compact than a whole TextureReloadRequest task. The latter is now deprecated.
Since Loader can't be used within Texture, there's now a new task chain, configurable with texture-reload-num-threads and texture-reload-thread-priority. This does mean that it no longer happens on the same thread as model loads, but I think that's fine, and perhaps texture reloads should be higher priority than model loads anyway since a long texture reload delay with allow-incomplete-render directly and negatively affects user experience during gameplay.
The new name also better communicates that it just calls get_ram_image(), it doesn't force a reload, but we could add an async_reload() for that if we want.
2021-11-30 10:34:00 +01:00
rdb
9e7ca63662
Add missing @since to docstrings of some new methods
2021-11-29 16:02:22 +01:00