| Index: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
|
| index 280f736988c48f6c84ff92bf73a1a2a634372220..03556bce163b2349b79d7057df3af7491da1a6ba 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
|
| @@ -655,6 +655,17 @@ bool Validators::PathTransformTypeValidator::IsValid(const GLenum value) const {
|
| return false;
|
| };
|
|
|
| +bool Validators::PerformanceHintModeValidator::IsValid(
|
| + const GLenum value) const {
|
| + switch (value) {
|
| + case GL_DEFAULT_POWER_CHROMIUM:
|
| + case GL_LOW_POWER_CHROMIUM:
|
| + case GL_HIGH_PERFORMANCE_CHROMIUM:
|
| + return true;
|
| + }
|
| + return false;
|
| +};
|
| +
|
| static const GLenum valid_pixel_store_table[] = {
|
| GL_PACK_ALIGNMENT, GL_UNPACK_ALIGNMENT,
|
| };
|
|
|