[GLVertexBuffer] Port from QRegion::rects() to QRegion iterators
ClosedPublic

Authored by broulik on Dec 1 2017, 10:46 AM.

Details

Summary

This code path is executed a lot during animations (e.g. maximize, minimize). Saves creating a temporary QVector.

Test Plan

Animations still work fine

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Dec 1 2017, 10:46 AM
Restricted Application added a project: KWin. · View Herald TranscriptDec 1 2017, 10:46 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
broulik requested review of this revision.Dec 1 2017, 10:46 AM
broulik updated this revision to Diff 23240.Dec 1 2017, 9:46 PM
broulik edited the summary of this revision. (Show Details)
  • Use range for
graesslin accepted this revision.Dec 2 2017, 6:58 AM
This revision is now accepted and ready to land.Dec 2 2017, 6:58 AM
This revision was automatically updated to reflect the committed changes.