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

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

Issue 1916303003: Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lost-share-group: disconnect-channel Created 4 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
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 namespace gpu { 11 namespace gpu {
12 12
13 typedef int32_t CommandBufferOffset; 13 typedef int32_t CommandBufferOffset;
14 const CommandBufferOffset kInvalidCommandBufferOffset = -1; 14 const CommandBufferOffset kInvalidCommandBufferOffset = -1;
15 15
16 // This enum must stay in sync with NPDeviceContext3DError.
17 namespace error { 16 namespace error {
18 enum Error { 17 enum Error {
19 kNoError, 18 kNoError,
20 kInvalidSize, 19 kInvalidSize,
21 kOutOfBounds, 20 kOutOfBounds,
22 kUnknownCommand, 21 kUnknownCommand,
23 kInvalidArguments, 22 kInvalidArguments,
24 kLostContext, 23 kLostContext,
25 kGenericError, 24 kGenericError,
26 kDeferCommandUntilLater, 25 kDeferCommandUntilLater,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 IN_PROCESS, 77 IN_PROCESS,
79 MOJO, 78 MOJO,
80 MOJO_LOCAL, 79 MOJO_LOCAL,
81 80
82 NUM_COMMAND_BUFFER_NAMESPACES 81 NUM_COMMAND_BUFFER_NAMESPACES
83 }; 82 };
84 83
85 } // namespace gpu 84 } // namespace gpu
86 85
87 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 86 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/share_group.cc ('k') | gpu/command_buffer/service/in_process_command_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698