Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Unified Diff: content/public/common/gpu_rendering_stats.cc

Issue 10868048: Report texture upload time in renderingStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert to surface_id instead of route_id. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/gpu_rendering_stats.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/gpu_rendering_stats.cc
diff --git a/content/public/browser/download_save_info.cc b/content/public/common/gpu_rendering_stats.cc
similarity index 51%
copy from content/public/browser/download_save_info.cc
copy to content/public/common/gpu_rendering_stats.cc
index 3093ee6844570c5f6a82a056391272b61ccd1aaa..bbe38b9f82b42a0048856c656fe7a8b2bb658624 100644
--- a/content/public/browser/download_save_info.cc
+++ b/content/public/common/gpu_rendering_stats.cc
@@ -2,15 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/browser/download_save_info.h"
+#include "content/public/common/gpu_rendering_stats.h"
namespace content {
-DownloadSaveInfo::DownloadSaveInfo()
- : offset(0), prompt_for_save_location(false) {
+GpuRenderingStats::GpuRenderingStats()
+ : global_texture_upload_count(0),
+ texture_upload_count(0) {
}
-DownloadSaveInfo::~DownloadSaveInfo() {
+GpuRenderingStats::~GpuRenderingStats() {
}
} // namespace content
« no previous file with comments | « content/public/common/gpu_rendering_stats.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698