From patchwork Thu Jan 29 16:40:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 26044 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 7A967C3226 for ; Thu, 29 Jan 2026 16:40:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 04CDB61FD9; Thu, 29 Jan 2026 17:40:43 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="bwi3IJZV"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2FEA061FC9 for ; Thu, 29 Jan 2026 17:40:36 +0100 (CET) Received: from pb-laptop.local (185.221.142.123.nat.pool.zt.hu [185.221.142.123]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6C5FB1934 for ; Thu, 29 Jan 2026 17:39:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1769704798; bh=x+90y/6kN/Ln39zb4OnQBOgysdmjRXcOO8X5pkwIQB4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bwi3IJZVkF/aCd2Sx1OkRTRHu6dzJDEMEocYdXsbVFhrvCBPeCSkzA1Vm6smZwbtW EphOhFsSYX3RAGaQLv/7+vniGoMzRQZIj9X6/HGvJOQnBH3wkYeHSGcCwYmMLLwxIC bBqAm4V73HPNmulvMZdUmJeS5Gh6d6d+JlF9npu8= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1 4/7] meson: Remove `gles_headless_enabled` Date: Thu, 29 Jan 2026 17:40:29 +0100 Message-ID: <20260129164032.1380169-4-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260129164032.1380169-1-barnabas.pocze@ideasonboard.com> References: <20260129164032.1380169-1-barnabas.pocze@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Use the `mesa_works` variable instead to simplify, the two variables have the same value. Signed-off-by: Barnabás Pőcze --- src/libcamera/meson.build | 6 ------ src/libcamera/software_isp/meson.build | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 28ce93de6..06ed34101 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -74,12 +74,6 @@ mesa_works = cc.check_header('EGL/egl.h', required: false) libegl = dependency('egl', required : false) libglesv2 = dependency('glesv2', required : false) -if mesa_works - gles_headless_enabled = true -else - gles_headless_enabled = false -endif - subdir('base') subdir('converter') subdir('ipa') diff --git a/src/libcamera/software_isp/meson.build b/src/libcamera/software_isp/meson.build index 4c61909fd..118d3f92f 100644 --- a/src/libcamera/software_isp/meson.build +++ b/src/libcamera/software_isp/meson.build @@ -2,7 +2,7 @@ softisp_enabled = pipelines.contains('simple') summary({'SoftISP support' : softisp_enabled}, section : 'Configuration') -summary({'SoftISP GPU acceleration' : gles_headless_enabled}, section : 'Configuration') +summary({'SoftISP GPU acceleration' : mesa_works}, section : 'Configuration') if not softisp_enabled subdir_done() @@ -16,7 +16,7 @@ libcamera_internal_sources += files([ 'swstats_cpu.cpp', ]) -if gles_headless_enabled +if mesa_works config_h.set('HAVE_DEBAYER_EGL', 1) libcamera_internal_sources += files([ '../egl.cpp',