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

Side by Side Diff: gpu/command_buffer/common/cmd_buffer_common.cc

Issue 15938002: Get rid of the relative paths in command_buffer client/common (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 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 // This file contains the binary format definition of the command buffer and 5 // This file contains the binary format definition of the command buffer and
6 // command buffer commands. 6 // command buffer commands.
7 7
8 #include "../common/cmd_buffer_common.h" 8 #include "gpu/command_buffer/common/cmd_buffer_common.h"
9 #include "../common/command_buffer.h" 9 #include "gpu/command_buffer/common/command_buffer.h"
10 #include "../common/logging.h" 10 #include "gpu/command_buffer/common/logging.h"
11 11
12 namespace gpu { 12 namespace gpu {
13 #if !defined(_WIN32) 13 #if !defined(_WIN32)
14 // gcc needs this to link, but MSVC requires it not be present 14 // gcc needs this to link, but MSVC requires it not be present
15 const int32 CommandHeader::kMaxSize; 15 const int32 CommandHeader::kMaxSize;
16 #endif 16 #endif
17 namespace cmd { 17 namespace cmd {
18 18
19 const char* GetCommandName(CommandId command_id) { 19 const char* GetCommandName(CommandId command_id) {
20 static const char* const names[] = { 20 static const char* const names[] = {
(...skipping 14 matching lines...) Expand all
35 // RendererGLContext::MakeCurrent prior to every GL call. It saves returning 6 35 // RendererGLContext::MakeCurrent prior to every GL call. It saves returning 6
36 // ints redundantly when only the error is needed for the CommandBufferProxy 36 // ints redundantly when only the error is needed for the CommandBufferProxy
37 // implementation. 37 // implementation.
38 error::Error CommandBuffer::GetLastError() { 38 error::Error CommandBuffer::GetLastError() {
39 return GetLastState().error; 39 return GetLastState().error;
40 } 40 }
41 41
42 } // namespace gpu 42 } // namespace gpu
43 43
44 44
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/cmd_buffer_common.h ('k') | gpu/command_buffer/common/command_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698