Mir

Comment 1 for bug 1526779

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Hacking a bit of debug code into mgm::Cursor::pad_and_write_image_data_locked() (on the laptop) suggests something odd:

    image_width = 24
    image_height = 24
    image_stride = 96

    buffer_width = 256
    buffer_height = 259
    buffer_stride = 1024

Hacking the buffer contents shows that the cursor onscreen is actually 60x60 and has a stride of 64.

This is confirmed by hard coding these values into this function, when the cursor appears normally.

As this function isn't part of the android driver, we may have two different bugs here.