diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-01 22:24:14 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-01 22:24:14 +0000 |
commit | f7a64eee4a7c9556a2199bebb4110f7cef9b6d3c (patch) | |
tree | 487908060385ef696fdcf5dc9078cbb4b5dcdf2b /gpu/command_buffer/common/constants.h | |
parent | c0c4565b3c287e7aca0ed2b913f82a74155fb813 (diff) | |
download | chromium_src-f7a64eee4a7c9556a2199bebb4110f7cef9b6d3c.zip chromium_src-f7a64eee4a7c9556a2199bebb4110f7cef9b6d3c.tar.gz chromium_src-f7a64eee4a7c9556a2199bebb4110f7cef9b6d3c.tar.bz2 |
Renamed ParseError -> Error, parse_error -> error, kParseNoError -> kNoError, commandBufferEntries -> commandBufferSize.
Added NPDevice3DContextError enumeration.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/558054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/common/constants.h')
-rw-r--r-- | gpu/command_buffer/common/constants.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gpu/command_buffer/common/constants.h b/gpu/command_buffer/common/constants.h index d6f9dfb..b208153 100644 --- a/gpu/command_buffer/common/constants.h +++ b/gpu/command_buffer/common/constants.h @@ -12,15 +12,15 @@ namespace gpu { typedef int32 CommandBufferOffset; const CommandBufferOffset kInvalidCommandBufferOffset = -1; -// TODO(apatrick): rename to something more generic like just Error. -namespace parse_error { - enum ParseError { - kParseNoError, - kParseInvalidSize, - kParseOutOfBounds, - kParseUnknownCommand, - kParseInvalidArguments, - kParseGenericError +// This enum must stay in sync with NPDeviceContext3DError. +namespace error { + enum Error { + kNoError, + kInvalidSize, + kOutOfBounds, + kUnknownCommand, + kInvalidArguments, + kGenericError }; } |