+247
−0
+213
−0
+77
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
To make sure the thumbnail generation doesn't block surfaceflinger's rendering, use a separate render context inside mediaserver at default priority. Replace surfaceflinger side BufferQueueLayer (SurfaceControl) with our own lightweight version, and mirror the setup of renderengine to capture the buffer. bug: 140894732 bug: 135717526 test: cts MediaMetadataRetrieverTest; manually test rotation and crops. Change-Id: Id5da476280af28b13ef19cbe1707ba0265c74f30