Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bf5430d3 authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa Committed by Linux Build Service Account
Browse files

sf: vds: Fixes and code cleanup for VirtualDisplaySurface

1. Remove unused variable declarations

   Remove static variable sForceHwcCopy that is not required since moving
   to an implementation that uses a local variable mForceHwcCopy.

2. Add a condition to reduce log spam from advanceFrame hook

   When mForceHwcCopy is true, we override the composition type to MIXED.
   Therefore, we need to check whether we are in this scenario and add
   checks to satisfy the state machine requirements and reduce log spam.
   In particular, by setting mForceHwcCopy we can now expect to get an
   advanceFrame when composition type is MIXED and our previous state was
   PREPARED or GLES_DONE.

Change-Id: I1f47d6d6f01deec17da9069dea32c382c8f39b02
parent e875af1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment