发明名称 Graphics scenegraph rendering for web applications using native code modules
摘要 One embodiment provides a system that facilitates the execution of a web application. During operation, the system loads a native code module that includes a scenegraph renderer into a secure runtime environment. Next, the system uses the scenegraph renderer to create a scenegraph from a graphics model associated with the web application and generate a set of rendering commands from the scenegraph. The system then writes the rendering commands to a command buffer and reads the rendering commands from the command buffer. Finally, the system uses the rendering commands to render, for the web application, an image corresponding to the graphics model by executing the rendering commands using a graphics-processing unit (GPU).
申请公布号 US9619858(B1) 申请公布日期 2017.04.11
申请号 US201414449754 申请日期 2014.08.01
申请人 Google Inc. 发明人 Labour Antoine;Papakipos Matthew
分类号 G06T1/20 主分类号 G06T1/20
代理机构 McDermott Will & Emery LLP 代理人 McDermott Will & Emery LLP
主权项 1. A computer-implemented method, comprising: loading a validated native code module into a secure runtime environment, the secure runtime environment preventing the native code module from accessing a graphics-processor unit (GPU); creating a scenegraph from a graphics model; generating, by the native code module, a set of rendering commands from the scenegraph; transmitting the rendering commands from the native code module within the secure runtime environment to a trusted code module outside the secure runtime environment to provide graphics hardware acceleration, the trusted code module configured to communicate with the GPU; providing, by the trusted code module, the rendering commands to the GPU; and executing, using the GPU the provided rendering commands to render an image.
地址 Mountain View CA US