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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.cc

Issue 10540020: IWYU nit in ppapi_proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "native_client/src/shared/ppapi_proxy/command_buffer_nacl.h" 5 #include "native_client/src/shared/ppapi_proxy/command_buffer_nacl.h"
6 6
7 #include <sys/types.h>
7 #include <sys/mman.h> 8 #include <sys/mman.h>
8 #include "gpu/command_buffer/common/logging.h" 9 #include "gpu/command_buffer/common/logging.h"
9 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h" 10 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h"
10 #include "native_client/src/shared/ppapi_proxy/utility.h" 11 #include "native_client/src/shared/ppapi_proxy/utility.h"
11 #include "ppapi/c/ppb_core.h" 12 #include "ppapi/c/ppb_core.h"
12 13
13 #include "srpcgen/ppb_rpc.h" 14 #include "srpcgen/ppb_rpc.h"
14 15
15 using ppapi_proxy::DebugPrintf; 16 using ppapi_proxy::DebugPrintf;
16 17
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 gpu::CommandBuffer::State CommandBufferNacl::PpapiToGpuState( 186 gpu::CommandBuffer::State CommandBufferNacl::PpapiToGpuState(
186 PP_Graphics3DTrustedState s) { 187 PP_Graphics3DTrustedState s) {
187 gpu::CommandBuffer::State state; 188 gpu::CommandBuffer::State state;
188 state.num_entries = s.num_entries; 189 state.num_entries = s.num_entries;
189 state.get_offset = s.get_offset; 190 state.get_offset = s.get_offset;
190 state.put_offset = s.put_offset; 191 state.put_offset = s.put_offset;
191 state.token = s.token; 192 state.token = s.token;
192 state.error = static_cast<gpu::error::Error>(s.error); 193 state.error = static_cast<gpu::error::Error>(s.error);
193 return state; 194 return state;
194 } 195 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698