4 ms·
What simple case ? Every call to drawRect/drawLine that I can see at a glance will end up inside X functions - e.g. calls to QPaintEngine::drawRects will just e
by jcelerier 4y ago
What simple case ? Every call to drawRect/drawLine that I can see at a glance will end up inside X functions - e.g. calls to QPaintEngine::drawRects will just end up in the function below. And that's the huge majority of the UI.
Anyways, what matters to me is that I can resize the window without any lag and compression - it immediately becomes much more laggy and redraw-artefact-y if I disable X11 painting when I access my remote machines so it's pretty obvious when things are using it
- tinus_hn 4y agoIt’s the simple case of erasing the buffer before blitting other buffers onto it. I hope you agree that clearing is not the interesting part of drawing a window.
- jcelerier 4y ago> It’s the simple case of erasing the buffer before blitting other buffers onto it. ... but those buffers are going to be paint with the same calls to drawRect. If I look at my software's draw calls, the huge majority are calls to such drawLine / drawRect / drawRects with the occasional small text or pixmap