Gecko:Layers: Difference between revisions

Jump to navigation Jump to search
Line 128: Line 128:


Layers have two basic operations:  
Layers have two basic operations:  
1. InvalidateRect()/Draw() - Gets content into a layer. Content is draw on the main thread using cairo, a video decoder etc.
# InvalidateRect()/Draw() - Gets content into a layer. Content is draw on the main thread using cairo, a video decoder etc.
2. Composite() - Composites a layer into the scene. Will perform color conversion, filter etc. as needed.
# Composite() - Composites a layer into the scene. Will perform color conversion, filter etc. as needed.


Possible example of how filter layers could work:
Possible example of how filter layers could work:
Confirmed users
523

edits

Navigation menu