Re-enable WebViewTest.TestConfirmDialog on Mac
[chromium-blink-merge.git] / ui / gl / trace_util.h
blobfa7ab191d395cf3c9461ba00ab22cddfbf04ab2b
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
14 GetGLTextureClientGUIDForTracing(uint64_t share_group_guid,
15 uint32_t texture_client_id);
17 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid
18 GetGLRenderbufferGUIDForTracing(uint64_t share_group_guid,
19 uint32_t renderbuffer_id);
21 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid
22 GetGLTextureServiceGUIDForTracing(uint64_t share_group_guid,
23 uint32_t texture_service_id);
25 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid GetGLBufferGUIDForTracing(
26 uint64_t share_group_guid,
27 uint32_t buffer_id);
29 } // namespace ui
31 #endif // UI_GL_TRACE_UTIL_H_