-
Vasiliy Telezhnikov authored
When resolution changes midstread in ImageReader/SurfaceControl mode it is possible that ImageReader currently have no buffers available. We request 3 buffers and they can be: * One is on screen, owned by SurfaceFlinger * One is in pending transaction to be presented. * One is queued by Chrome to submit when pending one will be presented. This CL delays rendering of the frame for getting FrameInfo until we will have slot available. Bug: 1115307 Change-Id: I65d5002e338f4a445e7cd15a5b975954a5e64912 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2563280Reviewed-by:
Khushal <khushalsagar@chromium.org> Reviewed-by:
Frank Liberato <liberato@chromium.org> Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#832339}
c9e34c6e