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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 7782038: Prepare WebGL contexts for resource sharing with the compositor context. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/build_gles2_cmd_buffer.py
===================================================================
--- gpu/command_buffer/build_gles2_cmd_buffer.py (revision 99750)
+++ gpu/command_buffer/build_gles2_cmd_buffer.py (working copy)
@@ -4561,7 +4561,7 @@
self.enum_info = _ENUM_LISTS[name]
def WriteValidationCode(self, file, func):
- file.Write(" if (!validators_->%s.IsValid(%s)) {\n" %
+ file.Write(" if (!validators()->%s.IsValid(%s)) {\n" %
(ToUnderscore(self.type_name), self.name))
file.Write(" SetGLError(%s, \"gl%s: %s %s\");\n" %
(self.gl_error, func.original_name, self.name, self.gl_error))
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698