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

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

Issue 1331843005: Implemented new fence syncs which replaces the old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted mojo readme, changed wait() to take a pointer Created 5 years, 2 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 // From glextchromium.h.
12 #ifndef GL_SYNC_TOKEN_SIZE_CHROMIUM
13 #define GL_SYNC_TOKEN_SIZE_CHROMIUM 24
14 #endif
15
11 namespace gpu { 16 namespace gpu {
12 17
13 typedef int32_t CommandBufferOffset; 18 typedef int32_t CommandBufferOffset;
14 const CommandBufferOffset kInvalidCommandBufferOffset = -1; 19 const CommandBufferOffset kInvalidCommandBufferOffset = -1;
15 20
16 // This enum must stay in sync with NPDeviceContext3DError. 21 // This enum must stay in sync with NPDeviceContext3DError.
17 namespace error { 22 namespace error {
18 enum Error { 23 enum Error {
19 kNoError, 24 kNoError,
20 kInvalidSize, 25 kInvalidSize,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 IN_PROCESS, 79 IN_PROCESS,
75 MOJO, 80 MOJO,
76 81
77 NUM_COMMAND_BUFFER_NAMESPACES 82 NUM_COMMAND_BUFFER_NAMESPACES
78 }; 83 };
79 84
80 85
81 } // namespace gpu 86 } // namespace gpu
82 87
83 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 88 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/gles2_cmd_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698