GL2GPU: Accelerating WebGL Applications via Dynamic API Translation to WebGPU
Yudong Han, Weichen Bi, Ruibo An, Deyu Tian, Qi Yang, Yun Ma
摘要
WebGL has long been the prevalent API for GPU-accelerated graphics in web browsers, boosting 2D/3D graphical web applications. Despite widespread adoption, WebGL's programming model hinders its rendering performance on modern GPU hardware. To this end, WebGPU has been proposed as the next-generation API of GPU-accelerated processing in web browsers, exhibiting higher performance than WebGL. However, considering the complex logic of WebGL applications and the still-evolving WebGPU specification, statically migrating existing WebGL applications to WebGPU from source code is labor-intensive. To address this issue, we propose GL2GPU, an intermediate layer that dynamically translates WebGL to WebGPU at JavaScript runtime to improve rendering performance. GL2GPU addresses the inconsistencies between the WebGL and WebGPU programming models by emulating WebGL rendering states and leverages performance optimization mechanisms introduced by WebGPU to reduce the overhead of dynamic translation. Evaluation of three representative WebGL benchmarks shows that GL2GPU significantly enhances end-to-end rendering performance while maintaining visual consistency, achieving an average frame time reduction of 45.05% across different devices and operating systems. CCS Concepts • Information systems → Browsers; Web applications; • Computing methodologies → Computer graphics; • Software and its engineering → Software notations and tools.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper9
- JavaScript Zero: Real JavaScript and Zero Side-Channel AttacksMichael Schwarz, Moritz Lipp, Daniel GrussNDSS 2018 · 被引用 67 次
- Detecting Node.js prototype pollution vulnerabilities via object lookup analysisSong Li, Mingqing Kang, Jianwei Hou, Yinzhi CaoFSE 2021 · 被引用 49 次
- MC Mutants: Evaluating and Improving Testing for Memory Consistency SpecificationsReese Levine, Tianhao Guo, Mingun Cho, Alan Baker 等ASPLOS 2023 · 被引用 8 次
- GPUHarbor: Testing GPU Memory Consistency at Large (Experience Paper)Reese Levine, Mingun Cho, Devon McKee, Andrew Quinn 等ISSTA 2023 · 被引用 7 次
- Residency Octree: A Hybrid Approach for Scalable Web-Based Multi-Volume RenderingLukas Herzberger, Markus Hadwiger, Robert Krüger, Peter K. Sorger 等IEEE VIS 2023 · 被引用 7 次
相关 Paper
- WeInfer: Unleashing the Power of WebGPU on LLM Inference in Web BrowsersZhiyang Chen, Yun Ma, Haiyang Shen, Mugeng LiuWWW 2025 · 被引用 9 次
- FusionRender: Harnessing WebGPU's Power for Enhanced Graphics Performance on Web BrowsersWeichen Bi, Yun Ma, Yudong Han, Yifan Chen 等WWW 2024 · 被引用 5 次
- Characterizing GPU-accelerated Web Applications in BrowsersYudong Han, Weichen Bi, Haiyang Shen, Mugeng Liu 等ICSE 2026
- Uniformity Analysis in the WebGPU Shading LanguageJames Lee-Jones, John Wickerson, Alastair F. DonaldsonPLDI 2026 · 被引用 1 次
- SafeRace: Assessing and Addressing WebGPU Memory Safety in the Presence of Data RacesReese Levine, Ashley Lee, Neha Abbas, Kyle Little 等OOPSLA 2025 · 被引用 3 次
