Convert view manager to surfaces with uploading shim in client lib
This converts the view manager protocol over to specify view contents via
surfaces instead of shuffling a bitmap. To ease the transition, this provides a
wrapper in the client library that accepts an SkBitmap and uploads it into a
texture wrapped in a surface so existing code still works. Next I'll port the
clients over to providing surfaces themselves and remove this shim.
BUG=
Review URL: https://codereview.chromium.org/534843002
Cr-Commit-Position: refs/heads/master@{#294501}
CrOS-Libchrome-Original-Commit: 529c759bf153b8eec2178244ddd3e87e5790b7c4
47 files changed