From patchwork Mon Mar 23 08:19:54 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: 26304 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 E52BCC32DE for ; Mon, 23 Mar 2026 08:20:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B03DD6275C; Mon, 23 Mar 2026 09:20:07 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="lQUX9GfG"; 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 A57FC62737 for ; Mon, 23 Mar 2026 09:20:03 +0100 (CET) Received: from pb-laptop.local (185.221.143.129.nat.pool.zt.hu [185.221.143.129]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5D52F189C; Mon, 23 Mar 2026 09:18:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1774253927; bh=yRtGsdOtpT23QnhIEiQ/8ulKcxs9vet0aMnOKsMvEEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lQUX9GfG5Ki/ZK/Vf8FbWT5D0yJCMfvyBIopdnTtoUcmNQCwc9/o6/hNVokTfItrS uipiohAEyzcXw4C279rgvCxSNHMTQ666H2FaCr6CgW1qOzUAjHoMneccgf4ymUeK4p sXpDvGdPvwb/g9v7wdLit02TOfugI/U95kPGvi7w= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Cc: Milan Zamazal , Laurent Pinchart Subject: [PATCH v2 1/7] meson: Drop unnecessary egl, gles feature defines Date: Mon, 23 Mar 2026 09:19:54 +0100 Message-ID: <20260323082000.1324115-2-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 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" `HAVE_LIBEGL` and `HAVE_GLESV2` are not used, so drop them. Signed-off-by: Barnabás Pőcze Reviewed-by: Milan Zamazal Reviewed-by: Laurent Pinchart --- src/libcamera/meson.build | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index d15943586..c6c109a30 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -74,14 +74,6 @@ mesa_works = cc.check_header('EGL/egl.h', required: false) libegl = dependency('egl', required : false) libglesv2 = dependency('glesv2', required : false) -if libegl.found() - config_h.set('HAVE_LIBEGL', 1) -endif - -if libglesv2.found() - config_h.set('HAVE_GLESV2', 1) -endif - if mesa_works libcamera_internal_sources += files([ 'egl.cpp',