This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: Remove SkCanvasVideoRenderer cache invalidation.
When VideoFrame carries one native texture, with a GL_TEXTURE_2D target, we assumed we could avoid caching the created SkImage, since we just used the texture directly for drawing. Unfortunately if we're drawing to a software canvas we need to read the pixels back from the texture, and that is expensive. Keeping the same SkImage allows Skia to cache the expensive operation. BUG=521531 Review URL: https://codereview.chromium.org/1320613003 Cr-Commit-Position: refs/heads/master@{#345799}
- Loading branch information