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

Unified Diff: gpu/command_buffer/service/gles2_cmd_validation_autogen.h

Issue 2627323007: Migrate WebGL contexts on backgrounded tabs to the integrated GPU.
Patch Set: Created 3 years, 11 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
Index: gpu/command_buffer/service/gles2_cmd_validation_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
index 2be3bab9c4afecfaa50c687ff8d8adc336dbf44d..8484a5bf81c0990994dd0e34659f82e6d5a7816f 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
@@ -223,6 +223,12 @@ class PathTransformTypeValidator {
};
PathTransformTypeValidator path_transform_type;
+class PerformanceHintModeValidator {
+ public:
+ bool IsValid(const GLenum value) const;
+};
+PerformanceHintModeValidator performance_hint_mode;
+
ValueValidator<GLenum> pixel_store;
class PixelStoreAlignmentValidator {
public:

Powered by Google App Engine
This is Rietveld 408576698