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

Side by Side Diff: ui/gl/trace_util.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « ui/gl/test/gl_surface_test_support.cc ('k') | ui/gl/trace_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_TRACE_UTIL_H_ 5 #ifndef UI_GL_TRACE_UTIL_H_
6 #define UI_GL_TRACE_UTIL_H_ 6 #define UI_GL_TRACE_UTIL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/trace_event/memory_allocator_dump.h" 10 #include "base/trace_event/memory_allocator_dump.h"
11 #include "ui/gl/gl_export.h" 11 #include "ui/gl/gl_export.h"
12 12
13 namespace gfx { 13 namespace gl {
14 14
15 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid 15 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid
16 GetGLTextureClientGUIDForTracing(uint64_t share_group_guid, 16 GetGLTextureClientGUIDForTracing(uint64_t share_group_guid,
17 uint32_t texture_client_id); 17 uint32_t texture_client_id);
18 18
19 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid 19 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid
20 GetGLRenderbufferGUIDForTracing(uint64_t share_group_guid, 20 GetGLRenderbufferGUIDForTracing(uint64_t share_group_guid,
21 uint32_t renderbuffer_id); 21 uint32_t renderbuffer_id);
22 22
23 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid 23 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid
24 GetGLTextureServiceGUIDForTracing(uint64_t share_group_guid, 24 GetGLTextureServiceGUIDForTracing(uint64_t share_group_guid,
25 uint32_t texture_service_id); 25 uint32_t texture_service_id);
26 26
27 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid GetGLBufferGUIDForTracing( 27 GL_EXPORT base::trace_event::MemoryAllocatorDumpGuid GetGLBufferGUIDForTracing(
28 uint64_t share_group_guid, 28 uint64_t share_group_guid,
29 uint32_t buffer_id); 29 uint32_t buffer_id);
30 30
31 } // namespace ui 31 } // namespace ui
32 32
33 #endif // UI_GL_TRACE_UTIL_H_ 33 #endif // UI_GL_TRACE_UTIL_H_
OLDNEW
« no previous file with comments | « ui/gl/test/gl_surface_test_support.cc ('k') | ui/gl/trace_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698