Fix for threaded raster readback of texture backed SkImage.
commit691ca62fa359105ef3529d58e8b3205634a88d22
authorbsalomon <bsalomon@google.com>
Sat, 12 Sep 2015 02:40:03 +0000 (11 19:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 12 Sep 2015 02:40:47 +0000 (12 02:40 +0000)
tree183cfd6866f99ef39188a8b954ffb869a568cfee
parentced641eccd2a2f9e32ba173641ac6ddc68999f5c
Fix for threaded raster readback of texture backed SkImage.

This converts texture-backed SkImages of video frames to SkBitmaps so that they can be read back on cc's thread before a SkPicture is handed to raster threads as calling into a GrContext or it's corresponding GLContext is not thread safe.

BUG=524717

Review URL: https://codereview.chromium.org/1311783014

Cr-Commit-Position: refs/heads/master@{#348520}
media/blink/skcanvas_video_renderer.cc