mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-07 10:10:21 +01:00
[cairo-pattern] Add a TODO item to code
This commit is contained in:
parent
ec639449de
commit
4e3be54861
1 changed files with 7 additions and 0 deletions
|
|
@ -1381,6 +1381,13 @@ _cairo_pattern_acquire_surface_for_surface (cairo_surface_pattern_t *pattern,
|
|||
|
||||
attr->extend = CAIRO_EXTEND_REPEAT;
|
||||
|
||||
/* TODO: Instead of rendering pattern->surface four times to
|
||||
* out, we should first copy pattern->surface to surface similar
|
||||
* to dst and then copy that four times to out. This may cause
|
||||
* an extra copy in the case of image destination, but for X servers,
|
||||
* this will send pattern->surface just once over the wire instead
|
||||
* of current four.
|
||||
*/
|
||||
x = extents.x;
|
||||
y = extents.y;
|
||||
w = 2 * extents.width;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue