Alberto's previous fix is here:
int mga::AndroidAllocAdaptor::convert_to_android_usage(BufferUsage usage)
{
switch (usage)
{
case mga::BufferUsage::use_hardware:
return (GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_RENDER);
case mga::BufferUsage::use_framebuffer_gles:
return (GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_COMPOSER |
GRALLOC_USAGE_HW_FB);
case mga::BufferUsage::use_software:
return (GRALLOC_USAGE_SW_WRITE_OFTEN | GRALLOC_USAGE_SW_READ_OFTEN |
GRALLOC_USAGE_HW_COMPOSER | GRALLOC_USAGE_HW_TEXTURE);
default:
return -1;
}
}
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1406725
Title:
Severe graphical corruption running software clients (including Xmir)
on android
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1406725/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp