OSDN Git Service

replace QVarLengthArray with dynamic arrays where possible
authorIvailo Monev <xakepa10@laimg.moc>
Thu, 18 Jun 2020 00:13:50 +0000 (00:13 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Thu, 18 Jun 2020 00:13:50 +0000 (00:13 +0000)
commita23b0f22a996afd457ec00fd2c1fd115e1a3c649
tree81368b97a0074473f2ab84a3458f9f11a497a4ee
parent9703898116ded6a723039e6cf4631cc1fbfe7878
replace QVarLengthArray with dynamic arrays where possible

avoids resizing in e.g. qDrawBorderPixmap(), there are more places where
performance can be squeezed by doing the same thing

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/painting/qdrawutil.cpp
src/gui/painting/qpaintengine_x11.cpp