From patchwork Sun Aug 14 16:07:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunal Agarwal X-Patchwork-Id: 17121 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 D359FC3272 for ; Sun, 14 Aug 2022 16:09:30 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9F37861FC4; Sun, 14 Aug 2022 18:09:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1660493370; bh=gqLogKPxVh/WCIMHL8siNzuaNJ+1yCwFOZuK8dhBCtE=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Pndt+dMinPcTW30HZsH6E1rGYlUd5S478KqYuPXV0SrXV1S+zh5tY2FIrc81BGlYw MbK+9XLOaMGxLNZdxomkB3W8YiaSnZF8/Ojnxp4TviPzxFnZPL6JuOjiLue/w026M9 VS8MRYF/Ekuc/CreWMRRJ6Rq2quVSnmDEztdk1Tm9RjHEeSCCT6TBE1560FlVKe+1d PZu7OY7p2JtWcGcMMLlY6Z+7NvZTca0BDEOi72+6YyS6epOU56KKojU2pCoQxXdljW s2snYhhDwyQYyfhm5sqVmH+yRL1K84HISbw6wEgm/bGroK8AFHUwJAcwpygNHrDFya zXfeQvObac4Lg== Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A6D6C61FBA for ; Sun, 14 Aug 2022 18:09:28 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="XmTR/AJI"; dkim-atps=neutral Received: by mail-pl1-x635.google.com with SMTP id 13so4568961plo.12 for ; Sun, 14 Aug 2022 09:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=thstpLkjmu5aChZH/pskTvwz85n+Z9IHTFGY7BPADSU=; b=XmTR/AJIKWeVFI/wf81JnOfOmIyt5xuj36MOsbRUvRwRKlLYEn3Ecizz0UfUgjQu5o OGeFWPoQ01+eZKj/ajePbyCttKjYv2JblSSafig+7mzv4Dbi/SNXKpHgrCzu2djMmF1H WmlNfzsk9Xy4pWfBvpStq8O9KMvluqtoEXfFAYZxlYyT6LfvIYtwHYLwQkmbRXvzhISo xKkVimP+UX/IfouPH18AdGBkdrr9zm1zCAxcVq/DYdj6Hjpcx8qIDRJIm9sDaQKYDt02 Nf008H4F4MEu0E8lmFpFx2HAgPq9rxJf8pzh0pPzYw3/7y+/X50dKuuuBveEh2x720PD xupQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=thstpLkjmu5aChZH/pskTvwz85n+Z9IHTFGY7BPADSU=; b=J4ccFYdyi0lz3bVJWlpJLF/986LlpnoSWvChKK0G0nDbHf4BKGSCbt9asVg4GFKuRT MVbVOLaZ8h5CYG4KFdy5+gTmR5JQImq04CFXs/AXW6XV1h44WW+ho/khOh0pLze7/iFc N6F1MiFrDjCo9LzXBSGquTglpO89prNqDcar5Jn1mpoGhi8hTDJ5+WDxuIH/raiRDQhX qxKFQForoYYC9JnzoxphfdSetqABrIzIjohO8+bss7UlS2zpHyTTD2QbcOvQwz5caIDI 24wwF4ySutzFUMCYUWkTueSaz6a7J6YNHBAbR0s+WUmmv+MOezFRLS4McMHOTX9QHzRW 9BFA== X-Gm-Message-State: ACgBeo1vPCe0USQY/mlJO/sZ/vszKa+8dMqQSYkciyaLigX/ayLus+Iv XChdRpw351XM2MGpfVJGzTXnEN9+j68= X-Google-Smtp-Source: AA6agR4jySUCu0D3Hwdk7nvJ7Q0dPT2m//7kLFDreHDBSOLoBN7FwszeC6NwQAq1p6EVGROI1/c1Uw== X-Received: by 2002:a17:902:e5c6:b0:16e:f3b6:ddb5 with SMTP id u6-20020a170902e5c600b0016ef3b6ddb5mr12875867plf.122.1660493367065; Sun, 14 Aug 2022 09:09:27 -0700 (PDT) Received: from pop-os.localdomain ([115.96.217.20]) by smtp.googlemail.com with ESMTPSA id j6-20020a170902da8600b001709aea1516sm5576653plx.276.2022.08.14.09.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Aug 2022 09:09:26 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Sun, 14 Aug 2022 21:37:47 +0530 Message-Id: <20220814160747.52093-6-kunalagarwal1072002@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220814160747.52093-1-kunalagarwal1072002@gmail.com> References: <20220814160747.52093-1-kunalagarwal1072002@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 6/6] Additions in meson.build files 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: , X-Patchwork-Original-From: Kunal Agarwal via libcamera-devel From: Kunal Agarwal Reply-To: Kunal Agarwal Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Adds files and dependencies required for GL Converter to compile Signed-off-by: Kunal Agarwal --- src/libcamera/meson.build | 3 +++ src/libcamera/pipeline/simple/meson.build | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index b57bee7e..b14102f8 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -136,6 +136,9 @@ libcamera_deps = [ libcamera_base, libcamera_base_private, libdl, + libegl, + libgbm, + libgl, libgnutls, liblttng, libudev, diff --git a/src/libcamera/pipeline/simple/meson.build b/src/libcamera/pipeline/simple/meson.build index 9c99b32f..02929456 100644 --- a/src/libcamera/pipeline/simple/meson.build +++ b/src/libcamera/pipeline/simple/meson.build @@ -1,6 +1,12 @@ # SPDX-License-Identifier: CC0-1.0 libcamera_sources += files([ - 'converter.cpp', + 'converter_gl.cpp', + 'shader.cpp', 'simple.cpp', + 'texture.cpp', ]) + +libegl = dependency('egl', required : true) +libgbm = dependency('gbm', required : true) +libgl = dependency('gl', required : true)