From patchwork Thu Nov 26 11:03:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Remy Alipoursafari X-Patchwork-Id: 29091 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 48424BDE17 for ; Thu, 26 Nov 2026 11:05:09 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C2D216AA1B; Thu, 26 Nov 2026 12:05:07 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="PHH7sa/W"; dkim-atps=neutral Received: from sender6-pp-f112.zoho.com (sender6-pp-f112.zoho.com [165.173.180.112]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 506E26A8C7 for ; Thu, 26 Nov 2026 12:05:05 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; t=1795691100; cv=none; d=zohomail.com; s=zohoarc; b=djq6+ActIssgpVA1pZJy9e/FujOVBYx/aF01wE/4LL7yviP3QkKdhZDAr32t6cRXInGspIA4z8NX7CiFPZMogimp0w5YfnLjVKqE7qUtcZ27ayRjNqiEL39s6/tngQm3O9+cI72zr1P9NnkiN8t6kRz+uxi/0yW1nwwBDlO3TNQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1795691100; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=oKS9RoUHGvUk4FMMThQjmosxMNr8hcgeceEHEq+kqcQ=; b=gck0GG7JKMRS+glOjlX7Apt0PBKZMlMEhCW01LYBmBQ83jG1XqfJDmwz3AnLj06llTUZB2JwK741RzGpXeJEkTHvk0J5D44hBZsRTKBBPrDj7qCewYVsZFGEbADgK50zcvDUBHcHAtc1E5IfMZR0gt6Vmr2IgS3uKqYN5bvt/vQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=remy.alipoursafari@collabora.com; dmarc=pass header.from= DKIM-Signature: a=rsa-sha256; b=PHH7sa/WwdAiixTJtAy/++aGjJ/vieRwjbblq5kj4igaUSslPn1jUQnaTqT1g+SQMAYZR++Olo4XQxwQA0//vcmD4dcU6Gfiy2hOQ6mcROl2xGakTNbUd/+Mvds8QvRN1lSlcGjlr9zfGu8CayblPt/KJkhCbYJZqywLQMGcffg=; c=relaxed/relaxed; s=zohomail; d=collabora.com; v=1; bh=oKS9RoUHGvUk4FMMThQjmosxMNr8hcgeceEHEq+kqcQ=; h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc; Received: by smtp.zohomail.com with SMTPS id 1795691099313164.32620419416196; Thu, 26 Nov 2026 03:04:59 -0800 (PST) From: Remy Alipoursafari To: libcamera-devel@lists.libcamera.org Cc: =?utf-8?q?Lo=C3=AFc_Molinari?= , Robert Mader , Remy Alipoursafari Subject: [PATCH 0/6] benchmark: Add GPU benchmarking to SoftISP eGL Date: Fri, 27 Nov 2026 00:03:38 +1300 Message-ID: <20261126110422.362455-1-remy.alipoursafari@collabora.com> X-Mailer: git-send-email 2.56.0 MIME-Version: 1.0 X-ZohoMailClient: External 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" Heya, This patchset sets up ways to check the extensions & versions of OpenGL & eGL, and allows the benchmark class to be extended, to allow the GPU to be benchmarked with the EXT_disjoint_timer_query extension when present. This has already received an initial review from Loïc Molinari and Robert Mader over on a tracking MR at [1]. Also, I did previously send up the patch ([2]), however there was something wrong with Collabora's email at the time meaning that it didn't properly get delivered to the mailing list. So I'm sending this up again. [1]: https://gitlab.freedesktop.org/coolGi/libcamera/-/merge_requests/1 [2]: https://lists.libcamera.org/pipermail/libcamera-devel/2026-November/thread.html#:~:text=P%C5%91cze-,[PATCH%200%2F6,Alipoursafari Thanks in advance, Remy A (coolGi) Loïc Molinari (2): libcamera: egl: Add GL extension & version checks libcamera: software_isp: debayer_egl: Check GL_RG support Remy Alipoursafari (4): libcamera: egl: Ensure required extensions are supported libcamera: egl: Separate proc address search into its own function software_isp: benchmark: Make benchmark into an abstract class software_isp: benchmark: Add GPU benchmarking include/libcamera/internal/egl.h | 29 ++ .../internal/software_isp/benchmark.h | 18 +- .../internal/software_isp/benchmark_cpu.h | 37 +++ .../internal/software_isp/benchmark_egl.h | 43 +++ .../internal/software_isp/meson.build | 3 +- .../internal/software_isp/swstats_cpu.h | 5 +- src/libcamera/egl.cpp | 249 ++++++++++++++++-- src/libcamera/software_isp/benchmark.cpp | 108 ++++++-- src/libcamera/software_isp/benchmark_cpu.cpp | 74 ++++++ src/libcamera/software_isp/benchmark_egl.cpp | 98 +++++++ src/libcamera/software_isp/debayer.h | 4 +- src/libcamera/software_isp/debayer_cpu.cpp | 1 + src/libcamera/software_isp/debayer_egl.cpp | 46 +++- src/libcamera/software_isp/debayer_egl.h | 4 +- src/libcamera/software_isp/meson.build | 2 + src/libcamera/software_isp/swstats_cpu.cpp | 1 + 16 files changed, 666 insertions(+), 56 deletions(-) create mode 100644 include/libcamera/internal/software_isp/benchmark_cpu.h create mode 100644 include/libcamera/internal/software_isp/benchmark_egl.h create mode 100644 src/libcamera/software_isp/benchmark_cpu.cpp create mode 100644 src/libcamera/software_isp/benchmark_egl.cpp