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

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils.cc

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/common/gles2_cmd_utils.cc
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
index c16a962f6d59ba61df57af19e1a78b3573ea57f8..3985193e1167e80c8c53b120b3de60ef559263f1 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
@@ -329,6 +329,16 @@ int GLES2Util::GLGetNumValuesReturned(int id) const {
case GL_CURRENT_VERTEX_ATTRIB:
return 4;
+ // -- glGetSynciv
+ case GL_OBJECT_TYPE:
+ return 1;
+ case GL_SYNC_STATUS:
+ return 1;
+ case GL_SYNC_CONDITION:
+ return 1;
+ case GL_SYNC_FLAGS:
+ return 1;
+
// -- glHint with GL_OES_standard_derivatives
case GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES:
return 1;
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/common/gles2_cmd_utils_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698