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

Side by Side Diff: gpu/command_buffer/common/constants.h

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 #ifndef GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 5 #ifndef GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
6 #define GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 6 #define GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
7 7
8 #include "../common/types.h" 8 #include "gpu/command_buffer/common/types.h"
9 9
10 namespace gpu { 10 namespace gpu {
11 11
12 typedef int32 CommandBufferOffset; 12 typedef int32 CommandBufferOffset;
13 const CommandBufferOffset kInvalidCommandBufferOffset = -1; 13 const CommandBufferOffset kInvalidCommandBufferOffset = -1;
14 14
15 // This enum must stay in sync with NPDeviceContext3DError. 15 // This enum must stay in sync with NPDeviceContext3DError.
16 namespace error { 16 namespace error {
17 enum Error { 17 enum Error {
18 kNoError, 18 kNoError,
(...skipping 30 matching lines...) Expand all
49 49
50 // Common Command Buffer shared memory transfer buffer ID. 50 // Common Command Buffer shared memory transfer buffer ID.
51 const int32 kCommandBufferSharedMemoryId = 4; 51 const int32 kCommandBufferSharedMemoryId = 4;
52 52
53 // The size to set for the program cache. 53 // The size to set for the program cache.
54 const size_t kDefaultMaxProgramCacheMemoryBytes = 6 * 1024 * 1024; 54 const size_t kDefaultMaxProgramCacheMemoryBytes = 6 * 1024 * 1024;
55 55
56 } // namespace gpu 56 } // namespace gpu
57 57
58 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 58 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/command_buffer_mock.h ('k') | gpu/command_buffer/common/debug_marker_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698