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: [email protected]
Reporter: [email protected]
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs