SkRemote: refactoring
authormtklein <mtklein@chromium.org>
Wed, 21 Oct 2015 17:46:02 +0000 (10:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 21 Oct 2015 17:46:02 +0000 (10:46 -0700)
commitb6b8f2727f6b08bbc307aeebac23beeba1e4984f
tree99bd4ea9af4e0a206b6f84c1baf2036d3e217526
parent0d3f061262a53b775f0a92b0abf8a4a846290d65
SkRemote: refactoring

  - Cache becomes CachingEncoder that wraps another Encoder
  - Encoders provide IDs
  - syntaxy improvements to Client
  - ID isn't really protocol sensitive.
  - I don't think we need Type::kNone.

No diffs.
https://gold.skia.org/search2?issue=1418863002&unt=true&query=source_type%3Dgm&master=false&include=true

BUG=skia:

Review URL: https://codereview.chromium.org/1418863002
dm/DMSrcSink.cpp
src/core/SkRemote.cpp
src/core/SkRemote.h
src/core/SkRemote_protocol.h