| Index: content/public/common/gpu_rendering_stats.h
|
| diff --git a/content/public/common/gpu_rendering_stats.h b/content/public/common/gpu_rendering_stats.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5382ce220e5bcdb8f76a04d6264cc0372ae799a3
|
| --- /dev/null
|
| +++ b/content/public/common/gpu_rendering_stats.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright (c) 2012 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.
|
| +
|
| +#ifndef CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_
|
| +#define CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_
|
| +
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +struct CONTENT_EXPORT GpuRenderingStats {
|
| + GpuRenderingStats()
|
| + : textureUploadCount(0),
|
| + totalTextureUploadTimeInSeconds(0.f) {}
|
| +
|
| + int textureUploadCount;
|
| + float totalTextureUploadTimeInSeconds;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_
|
|
|