{"id":26307,"url":"https://patchwork.libcamera.org/api/1.1/patches/26307/?format=json","web_url":"https://patchwork.libcamera.org/patch/26307/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260323082000.1324115-5-barnabas.pocze@ideasonboard.com>","date":"2026-03-23T08:19:57","name":"[v2,4/7] meson: Remove `gles_headless_enabled`","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"c8d2bfc014d117ce119156363c31868eba1da6df","submitter":{"id":216,"url":"https://patchwork.libcamera.org/api/1.1/people/216/?format=json","name":"Barnabás Pőcze","email":"barnabas.pocze@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/26307/mbox/","series":[{"id":5835,"url":"https://patchwork.libcamera.org/api/1.1/series/5835/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5835","date":"2026-03-23T08:19:53","name":"meson: Add `softisp-gpu` option","version":2,"mbox":"https://patchwork.libcamera.org/series/5835/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/26307/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/26307/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 454C7C32F6\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 23 Mar 2026 08:20:15 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6FD366275B;\n\tMon, 23 Mar 2026 09:20:11 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5A20A62741\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 23 Mar 2026 09:20:04 +0100 (CET)","from pb-laptop.local (185.221.143.129.nat.pool.zt.hu\n\t[185.221.143.129])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 16299874;\n\tMon, 23 Mar 2026 09:18:48 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"NfBIKBMa\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1774253928;\n\tbh=Om2U5SHeIMp7/720zsuw32xnnMaNQssq/1V6y3dEFzk=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=NfBIKBMakfNlYJueZaTRN521a9MFlGJ1VwrGfXeFYAvyFsLihGJOvQkubr0OHHQaG\n\tIfS4hf9YGXMw+aplGa9mYEWFow5eYzA5qcMyLKHqI5m7+T/xodqIiW0gbEU0d5jk2z\n\tmH8YI/mF6zIrl6WYAFZFua5Cl/wLOH9nH65NtQBI=","From":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Milan Zamazal <mzamazal@redhat.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>","Subject":"[PATCH v2 4/7] meson: Remove `gles_headless_enabled`","Date":"Mon, 23 Mar 2026 09:19:57 +0100","Message-ID":"<20260323082000.1324115-5-barnabas.pocze@ideasonboard.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260323082000.1324115-1-barnabas.pocze@ideasonboard.com>","References":"<20260323082000.1324115-1-barnabas.pocze@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Use the `mesa_works` variable instead to simplify, the two variables\nhave the same value.\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\nReviewed-by: Milan Zamazal <mzamazal@redhat.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/meson.build              | 6 ------\n src/libcamera/software_isp/meson.build | 4 ++--\n 2 files changed, 2 insertions(+), 8 deletions(-)","diff":"diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build\nindex 28ce93de6..06ed34101 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -74,12 +74,6 @@ mesa_works = cc.check_header('EGL/egl.h', required: false)\n libegl = dependency('egl', required : false)\n libglesv2 = dependency('glesv2', required : false)\n \n-if mesa_works\n-    gles_headless_enabled = true\n-else\n-    gles_headless_enabled = false\n-endif\n-\n subdir('base')\n subdir('converter')\n subdir('ipa')\ndiff --git a/src/libcamera/software_isp/meson.build b/src/libcamera/software_isp/meson.build\nindex 4c61909fd..118d3f92f 100644\n--- a/src/libcamera/software_isp/meson.build\n+++ b/src/libcamera/software_isp/meson.build\n@@ -2,7 +2,7 @@\n \n softisp_enabled = pipelines.contains('simple')\n summary({'SoftISP support' : softisp_enabled}, section : 'Configuration')\n-summary({'SoftISP GPU acceleration' : gles_headless_enabled}, section : 'Configuration')\n+summary({'SoftISP GPU acceleration' : mesa_works}, section : 'Configuration')\n \n if not softisp_enabled\n     subdir_done()\n@@ -16,7 +16,7 @@ libcamera_internal_sources += files([\n     'swstats_cpu.cpp',\n ])\n \n-if gles_headless_enabled\n+if mesa_works\n     config_h.set('HAVE_DEBAYER_EGL', 1)\n     libcamera_internal_sources += files([\n         '../egl.cpp',\n","prefixes":["v2","4/7"]}