This would enable us to benefit from optimizations we are making with gralloc for gonk/fennec when we use accelerated layers. see ShadowLayerManager::OpenDescriptorForDirectTexturing in ShadowLayerUtilsX11.cpp http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/ShadowLayerUtilsX11.cpp#199
I don't see this function being called at all?
We used to use the ShadowLayerUtils API to abstract away the differences between shmem/gralloc etc. We've moved away from that (though not completely :( ) with all the refactorings, so parts of it aren't used any more. We now have separate TextureSource implementations for gralloc, and we'd need to do the same for X11 surfaces.
This function was removed at some point, I pretty sure we implemented what this asked for with bug 947045.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 947045
You need to log in before you can comment on or make changes to this bug.