Add more components tests to GN build.
[chromium-blink-merge.git] / ui / gl / trace_util.h
blobf7f30722e6ee0396ed87dbae085ef20edb3278c7
1 // Copyright (c) 2015 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.
5 #ifndef UI_GL_TRACE_UTIL_H_
6 #define UI_GL_TRACE_UTIL_H_
8 #include "base/trace_event/memory_allocator_dump.h"
9 #include "ui/gl/gl_export.h"
11 namespace gfx {
13 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid GetGLTextureGUIDForTracing(
14 uint64_t tracing_id,
15 uint32_t texture_id);
17 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid GetGLBufferGUIDForTracing(
18 uint64_t tracing_id,
19 uint32_t buffer_id);
21 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid
22 GetGLRenderbufferGUIDForTracing(uint64_t tracing_id, uint32_t renderbuffer_id);
24 } // namespace ui
26 #endif // UI_GL_TRACE_UTIL_H_