This website requires JavaScript.
Explore
Help
Sign in
olemd
/
tilt-shift-camera
Watch
1
Star
0
Fork
You've already forked tilt-shift-camera
0
Code
Issues
Pull requests
Projects
Releases
11
Packages
Wiki
Activity
Actions
6d7be66341
tilt-shift-camera
/
version.properties
4 lines
60 B
Properties
Raw
Normal View
History
Unescape
Escape
Add version management with auto-bump script Version is tracked in version.properties and read by build.gradle.kts. Run ./bump-version.sh [major|minor|patch] before release builds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:58:22 +01:00
versionMajor
=
1
versionMinor
=
1
Fix one landscape orientation rendering image upside down `SurfaceTexture.getTransformMatrix()` for a custom SurfaceProvider does not vary with `Preview.targetRotation` — it only encodes the static sensor-to-buffer transform. The v1.1.8 rebind-on-rotation fix did update Preview's target rotation, but the matrix returned to the GL renderer was identical across all four device orientations. Combined with the activity rotating under fullSensor (so the GL clip-space "up" direction tracks the device, not the world), one of the two landscape orientations rendered the image upside down on a real device. The emulator masked this because its virtual scene is roughly symmetric. Compose the missing piece on the GL thread: rotate the texcoord sampling pattern around its centre by the inverse of the activity rotation before sampling the camera texture. The four orientations now produce four distinct matrices, keeping world-up at screen-up in all of them while leaving portrait unchanged. Bump to 1.1.9. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 14:46:28 +02:00
versionPatch
=
9
versionCode
=
11
Reference in a new issue
Copy permalink