Loading
Bug 1385003 - Update webrender bindings for API changes in WR cset f6d81d9. r=kvark
In theory the upstream API change should allow us to share the same WR renderer instance across multiple WebRenderAPI instances. For now however I retain the existing behaviour of one WR instance for each WebRenderAPI instance, but keep track of the document id in a new DocumentHandle struct. The C++ side keeps a pointer to this DocumentHandle struct instead of the raw RenderApi. MozReview-Commit-ID: I9pCKOY1OYx --HG-- extra : rebase_source : 7b0ae2ccb2692a76045371ac165468c7f7539b40