Combine the flush for FinishPaint with EndWrikeSkia
FinishPaintCurrentFrame and EndWriteSkia (SkiaOutputDeviceBufferQueue) both do a flush right after each other. The CL combines the flush from both, and get it done in FinishPaintCurrentFrame. The FinishPaintCurrentFrame, calls GetEndPaintSemaphore, that is combined with the FinishPaintCurrentFrame, and flushed. EndWriteSkia, Checks if the semaphore has been flushed, if not, it will flush it. Bug: 1043114 Change-Id: I541f0a9b5c31e7bfaee7b83a6be99d98323f0f28 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024919Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Reviewed-by:
Jonathan Backer <backer@chromium.org> Commit-Queue: Nazih Almalki <nalmalki@google.com> Cr-Commit-Position: refs/heads/master@{#736501}
Showing
Please register or sign in to comment