Changeset 62018a0 in mainline for uspace/srv/hid/display/cursor.h


Ignore:
Timestamp:
2020-06-24T12:32:04Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8630748
Parents:
2fc1e6d
git-author:
Jiri Svoboda <jiri@…> (2020-06-23 18:31:47)
git-committer:
Jiri Svoboda <jiri@…> (2020-06-24 12:32:04)
Message:

Properly clip cursor when repainting a part of the display

Not doing so was causing excessively large update rectangles, increasing
CPU usage and display artifacts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/cursor.h

    r2fc1e6d r62018a0  
    4646    ds_cursor_t **);
    4747extern void ds_cursor_destroy(ds_cursor_t *);
    48 extern errno_t ds_cursor_paint(ds_cursor_t *, gfx_coord2_t *);
     48extern errno_t ds_cursor_paint(ds_cursor_t *, gfx_coord2_t *, gfx_rect_t *);
    4949extern void ds_cursor_get_rect(ds_cursor_t *, gfx_coord2_t *, gfx_rect_t *);
    5050
Note: See TracChangeset for help on using the changeset viewer.