Patent ID: 8390631

Claim:
A method for synchronizing access to a shared surface, the method comprising: allowing a first rendering context to acquire access to a shared surface to render to the shared surface, wherein other rendering contexts are prevented from accessing the shared surface while the first rendering context has access to the shared surface, the first rendering context corresponding with a first type of graphics API; receiving an acquire call originating from a first synchronization object for a second rendering context indicating that the second rendering context is attempting to access and render to the shared surface, wherein the acquire call for the second rendering context specifies a first key, and wherein the second rendering context is prevented from accessing the shared surface until the first rendering context releases the shared surface, the second rendering context corresponding with a second type of graphics API; receiving a release call originating from a second synchronization object indicating that the first rendering context is releasing the shared surface; and based on the release call, allowing the second rendering context to access the shared surface to render to the shared surface.