tilt-shift-camera/app
Ole-Morten Duesund 7979ebd029 Fix CameraX GL surface: render-on-demand, crop-to-fill, lifecycle
- Switch GLSurfaceView from RENDERMODE_CONTINUOUSLY to RENDERMODE_WHEN_DIRTY
  with OnFrameAvailableListener, halving GPU work
- Add crop-to-fill aspect ratio correction so camera preview is not
  stretched on displays with non-16:9 aspect ratios
- Add LifecycleEventObserver to pause/resume GLSurfaceView with Activity
  lifecycle, preventing background rendering and GL context issues

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:58:17 +01:00
..
src/main Fix CameraX GL surface: render-on-demand, crop-to-fill, lifecycle 2026-03-05 13:58:17 +01:00
build.gradle.kts Add ViewModel for state preservation and centralize color constants 2026-03-05 12:07:39 +01:00
proguard-rules.pro Fix concurrency, lifecycle, performance, and config issues from audit 2026-03-05 13:44:12 +01:00