https://bugs.documentfoundation.org/show_bug.cgi?id=97666
Bug ID: 97666 Summary: avoid pointless pull & push of bitmaps Product: LibreOffice Version: 5.1.0.1 rc Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: graphics stack Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: michael.me...@collabora.com Currently when we create an AlphaMask we do some crazy conversion to 8bit grey of the mask bitmap: AlphaMask::AlphaMask( const Bitmap& rBitmap ) : Bitmap( rBitmap ) { if( !!rBitmap ) Bitmap::Convert( BMP_CONVERSION_8BIT_GREYS ); This can do some surprising things such as acquiring the buffer, pulling the pixels from GPU to CPU and ... other craziness (in a GL world) =) We should avoid doing all that by having an efficient impl. in the backend, that at least for the common-case avoids this. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs