On 10 March 2017 at 15:16, Daniel Stone <[email protected]> wrote: > Hey Emil, > > On 9 March 2017 at 23:12, Emil Velikov <[email protected]> wrote: >> On 3 March 2017 at 23:05, Daniel Stone <[email protected]> wrote: >>> - x = (x - output->base.x) * output->base.current_scale; >>> - y = (y - output->base.y) * output->base.current_scale; >>> + x = (output->cursor_plane.x - output->base.x) * >>> + output->base.current_scale; >>> + y = (output->cursor_plane.y - output->base.y) * >>> + output->base.current_scale; >>> >>> - if (output->cursor_plane.x != x || output->cursor_plane.y != y) { >> As we're dropping this, won't we end up with lots of unnecessary calls >> to drmModeMoveCursor() ? >> Is there something which will help us ? > > True, it would increase the ioctl load, though the only way we'd hit > this path is if we're repainting anyway, which would push increased > load from MoveCursor no-ops into line noise? > Err, right. Thanks for the pointer - I'm rather fresh in this part of the weston.
-Emil _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
