CPC H04N 5/04 (2013.01) [G06T 1/20 (2013.01)] | 18 Claims |
1. A synchronous rendering method, comprising:
determining, by a virtual graphics processing driver based on a second synchronization flag bit of a synchronization signal, whether to generate a rendering frame;
generating, when the second synchronization flag bit is a first value, the rendering frame;
after the rendering frame is generated, setting a first synchronization flag bit and the second synchronization flag bit of the synchronization signal to indicate that the rendering frame has been generated;
obtaining, by a virtual graphics processing unit, the rendering frame and the synchronization signal, and determining, based on the first synchronization flag bit, whether to render the rendering frame; and
rendering, when the first synchronization flag bit is a fourth value, the rendering frame;
after the rendering frame is rendered, setting the first synchronization flag bit and the second synchronization flag bit to indicate that the rendering frame has been rendered.
|