GetScratchPixmapHeader / FreeScratchPixmapHeader
Keith Packard
keithp at keithp.com
Wed Dec 21 21:24:25 UTC 2022
Jeremy Huddleston Sequoia <jeremyhu at freedesktop.org> writes:
> Is there any real benefit to maintaining this released pixmap for
> future re-use on modern hardware? It seems like it's a bunch of code
> complexity without much benefit. I'm happy to nuke it completely
> unless there are objections...
Seems reasonable -- it's just a CPU time optimization that probably
doesn't matter much anymore. It is often used for PutImage, but that
probably has enough overhead elsewhere to swamp malloc/free costs.
--
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20221221/eaa9ce3d/attachment.sig>
More information about the xorg-devel
mailing list