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

Side by Side Diff: gpu/command_buffer/service/gpu_state_tracer.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 | « gpu/command_buffer/service/gpu_state_tracer.h ('k') | gpu/command_buffer/service/gpu_tracer.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "gpu/command_buffer/service/gpu_state_tracer.h" 5 #include "gpu/command_buffer/service/gpu_state_tracer.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/macros.h"
8 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
9 #include "context_state.h" 10 #include "context_state.h"
10 #include "ui/gfx/codec/png_codec.h" 11 #include "ui/gfx/codec/png_codec.h"
11 #include "ui/gl/gl_bindings.h" 12 #include "ui/gl/gl_bindings.h"
12 13
13 namespace gpu { 14 namespace gpu {
14 namespace gles2 { 15 namespace gles2 {
15 namespace { 16 namespace {
16 17
17 const int kBytesPerPixel = 4; 18 const int kBytesPerPixel = 4;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 124
124 TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID( 125 TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(
125 TRACE_DISABLED_BY_DEFAULT("gpu.debug"), 126 TRACE_DISABLED_BY_DEFAULT("gpu.debug"),
126 "gpu::State", 127 "gpu::State",
127 state_, 128 state_,
128 scoped_refptr<base::trace_event::ConvertableToTraceFormat>(snapshot)); 129 scoped_refptr<base::trace_event::ConvertableToTraceFormat>(snapshot));
129 } 130 }
130 131
131 } // namespace gles2 132 } // namespace gles2
132 } // namespace gpu 133 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_state_tracer.h ('k') | gpu/command_buffer/service/gpu_tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698