mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: Stop recycling scratch pixmaps
The minimal performance wins we gain by recycling pixmaps at this layer are not worth the code complexity nor the interference with memory analysis tools like malloc history, ASan, etc. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
@@ -604,7 +604,7 @@ typedef struct _Screen {
|
||||
SetScreenPixmapProcPtr SetScreenPixmap;
|
||||
NameWindowPixmapProcPtr NameWindowPixmap;
|
||||
|
||||
PixmapPtr pScratchPixmap; /* scratch pixmap "pool" */
|
||||
PixmapPtr pScratchPixmap; /* scratch pixmap "pool" (unused / NULL in modern servers) */
|
||||
|
||||
unsigned int totalPixmapSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user