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

Unified Diff: ui/gl/trace_util.h

Issue 1256613002: Add tracing for GL texture objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser_process_id
Patch Set: review feedback Created 5 years, 5 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
Index: ui/gl/trace_util.h
diff --git a/ui/gl/trace_util.h b/ui/gl/trace_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..002b7ccec6a3fcdc6e9548d0ebd233f289fb7f72
--- /dev/null
+++ b/ui/gl/trace_util.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2015 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 UI_GL_TRACE_UTIL_H_
+#define UI_GL_TRACE_UTIL_H_
+
+#include "base/trace_event/memory_allocator_dump.h"
+#include "ui/gl/gl_export.h"
+
+namespace gfx {
+
+GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid GetGLTextureGUIDForTracing(
+ uint64_t tracing_process_id,
+ uint32_t client_id);
reveman 2015/07/29 19:41:19 nit: s/client_id/texture_id/
ericrk 2015/07/29 21:37:46 Done.
+
+} // namespace ui
+
+#endif // UI_GL_TRACE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698