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

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

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, 7 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/trace_util.h ('k') | ui/gl/vsync_provider_win.h » ('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 #include "ui/gl/trace_util.h" 5 #include "ui/gl/trace_util.h"
6 6
7 #include "base/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 9
10 namespace gfx { 10 namespace gl {
11 11
12 base::trace_event::MemoryAllocatorDumpGuid GetGLTextureClientGUIDForTracing( 12 base::trace_event::MemoryAllocatorDumpGuid GetGLTextureClientGUIDForTracing(
13 uint64_t share_group_guid, 13 uint64_t share_group_guid,
14 uint32_t texture_id) { 14 uint32_t texture_id) {
15 return base::trace_event::MemoryAllocatorDumpGuid( 15 return base::trace_event::MemoryAllocatorDumpGuid(
16 base::StringPrintf("gl-texture-client-x-process/%" PRIx64 "/%d", 16 base::StringPrintf("gl-texture-client-x-process/%" PRIx64 "/%d",
17 share_group_guid, texture_id)); 17 share_group_guid, texture_id));
18 } 18 }
19 19
20 base::trace_event::MemoryAllocatorDumpGuid GetGLTextureServiceGUIDForTracing( 20 base::trace_event::MemoryAllocatorDumpGuid GetGLTextureServiceGUIDForTracing(
(...skipping 13 matching lines...) Expand all
34 34
35 base::trace_event::MemoryAllocatorDumpGuid GetGLRenderbufferGUIDForTracing( 35 base::trace_event::MemoryAllocatorDumpGuid GetGLRenderbufferGUIDForTracing(
36 uint64_t share_group_guid, 36 uint64_t share_group_guid,
37 uint32_t renderbuffer_id) { 37 uint32_t renderbuffer_id) {
38 return base::trace_event::MemoryAllocatorDumpGuid( 38 return base::trace_event::MemoryAllocatorDumpGuid(
39 base::StringPrintf("gl-renderbuffer-x-process/%" PRIx64 "/%d", 39 base::StringPrintf("gl-renderbuffer-x-process/%" PRIx64 "/%d",
40 share_group_guid, renderbuffer_id)); 40 share_group_guid, renderbuffer_id));
41 } 41 }
42 42
43 } // namespace ui 43 } // namespace ui
OLDNEW
« no previous file with comments | « ui/gl/trace_util.h ('k') | ui/gl/vsync_provider_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698