Merge pull request #1045 from heygen-com/feat/vfx-liquid-glass-v2

feat(registry): Apple Liquid Glass components — iOS 26 + macOS Tahoe
This commit is contained in:
Miguel Ángel
2026-05-24 12:33:37 -04:00
committed by GitHub
84 changed files with 11378 additions and 64 deletions
@@ -20,6 +20,7 @@ describe("buildChromeArgs browser GPU mode", () => {
it("uses SwiftShader software GL by default for reproducible local renders", () => {
const args = buildChromeArgs(base);
expect(args).toContain("--enable-features=CanvasDrawElement");
expect(args).not.toContain("--enable-unsafe-webgpu");
expect(args).toContain("--use-gl=angle");
expect(args).toContain("--use-angle=swiftshader");
expect(args).toContain("--enable-unsafe-swiftshader");
@@ -28,6 +29,7 @@ describe("buildChromeArgs browser GPU mode", () => {
it("uses Metal-backed ANGLE for hardware browser GPU mode on macOS", () => {
const args = buildChromeArgs({ ...base, platform: "darwin" }, { browserGpuMode: "hardware" });
expect(args).toContain("--enable-unsafe-webgpu");
expect(args).toContain("--use-gl=angle");
expect(args).toContain("--use-angle=metal");
expect(args).toContain("--enable-gpu-rasterization");
@@ -484,6 +484,7 @@ export interface BuildChromeArgsOptions {
}
const CANVAS_DRAW_ELEMENT_FEATURE_FLAG = "--enable-features=CanvasDrawElement";
const WEBGPU_FLAG = "--enable-unsafe-webgpu";
export function buildChromeArgs(
options: BuildChromeArgsOptions,
@@ -536,6 +537,10 @@ export function buildChromeArgs(
"--disable-features=AudioServiceOutOfProcess,IsolateOrigins,site-per-process,Translate,BackForwardCache,IntensiveWakeUpThrottling",
];
if (browserGpuMode !== "software") {
chromeArgs.push(WEBGPU_FLAG);
}
// BeginFrame flags — only when using chrome-headless-shell on Linux
if (options.captureMode !== "screenshot") {
chromeArgs.push(