steamcompmgr: Disable force composite when we would partial
This commit is contained in:
parent
3712ecdb3d
commit
feb4451a20
1 changed files with 6 additions and 5 deletions
|
@ -2404,7 +2404,12 @@ paint_all(bool async)
|
||||||
|
|
||||||
bool bNeedsNearest = g_upscaleFilter == GamescopeUpscaleFilter::NEAREST && frameInfo.layers[0].scale.x != 1.0f && frameInfo.layers[0].scale.y != 1.0f;
|
bool bNeedsNearest = g_upscaleFilter == GamescopeUpscaleFilter::NEAREST && frameInfo.layers[0].scale.x != 1.0f && frameInfo.layers[0].scale.y != 1.0f;
|
||||||
|
|
||||||
bool bWantsPartialComposite = frameInfo.layerCount >= 3;
|
// Disable partial composition for now until we get
|
||||||
|
// composite priorities working in libliftoff + also
|
||||||
|
// use the proper libliftoff composite plane system.
|
||||||
|
static constexpr bool kDisablePartialComposition = true;
|
||||||
|
|
||||||
|
bool bWantsPartialComposite = frameInfo.layerCount >= 3 && !kDisablePartialComposition;
|
||||||
|
|
||||||
bool bNeedsFullComposite = BIsNested();
|
bool bNeedsFullComposite = BIsNested();
|
||||||
bNeedsFullComposite |= alwaysComposite;
|
bNeedsFullComposite |= alwaysComposite;
|
||||||
|
@ -2457,10 +2462,6 @@ paint_all(bool async)
|
||||||
|
|
||||||
if ( bDoComposite == true )
|
if ( bDoComposite == true )
|
||||||
{
|
{
|
||||||
// Disable partial composition for now until we get
|
|
||||||
// composite priorities working in libliftoff + also
|
|
||||||
// use the proper libliftoff composite plane system.
|
|
||||||
static constexpr bool kDisablePartialComposition = true;
|
|
||||||
if ( kDisablePartialComposition )
|
if ( kDisablePartialComposition )
|
||||||
bNeedsFullComposite = true;
|
bNeedsFullComposite = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue