From ebc1f8d4cd9128b057f385ae46fd15bdfa5c26ed Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 7 Mar 2018 23:03:39 +0100 Subject: [PATCH] Document HTML inputs. --- html.rst | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.rst | 1 + intro.rst | 22 ++++++++++---- video.rst | 73 ++--------------------------------------------- 4 files changed, 105 insertions(+), 76 deletions(-) create mode 100644 html.rst diff --git a/html.rst b/html.rst new file mode 100644 index 0000000..644e924 --- /dev/null +++ b/html.rst @@ -0,0 +1,85 @@ +HTML inputs +=========== + +HTML inputs are used for on-the-fly generated graphics, ie. typically animated +overlay graphics that cannot be simple still pictures. They allow you to write graphics +in full HTML5 (including JavaScript) by way of `Chromium Embedded Framework +`_ (CEF for short), a library that +basically embeds a full copy of the Chromium web browser into Nageru. + +HTML inputs are available from Nageru 1.7.0 onwards, but note that they are an +optional component, since many distributions don't carry CEF. Thus, your copy +of Nageru may not support them. See :ref:`compiling` for information on how to +build Nageru with CEF. + +Due to CEF performance issues, Nageru does not currently run CEF with GPU +rendering enabled, even though the rest of Nageru is very much centered around +the GPU. In particular, this means you do not currently have WebGL support. + + +Basic HTML inputs +----------------- + +In many ways, HTML inputs are similar to :doc:`video inputs