summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/constants.h')
-rw-r--r--gpu/command_buffer/common/constants.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gpu/command_buffer/common/constants.h b/gpu/command_buffer/common/constants.h
index e884e2f..79b0048 100644
--- a/gpu/command_buffer/common/constants.h
+++ b/gpu/command_buffer/common/constants.h
@@ -21,7 +21,13 @@ namespace error {
kUnknownCommand,
kInvalidArguments,
kLostContext,
- kGenericError
+ kGenericError,
+
+ // This is not an error. It is returned by commands to mark a position
+ // in the command buffer that should not be issued to the the GL backend
+ // until no more than a fixed number of such positions have already been
+ // issued.
+ kThrottle
};
}