perf(producer): skip fully occluded leading DOM capture in HDR layered compositor
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- computer-graphics, performance
Línea de trabajo
Start by tracing the normal HDR layered compositor and its existing HDR video read/blit path on main; the issue does not name specific files or tests. Add regression coverage for the listed eligible and fallback layer plans, including preservation of the upper DOM layer. Done means the optimized and legacy paths are pixel-identical, with failures replaying once through the legacy path.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
The normal HDR layered compositor can produce a layer plan such as:
DOM → HDR video → DOM
Both DOM groups are currently rasterized independently. When the first paintable layer above the leading DOM group is an opaque native HDR video that covers the complete output canvas, the lower DOM raster cannot contribute a pixel to the final frame.
Avoiding that capture removes one full-page screenshot, PNG decode, and RGBA-to-RGB48 blit per eligible frame.
Affected version
Observed in HyperFrames v0.8.114 (01c6f6004a00ecfa6e77ab4025b47a46a5e925fc). Please confirm the current compositor topology on main.
Safety requirements
Eligibility should be conservative and based on existing stacking and geometry state:
- the first composite layer is DOM;
- the first paintable layer above it is a native HDR video;
- opacity is effectively 1 and the video is active;
- x/y are the frame origin and paint/layout dimensions cover the full output;
- the source frame dimensions and raw-frame size are compatible with a full-frame blit;
- clip is absent or exactly full bounds;
- border radius is zero;
- transform is absent or identity.
HDR images, transitions, elementFilter captures, SDR capture, partial clips, non-identity transforms, and ambiguous geometry should remain on the legacy path.
Fail-safe behavior
Geometry alone is insufficient. The lower DOM capture should be deferred until the eligible HDR frame has actually been read and blitted successfully.
The HDR video blit can expose a small typed result such as blitted | skipped | failed. Only blitted permits dropping the deferred DOM layer. On skipped, failed, incomplete reads, or exceptions, clear the uncommitted canvas and replay that frame once through the existing path with the optimization disabled.
Validation
Regression tests should cover:
- successful DOM → opaque full-frame HDR video → DOM;
- opacity below the opaque threshold;
- smaller dimensions or non-zero x/y;
- border radius, non-identity transform, and partial clip;
- an exact full-bounds clip;
- HDR read/blit failure and one-pass legacy fallback;
- transition/
elementFilterexclusion; - preservation of the upper DOM layer.
Output should be pixel-identical to the legacy compositor for eligible and fallback cases.
- Lenguaje dominante
- TypeScript
- Estrellas
- 54.1k
- Forks
- 4.9k
- Merge medio
- 7 h 2 min
- PR fusionados (30 d)
- 782
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de heygen-com/hyperframes
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
heygen-com/hyperframes#5117 ·
Los mantenedores suelen responder en 1 día
-
Docs: clarify that "Enable auto-update" is only available in the Claude Code terminal (CLI) /plugin UIPosiblemente ocupada @rumi7911 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
heygen-com/hyperframes#5027 ·
Los mantenedores suelen responder en 1 día
-
fix(producer): propagate useGpu to HDR layered streaming encoderPosiblemente ocupada @Monster-GM la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
heygen-com/hyperframes#5002 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
heygen-com/hyperframes#4702 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Studio catalog prompt editor has no accessible namePosiblemente ocupada @lorenzozanee la tomó hace 13 días. Abiertobug difficulty/easy triage/ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
heygen-com/hyperframes#4384 ·
Los mantenedores suelen responder en 1 día
Todos los issues de heygen-com/hyperframes
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
[Bug] remember() with special characters in namespace hangs until timeout instead of returning 400Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
MystenLabs/MemWal#1133 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug user-priority/P2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Effect-TS/effect#8881 · 1 comentario ·
Los mantenedores suelen responder en 1 día