Lee Salzman 8891047137 Bug 1698067 - Only collapse framebuffer clears when stride is packed. r=sotaro
There is a bug where if the stride of the default framebuffer is not tightly
packed, such as when we are mapping a smaller dirty region of a larger output
buffer, we can erroneously clear a region of the larger output buffer that
should not be overwritten. This limits the optimization to only happen when
the stride is tightly packed.

Differential Revision: https://phabricator.services.mozilla.com/D108534
2021-03-16 04:38:19 +00:00
..