Method and apparatus for hardware accelerated graphics rendering in bridge APIs
Abstract:
Embodiments described herein disclose a method for rendering a frame using graphics accelerated hardware comprising determining whether a command invoked in a script is a graphics command or a non-graphics command, executing the non-graphics command in a first thread, adding the graphics command to a first batch of a backlog of batches in a graphics context to be executed in a second thread, locking, in the first thread, the backlog of batches not executed yet by the second thread and adding a second batch that is empty to the backlog and swapping, in the first thread, the second batch with the first batch.
Information query
Patent Agency Ranking
0/0