发明名称 Method and Apparatus for Data Communication in Virtualized Environment, and Processor
摘要 A method for data communication in a virtualized environment is disclosed as follows. A write function of a graphics driver is called by a graphics processing program using a graphics processing interface, where a function in a call process is recorded in a function stack; an entry address of a write function of the graphics processing interface is determined according to an entry address of the write function of the graphics driver and a quantity of layers of the function stack, and an offset and a length that are of a vertex buffer of the graphics processing program are read from the entry address of the write function of the graphics processing interface, so as to determine a data area that is modified by the graphics processing program and is in the vertex buffer, where the modified data area is data necessary for graphics rendering.
申请公布号 US2017018052(A1) 申请公布日期 2017.01.19
申请号 US201615281950 申请日期 2016.09.30
申请人 Huawei Technologies Co., Ltd. 发明人 Ai Chuyue;Pang Xibao
分类号 G06T1/20;G06F9/30;G09G5/36;G06F9/44;G06T1/60;G09G5/00 主分类号 G06T1/20
代理机构 代理人
主权项 1. A method for data communication in a virtualized environment, comprising: receiving, by a graphics driver, a driver function call request sent by a graphics processing interface, wherein the driver function call request is sent by the graphics processing interface after receiving a system function call request sent by a graphics processing program, wherein the system function call request is used to call a write function of the graphics processing interface, wherein the driver function call request is used to call a write function of the graphics driver, and wherein an entry address of the write function of the graphics processing interface is stored in a function stack; determining, by the graphics driver, the entry address of the write function of the graphics processing interface according to an entry address of the write function of the graphics driver and a quantity of layers of the function stack; reading, from the entry address of the write function of the graphics processing interface, an offset and a length that are of a vertex buffer of the graphics processing program; and sending, by the graphics driver to a rendering server, data in a data area corresponding to the offset and the length that are of the vertex buffer, wherein data in the data area is modified by the graphics processing program.
地址 Shenzhen CN