mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-04-15 15:20:49 +01:00
Setting asynchronous in loaders.
This commit is contained in:
parent
ba77e21817
commit
466fea495d
@ -213,6 +213,7 @@ Item{
|
|||||||
}
|
}
|
||||||
Loader{
|
Loader{
|
||||||
id: blurredSourceLoader
|
id: blurredSourceLoader
|
||||||
|
asynchronous: true
|
||||||
active: mBlur !== 0
|
active: mBlur !== 0
|
||||||
|
|
||||||
sourceComponent: ShaderEffectSource{
|
sourceComponent: ShaderEffectSource{
|
||||||
@ -261,6 +262,7 @@ Item{
|
|||||||
width: kterminalSource.textureSize.width
|
width: kterminalSource.textureSize.width
|
||||||
height: kterminalSource.textureSize.height
|
height: kterminalSource.textureSize.height
|
||||||
active: mBlur !== 0
|
active: mBlur !== 0
|
||||||
|
asynchronous: true
|
||||||
|
|
||||||
sourceComponent: ShaderEffect {
|
sourceComponent: ShaderEffect {
|
||||||
property variant txt_source: kterminalSource
|
property variant txt_source: kterminalSource
|
||||||
@ -306,6 +308,7 @@ Item{
|
|||||||
property real scaling: shadersettings.bloom_quality
|
property real scaling: shadersettings.bloom_quality
|
||||||
id: bloomEffectLoader
|
id: bloomEffectLoader
|
||||||
active: mBloom != 0
|
active: mBloom != 0
|
||||||
|
asynchronous: true
|
||||||
width: parent.width * scaling
|
width: parent.width * scaling
|
||||||
height: parent.height * scaling
|
height: parent.height * scaling
|
||||||
sourceComponent: FastBlur{
|
sourceComponent: FastBlur{
|
||||||
@ -317,6 +320,7 @@ Item{
|
|||||||
Loader{
|
Loader{
|
||||||
id: bloomSourceLoader
|
id: bloomSourceLoader
|
||||||
active: mBloom != 0
|
active: mBloom != 0
|
||||||
|
asynchronous: true
|
||||||
sourceComponent: ShaderEffectSource{
|
sourceComponent: ShaderEffectSource{
|
||||||
sourceItem: bloomEffectLoader.item
|
sourceItem: bloomEffectLoader.item
|
||||||
hideSource: true
|
hideSource: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user