[PATCH 0/3] qcam: Fix GL renderer on Qt 6

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Sep 11 09:58:17 CEST 2024


Quoting Laurent Pinchart (2024-09-11 00:46:46)
> Hello,
> 
> This small series fixes the GL render with Qt 6. The fix is actually in
> patch 1/3 only, with patches 2/3 and 3/3 bringing additional cleanups
> and improvements.
> 

Thanks - just re-tested and can confirm it's working again on my X13s
with qcam -r gles - and now the behaviour of both with and without is
matched for the letter boxing.

Tested-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>


> Laurent Pinchart (3):
>   qcam: viewfinder_gl: Fix binding of vertex buffer and shader program
>   qcam: viewfinder_gl: Drop duplicate glClearColor()
>   qcam: viewfinder_gl: Render image centered in letterbox
> 
>  src/apps/qcam/assets/shader/bayer_8.vert  |  4 +-
>  src/apps/qcam/assets/shader/identity.vert |  3 +-
>  src/apps/qcam/viewfinder_gl.cpp           | 54 ++++++++++++++---------
>  src/apps/qcam/viewfinder_gl.h             |  2 +-
>  4 files changed, 39 insertions(+), 24 deletions(-)
> 
> 
> base-commit: f75b8dd26feaca86701704390dea18c71e2f0350
> -- 
> Regards,
> 
> Laurent Pinchart
>


More information about the libcamera-devel mailing list