Gecko:Layers: Difference between revisions

Line 225: Line 225:
For printing, it would be enough to create a LayerManager for a destination gfxContext* and build a new set of layers for it. This would use the immediate-mode implementation described above. This implies that we need to have multiple implementations compiled in. Also, even if we disable 3D rendering on non-accelerated systems, we'll still want to have a complete software fallback (using pixman transforms?) for printing.
For printing, it would be enough to create a LayerManager for a destination gfxContext* and build a new set of layers for it. This would use the immediate-mode implementation described above. This implies that we need to have multiple implementations compiled in. Also, even if we disable 3D rendering on non-accelerated systems, we'll still want to have a complete software fallback (using pixman transforms?) for printing.


For drawWindow, we probably want the ability to retarget an existing set of layers to draw them to a different context.
For drawWindow, we definitely want the ability to retarget an existing set of layers to draw them to a different context. This is essential for reftests to work.


Maybe we should add to LayerManager a method
Maybe we should add to LayerManager a method
1,295

edits