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"
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
,
31 #endif // UI_GL_TRACE_UTIL_H_