From e68316d3824a72dec5c9577e4dbc04ad84b77922 Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Tue, 24 Jan 2023 14:26:05 +0100 Subject: [PATCH] connectcore-demo-example: webglsamples: set aquarium options Set the options to false, so user can enable it and see the effect and how it loads the performance. Just starting with those options ON leads to a loaded system and the first impression is too bad. Signed-off-by: Isaac Hermida --- .../connectcore-demo-example-webkit/webglsamples_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-digi-dey/dynamic-layers/webkit/recipes-digi/connectcore-demo-example-webkit/webglsamples_git.bb b/meta-digi-dey/dynamic-layers/webkit/recipes-digi/connectcore-demo-example-webkit/webglsamples_git.bb index c74e99efc..5ba2d9b6f 100644 --- a/meta-digi-dey/dynamic-layers/webkit/recipes-digi/connectcore-demo-example-webkit/webglsamples_git.bb +++ b/meta-digi-dey/dynamic-layers/webkit/recipes-digi/connectcore-demo-example-webkit/webglsamples_git.bb @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Digi International. +# Copyright (C) 2020-2023 Digi International. SUMMARY = "A collection of WebGL samples" DESCRIPTION = "This repo contains several examples of the WebGL JavaScript API, which allows web browsers to render 2D and 3D graphics with direct access to the system's GPU." @@ -63,6 +63,8 @@ do_install() { find ${sample} -path *source_assets* -prune -false -o -type f \ -exec install -Dm 644 "{}" "${D}/${WEBSERVER_ROOT}/{}" \; done + # Disable the aquarium options by default + sed -i 's/enabled: true/enabled: false/g' ${D}/${WEBSERVER_ROOT}/aquarium/aquarium-common.js } # All packages involved in the webkit examples install their files in the