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

Side by Side Diff: gpu/pgl/command_buffer_pepper.cc

Issue 552024: Change some paths, include files to make the sources build on Native Client.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 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 | « gpu/pgl/command_buffer_pepper.h ('k') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/pgl/command_buffer_pepper.h" 5 #include "gpu/pgl/command_buffer_pepper.h"
6 #ifdef __native_client__
7 #include <assert.h>
8 #define NOTREACHED() assert(0)
9 #else
6 #include "base/logging.h" 10 #include "base/logging.h"
11 #endif // __native_client__
7 12
8 using base::SharedMemory; 13 using base::SharedMemory;
9 using gpu::Buffer; 14 using gpu::Buffer;
10 15
11 CommandBufferPepper::CommandBufferPepper(NPP npp, 16 CommandBufferPepper::CommandBufferPepper(NPP npp,
12 NPDevice* device, 17 NPDevice* device,
13 NPDeviceContext3D* context) 18 NPDeviceContext3D* context)
14 : npp_(npp), 19 : npp_(npp),
15 device_(device), 20 device_(device),
16 context_(context) { 21 context_(context) {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 return value != 0; 149 return value != 0;
145 } 150 }
146 151
147 return true; 152 return true;
148 } 153 }
149 154
150 void CommandBufferPepper::RaiseErrorStatus() { 155 void CommandBufferPepper::RaiseErrorStatus() {
151 // Not implemented by proxy. 156 // Not implemented by proxy.
152 NOTREACHED(); 157 NOTREACHED();
153 } 158 }
OLDNEW
« no previous file with comments | « gpu/pgl/command_buffer_pepper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698