Chromium Code Reviews
Descriptionmedia: 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
Committed: https://crrev.com/771b5cf7667def96ba3de5cb4a4bf38cff12c3b4
Cr-Commit-Position: refs/heads/master@{#345799}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
|||||||||||||||||||