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

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

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 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/mman.h> 7 #include <sys/mman.h>
8 #include "gpu/command_buffer/common/logging.h" 8 #include "gpu/command_buffer/common/logging.h"
9 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h" 9 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h"
10 #include "native_client/src/shared/ppapi_proxy/utility.h" 10 #include "native_client/src/shared/ppapi_proxy/utility.h"
11 #include "ppapi/c/ppb_core.h" 11 #include "ppapi/c/ppb_core.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 gpu::CommandBuffer::State CommandBufferNacl::PpapiToGpuState( 197 gpu::CommandBuffer::State CommandBufferNacl::PpapiToGpuState(
198 PP_Graphics3DTrustedState s) { 198 PP_Graphics3DTrustedState s) {
199 gpu::CommandBuffer::State state; 199 gpu::CommandBuffer::State state;
200 state.num_entries = s.num_entries; 200 state.num_entries = s.num_entries;
201 state.get_offset = s.get_offset; 201 state.get_offset = s.get_offset;
202 state.put_offset = s.put_offset; 202 state.put_offset = s.put_offset;
203 state.token = s.token; 203 state.token = s.token;
204 state.error = static_cast<gpu::error::Error>(s.error); 204 state.error = static_cast<gpu::error::Error>(s.error);
205 return state; 205 return state;
206 } 206 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698