blob: 48f1186525dff079f189af24a3c35c8e8b18b441 [file] [log] [blame]
<!DOCTYPE html>
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="/tracing/extras/chrome/cc/util.html">
<link rel="import" href="/tracing/base/rect.html">
<link rel="import" href="/tracing/model/object_instance.html">
<script>
'use strict';
tr.exportTo('tr.e.cc', function() {
var ObjectSnapshot = tr.model.ObjectSnapshot;
/**
* @constructor
*/
function RenderPassSnapshot() {
ObjectSnapshot.apply(this, arguments);
}
RenderPassSnapshot.prototype = {
__proto__: ObjectSnapshot.prototype,
preInitialize: function() {
tr.e.cc.preInitializeObject(this);
},
initialize: function() {
tr.e.cc.moveRequiredFieldsFromArgsToToplevel(
this, ['quadList']);
}
};
ObjectSnapshot.register(RenderPassSnapshot, {typeName: 'cc::RenderPass'});
return {
RenderPassSnapshot: RenderPassSnapshot
};
});
</script>