subdiff requested changes to this revision.
subdiff added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> scene_qpainter_drm_backend.cpp:67
> auto initBuffer = [&o, output, this] (int index) {
> - o.buffer[index] = m_backend->createBuffer(output->size());
> + o.buffer[index] = m_backend->createBuffer(output->size() *
> output->scale());
> o.buffer[index]->map();
Divding above through scale and then multiplying again here and in blank()
could lead to rounding errors.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D3498
To: davidedmundson, #plasma, graesslin, subdiff
Cc: subdiff, #kwin, plasma-devel, kwin, progwolff, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol