[vlc-devel] [PATCH 0/5] improve GridItem creation time

Prince Gupta guptaprince8832 at gmail.com
Fri Apr 9 14:47:27 UTC 2021


Use cached shadows to improve GridItem creation time. Reduces ExpandGridView::layout
longest time from 400ms to 180ms.

Prince Gupta (5):
  qml: remove unnecessary components from GridItem
  qml: implement ShadowCoverGenerator
  qml: implement GridShadow widget
  qml: allow delegating cover background in GridItem
  qml: use cached shadows in GridItem

 modules/gui/qt/Makefile.am                    |   2 +
 .../gui/qt/medialibrary/qml/MusicAlbums.qml   |   9 +
 .../gui/qt/medialibrary/qml/MusicArtist.qml   |  18 ++
 .../medialibrary/qml/MusicArtistsDisplay.qml  |  12 ++
 .../gui/qt/medialibrary/qml/MusicGenres.qml   |  12 +-
 .../qt/medialibrary/qml/PlaylistMediaList.qml |  10 +
 modules/gui/qt/medialibrary/qml/VideoAll.qml  |  12 ++
 .../qml/VideoDisplayRecentVideos.qml          |  10 +
 .../qt/network/qml/NetworkBrowseDisplay.qml   |   9 +
 .../network/qml/NetworkHomeDeviceListView.qml |   9 +
 .../qt/network/qml/ServicesHomeDisplay.qml    |   9 +
 modules/gui/qt/vlc.qrc                        |   2 +
 modules/gui/qt/widgets/qml/GridItem.qml       | 199 +++++++-----------
 modules/gui/qt/widgets/qml/GridShadows.qml    |  70 ++++++
 .../qt/widgets/qml/ShadowCoverGenerator.qml   | 103 +++++++++
 15 files changed, 367 insertions(+), 119 deletions(-)
 create mode 100644 modules/gui/qt/widgets/qml/GridShadows.qml
 create mode 100644 modules/gui/qt/widgets/qml/ShadowCoverGenerator.qml

-- 
2.27.0



More information about the vlc-devel mailing list