Confirmed users
523
edits
| Line 223: | Line 223: | ||
To support drawWindow and printing, we need to be able to draw a layer tree to any target, with maximum possible fidelity. | To support drawWindow and printing, we need to be able to draw a layer tree to any target, with maximum possible fidelity. | ||
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. (jrmuizel: for the record webkit does not currently print 3d transformed layers) | ||
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. | 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. | ||