From 219cbfe76b5a7d9d8206c71aa6115ff8befcff9b Mon Sep 17 00:00:00 2001 From: Show Liu Date: Fri, 11 Sep 2020 16:55:14 +0800 Subject: qcam: Add additional command line option to select the renderer type Add new option "--renderer=qt|gles" to select the renderer type, "--renderer=gles" to accelerate format conversion and rendering "--renderer=qt" is the original Qt rendering. Signed-off-by: Show Liu Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/qcam/main_window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qcam/main_window.h') diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index 3d21779e..5c61a4df 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -37,6 +37,7 @@ class HotplugEvent; enum { OptCamera = 'c', OptHelp = 'h', + OptRenderer = 'r', OptStream = 's', }; -- cgit v1.2.1