Use renderengine on mediaserver side
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
Loading
Please register or sign in to comment