feat: skip two-way copy for cuda devices when decoding video wallpapers + cache wallpapers as blobs in new database
This commit is contained in:
@@ -55,15 +55,15 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
CachingImage {
|
||||
Image {
|
||||
id: img
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.top: parent.top
|
||||
cache: true
|
||||
asynchronous: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
height: root.tileHeight
|
||||
path: root.modelData ? root.modelData.thumbnailPath : ""
|
||||
source: root.modelData ? root.modelData.thumbnailPath : ""
|
||||
smooth: root.isCurrent
|
||||
sourceSize.height: root.tileHeight
|
||||
sourceSize.width: root.tileHeight * (16 / 9)
|
||||
|
||||
@@ -53,7 +53,7 @@ orientation: Qt.Vertical
|
||||
|
||||
WallItem {
|
||||
id: wallItem
|
||||
required property FileSystemEntry modelData
|
||||
required property WallpaperEntry modelData
|
||||
|
||||
enabled: modelData
|
||||
opacity: modelData ? 1 : 0
|
||||
|
||||
Reference in New Issue
Block a user