1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 tvcm.require('tvcm.rect');
8 tvcm.require('tracing.trace_model.object_instance');
9 tvcm.require('cc.util');
11 tvcm.exportTo('cc', function() {
13 var ObjectSnapshot = tracing.trace_model.ObjectSnapshot;
18 function RenderPassSnapshot() {
19 ObjectSnapshot.apply(this, arguments);
22 RenderPassSnapshot.prototype = {
23 __proto__: ObjectSnapshot.prototype,
25 preInitialize: function() {
26 cc.preInitializeObject(this);
29 initialize: function() {
30 cc.moveRequiredFieldsFromArgsToToplevel(
35 ObjectSnapshot.register('cc::RenderPass', RenderPassSnapshot);
38 RenderPassSnapshot: RenderPassSnapshot