GL: MacOS: Uploading textures to an application fails
Hi,
I hope someone (hi @ystreet & @slomo :)) could shed a light on this issue.
We are trying to add a GL backend for MacOS in servo/media. The purpose is to fetch frames from GStreamer as GL textures and render them in application using the WebRender. In essence, it is the same as the glupload.rs sample in gstremer-rs but without webrender.
The problem is, if I understand correctly, when GStreamer creates a new texture as render target, it "steals" the current context from webrender, and when webrender tries to clear its target, an 0x506 GL error is raised, that is GL_INVALID_FRAMEBUFFER_OPERATION.
I'm attaching the log produced with GST_DEBUG=gl*:8 -- output.log