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

Unified Diff: gpu/command_buffer/common/constants.h

Issue 2021603002: gpu: Add a new extension CHROMIUM_deschedule. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/gles2_cmd_format_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/constants.h
diff --git a/gpu/command_buffer/common/constants.h b/gpu/command_buffer/common/constants.h
index 68f0948eadeea706907bddf1d1b4a3ee18ba9cba..c2bcd5b52528e6f08d20e1acc35b2cd477307d5e 100644
--- a/gpu/command_buffer/common/constants.h
+++ b/gpu/command_buffer/common/constants.h
@@ -23,12 +23,14 @@ namespace error {
kLostContext,
kGenericError,
kDeferCommandUntilLater,
- kErrorLast = kDeferCommandUntilLater,
+ kDeferLaterCommands,
+ kErrorLast = kDeferLaterCommands,
};
// Return true if the given error code is an actual error.
inline bool IsError(Error error) {
- return error != kNoError && error != kDeferCommandUntilLater;
+ return error != kNoError && error != kDeferCommandUntilLater &&
+ error != kDeferLaterCommands;
}
// Provides finer grained information about why the context was lost.
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/gles2_cmd_format_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698