cc: Changed picture clones to emit an alias trace.
commit054b11c1b32a3e1ba482aad93596a2975f918607
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 4 Sep 2013 01:14:12 +0000 (4 01:14 +0000)
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 4 Sep 2013 01:14:12 +0000 (4 01:14 +0000)
tree6174522fe25fe21c2887c47ec1430bbc741a0692
parent546b002fe0366420c08fc8c2426271a7ed894ae6
cc: Changed picture clones to emit an alias trace.

This patch changes the tracing snapshot code for pictures to emit a
much smaller message for picture clones. The regular picture message
looks like the following:

{
  params: {
   layer_rect: { ... },
   opaque_rect: { ... },
  },
  skp64: { /* large chunk here */ }
}

That message is generated for both the original picture and its clones.

The format for the original picture stays the same, but the clone
message becomes the following:

{
  alias: { id_ref: { /* id of the original */ } }
}

This change has to be accompanied by a small change to trace-viewer
to handle the new message correctly.

Note this also includes a trace-viewer DEPS roll.

R=nduca@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23717012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221102 0039d316-1c4b-4281-b951-d872f2087c98
DEPS
cc/debug/traced_picture.cc
cc/debug/traced_picture.h
cc/resources/picture.cc
cc/resources/picture.h