gecko-dev/gfx/wr/swgl
Lee Salzman 62ba932186 Bug 1646835 - allow specifying backing data and stride for SWGL default framebuffer. r=jimb
For performance reasons in SWGL software compositors. to avoid unnecessary
full-screen copies of the framembuffer, we need to allow those compositors to
map their underlying widget surfaces and pass that buffer to SWGL so that they
can be directly rendered to. That also requires supporting custom strides, as
we can't always enforce the particular layout of the buffers handed off to us.
To that end, InitDefaultFramebuffer is generalized to take such information
and then many places where we rely on a specific hard-coded SWGL-calculated
stride have been altered to deal with a caller-supplied stride.

Differential Revision: https://phabricator.services.mozilla.com/D80267
2020-06-23 01:44:00 +00:00
..
src Bug 1646835 - allow specifying backing data and stride for SWGL default framebuffer. r=jimb 2020-06-23 01:44:00 +00:00
Cargo.toml Bug 1646741 - Update gleam to 0.12. r=kvark 2020-06-18 18:11:13 +00:00
README.md Bug 1612941 - import glsl-to-cxx and swgl into Gecko tree. r=jrmuizel 2020-03-13 18:24:35 +00:00
build.rs Bug 1632025 - fix SWGL shader key parsing. r=jimb 2020-04-22 03:39:21 +00:00

README.md

swgl

Software OpenGL implementation for WebRender