mbNoXORClipping - what's this needed for?

Thorsten Behrens thb at documentfoundation.org
Sun Apr 6 14:42:37 PDT 2014


Chris Sherlock wrote:
> Could anyone give any insight into this?
> 
There's a very old 'optimization' trick to clip output on a raster
display, which is to draw the original content in XOR mode, then the
clip mask in black, and then the content again in XOR. This avoids
complex clip region generation (if the clip is complex), which used to
be notoriously slow on come platforms / drivers.

Nowadays, I'd think it's almost exclusively a pessimisation. Clearly
on OSX, it's not usable as the platform provides no generic XOR draw
mode.

HTH,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140406/0f4a8171/attachment.sig>


More information about the LibreOffice mailing list