To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100888


User hdu changed the following:

                What    |Old value                 |New value
================================================================================
        Target milestone|OOo 3.3                   |OOo Later
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Mon Jul 19 13:35:40 +0000 
2010 -------
Experimenting with the enhancement on UNX/WIN/OSX shows that the benefit is not 
worth it for the 
urgent target:
- on UNX the cost is still very much dominated by the polygon drawing => 
Amdahls law
- on WIN/OSX there is no API that allows the blending of e.g. off-screen layers 
on the graphics card in 
the way needed for the requested functionality (i.e. the mask is first drawn on 
a grayscale device, then 
reinterpreted as alpha mask to be merged with a source layer onto a target 
layer). Having the grayscale 
image as a transparency mask as opposed to the much more common alpha mask 
doesn't help either.  
The canonical fallback is to get the bitmaps of both input layers, merge them 
to an alpha-image and 
draw them again which exactly what is already done by the 
getBitmap+drawBitmapEx methods, so 
there wouldn't be any significant speedup.

I'll attach the current experimental patch as baseline for further work. At 
least the requested method 
could be added to the output device so that middle layers could use this 
interface instead of 
implementing the canonical fallback by hand.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to