mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +00:00
fix: align local WebGPU capture behavior (#2907)
* fix: align local WebGPU capture behavior * fix: address WebGPU capture review feedback * fix: retain overlapping GPU seek work * fix: satisfy runtime seek completion types * fix: drain concurrent GPU seek work * fix: prevent WebGPU capture barrier starvation * fix: keep WebGPU presentation active during render seeks
This commit is contained in:
@@ -53,6 +53,13 @@ describe("transparent snapshot capture", () => {
|
||||
expect(source).toContain("autoProxy: args.proxy as boolean | undefined");
|
||||
expect(source).toContain("opts.autoProxy");
|
||||
});
|
||||
|
||||
it("resolves and forwards the shared local browser GPU policy", () => {
|
||||
const source = readFileSync(new URL("./snapshot.ts", import.meta.url), "utf8");
|
||||
expect(source).toContain("resolveLocalBrowserGpuMode");
|
||||
expect(source).toContain("browserGpuMode: opts.browserGpuMode");
|
||||
expect(source).toContain('"browser-gpu": {');
|
||||
});
|
||||
});
|
||||
|
||||
describe("resolveSnapshotVideoFrameTime", () => {
|
||||
|
||||
Reference in New Issue
Block a user