Patent ID: 8327387

Claim:
A computer-implemented method for acquiring graphics device interface data and immediate mode application programming interface data by use of a filter driver which is transparent for a graphics device interface engine, immediate mode application programming interface kernel and a real display driver, comprising steps performed by a computer: updating the graphics device interface, and acquiring the graphics device interface data by use of a corresponding graphics device interface function in the filter driver, wherein, after the filter driver is loaded, the filter driver loads a real display driver in a driver entry function and makes one copy of device driver interface function table returned by the real display driver, and the value of the device driver interface function required for intercepting screen update is modified to a pointer pointing to a corresponding function of the filter driver and an original function filter is saved; acquiring, for immediate mode video application programming interfaces, immediate mode video application and video update data by intercepting frame switch and bit block transfer operations of immediate mode video application programming interfaces; acquiring, for immediate mode three-dimension (3D) application programming interfaces, data of immediate mode 3D application by intercepting the update interface of immediate mode 3D application programming interfaces; and storing an update buffer area update of the graphics device interface, update of immediate mode video application programming interfaces and update of immediate mode 3D application programming interfaces, wherein lossless compression is performed on the update of the graphics device interface, while lossy compression is performed on the update of immediate mode video application programming interfaces and the update of immediate mode 3D application programming interfaces.