зеркало из https://github.com/mozilla/gecko-dev.git
4c8b889f5e
This moves the clipping responsibility into the layer. It also brings back assertions that make sure that no invalid content reaches the screen. On the layer side I'm renaming validRect to displayRect, because at the time NextSurface* is called, that rect is not yet valid. This implementation also allows having valid content outside of the display rect. So, for example, if you grow and shrink the display rect multiple times but most of the outer parts are transparent, in theory this allows you to paint the transparent pixels only once rather than every time the display rect expands. Differential Revision: https://phabricator.services.mozilla.com/D79842 |
||
---|---|---|
.. | ||
AutoMaskData.h | ||
BasicCanvasLayer.cpp | ||
BasicCanvasLayer.h | ||
BasicColorLayer.cpp | ||
BasicCompositor.cpp | ||
BasicCompositor.h | ||
BasicContainerLayer.cpp | ||
BasicContainerLayer.h | ||
BasicImageLayer.cpp | ||
BasicImages.cpp | ||
BasicImplData.h | ||
BasicLayerManager.cpp | ||
BasicLayers.h | ||
BasicLayersImpl.cpp | ||
BasicLayersImpl.h | ||
BasicPaintedLayer.cpp | ||
BasicPaintedLayer.h | ||
MacIOSurfaceTextureHostBasic.cpp | ||
MacIOSurfaceTextureHostBasic.h | ||
TextureClientX11.cpp | ||
TextureClientX11.h | ||
TextureHostBasic.cpp | ||
TextureHostBasic.h | ||
X11BasicCompositor.cpp | ||
X11BasicCompositor.h | ||
X11TextureSourceBasic.cpp | ||
X11TextureSourceBasic.h |