aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2025-03-05 17:38:04 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-10 11:44:48 +0000
commitcf3475eab439df049fb48a039801da8270dc044c (patch)
tree006e6a677696f9ce6e030614167158ff6a84c682 /README.md
parentUpdate README.md (diff)
downloadglsl-view-cf3475eab439df049fb48a039801da8270dc044c.tar.gz
glsl-view-cf3475eab439df049fb48a039801da8270dc044c.zip
implement HAP decoding straight to compressed GPU texture
Supports HAP and HAP Alpha (Hap1/Hap5) formats
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 104f0d9..df243f1 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,14 @@ When built with ffmpeg, images and videos can be loaded as 2D or 3D textures:
The filepaths are interpreted relative to the config file.
+#### video files
+Videos are fully uploaded to the GPU as 2D-array- or 3D textures.
+To save on GPU memory, textures are stored using GPU compression.
+Nevertheless, the resolution and length are limited.
+
+Loading most video formats is quite slow because the frames need to be compressed during upload.
+Videos encoded using HAP or HAP Alpha will load much faster since the image data is already in the GPU compressed format.
+
### commands
A message to `/-/reload` forces a reload of the shader source code.