Chromium Code Reviews| Index: content/common/gpu/gpu_result_codes.h |
| diff --git a/content/common/gpu/gpu_result_codes.h b/content/common/gpu/gpu_result_codes.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3bed7556ce783e6b5b47eb29c9e224bd4cb0a268 |
| --- /dev/null |
| +++ b/content/common/gpu/gpu_result_codes.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_COMMON_GPU_GPU_RESULT_CODES_H_ |
| +#define CONTENT_COMMON_GPU_GPU_RESULT_CODES_H_ |
| + |
| +namespace content { |
| + |
| +enum CreateCommandBufferResult { |
| + CREATE_CMDBUF_SUCCEEDED, |
|
piman
2014/07/11 23:20:10
nit: CMDBUF->COMMAND_BUFFER
Ken Russell (switch to Gerrit)
2014/07/12 00:44:52
Sure. Done.
|
| + CREATE_CMDBUF_FAILED, |
| + CREATE_CMDBUF_FAILED_AND_CHANNEL_LOST, |
| + CREATE_CMDBUF_RESULT_LAST = |
| + CREATE_CMDBUF_FAILED_AND_CHANNEL_LOST |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_COMMON_GPU_GPU_RESULT_CODES_H_ |