发明名称 Interface for displaying content supporting hardware acceleration
摘要 One or more application programming interfaces (APIs) are exposed by a host program running on a device to facilitate a control program displaying content in a window in which the host program displays content. As part of an API, a method is exposed that the control program can invoke to pass to the host program a definition of a surface presenter to be created by the host program. Additionally, the control program can store content that the control program desires to have presented in a buffer of the surface presenter, and invoke another method exposed as part of an API to pass to the host program an indication of the content that the control program desires to have displayed in the window in which the host program displays content.
申请公布号 US9152476(B2) 申请公布日期 2015.10.06
申请号 US201313835423 申请日期 2013.03.15
申请人 Microsoft Technology Licensing, LLC 发明人 Constable Benjamin C.;Ergan Cenk;Fortini Christian
分类号 G06F3/00;G06F9/54 主分类号 G06F3/00
代理机构 代理人 Jardine John;Drakos Kate;Minhas Micky
主权项 1. A method in a device, the method comprising: exposing, by a host program running on the device, a first application programming interface (API) to facilitate a control program, running on the device, displaying content in a window in which the host program displays content; exposing, as part of the first API, a first method that the control program can invoke to pass to the host program a definition of a surface presenter to be created by the host program, the surface presenter including one or more buffers in which the control program can store content to be displayed; exposing, as part of the first API, a second method that the control program can invoke to determine whether the host program is using hardware acceleration for displaying the content; combining, by the host program, the content in the one or more buffers stored by the control program and other content from the host program; and displaying, by the host program, the combined content.
地址 Redmond WA US