发明名称 Primitive composition
摘要 Performing primitive composition within a user interface thread, enhancing the ability to scale a user interface framework to computing devices having limited resources. In one or more embodiments, a user interface thread walks a user interface hierarchy that describes elements of a program's user interface and directly generates static Graphics Processing Unit (GPU) data structures representing at least a portion of the user interface hierarchy. The user interface thread passes the static GPU data structures to a composition thread, which uses these static GPU data structures during generation of a plurality of video frames. This includes the composition thread, based on the static GPU data structures, sending GPU data and GPU commands for the plurality of video frames to a GPU for rendering.
申请公布号 US8872838(B2) 申请公布日期 2014.10.28
申请号 US201113229342 申请日期 2011.09.09
申请人 Microsoft Corporation 发明人 Schneider Gerhard;Jordan Bede;Michail Ashraf;Clark Brendan J.;Olszta Pawel Wiktor
分类号 G09G5/00 主分类号 G09G5/00
代理机构 代理人 Azure Tony;Kuchibhatla Ramesh;Minhas Micky
主权项 1. At a computer system including one or more processors and system memory, the computer system also including a graphics processing unit (GPU), a method for using primitive composition to render a user interface for a program, the method comprising: a user interface (UI) thread walking a user interface hierarchy for the program, the user interface hierarchy describing one or more user interface elements of a user interface of the program; based on the UI thread walking the user interface hierarchy, the UI thread directly generating one or more static GPU data structures representing at least a portion of the user interface hierarchy; the UI thread passing the one or more static GPU data structures to a composition thread, the composition thread storing the one or more static GPU data structures such that the one or more static GPU data structures can be reused during the generation of a plurality of video frames corresponding to the user interface; and the composition thread generating the plurality of video frames corresponding to the user interface, including the composition thread sending GPU data and GPU commands derived from the one or more static GPU data structures to the GPU for each of the plurality of video frames, such that, during multiple executions of the composition thread, the composition thread reuses when rendering the plurality of video frames corresponding to the user interface the one or more static GPU data structures received from the UI thread.
地址 Redmond WA US