parameters: (self, func, f)
docstring: Overrriden from TypeHandler.
docstring_summary: Overrriden from TypeHandler.
docstring_tokens: Overrriden from TypeHandler .
function: def WriteGLES2Implementation(self, func, f):
      """Overrriden from TypeHandler."""
      f.write("%s GLES2Implementation::%s(%s) {\n" %
                 (func.return_type, func.original_name,
                  func.MakeTypedOriginalArgString("")))
      f.write("  GPU_CLIENT_SINGLE_THREAD_CHECK();\n")
      func.WriteDestinationInitalizationValidation(f)
      self.WriteClientGLCallLog(func, f)
      for arg in func.GetOriginalArgs():
        arg.WriteClientSideValidationCode(f, func)
      f.write(
          "  GPU_CLIENT_DCHECK(%s != 0);\n" % func.GetOriginalArgs()[-1].name)
      f.write("  %sHelper(%s);\n" %
                 (func.original_name, func.GetOriginalArgs()[-1].name))
      f.write("  CheckGLError();\n")
      f.write("}\n")
      f.write("\n")
function_tokens: def WriteGLES2Implementation ( self , func , f ) : f . write ( "%s GLES2Implementation::%s(%s) {\n" % ( func . return_type , func . original_name , func . MakeTypedOriginalArgString ( "" ) ) ) f . write ( "  GPU_CLIENT_SINGLE_THREAD_CHECK();\n" ) func . WriteDestinationInitalizationValidation ( f ) self . WriteClientGLCallLog ( func , f ) for arg in func . GetOriginalArgs ( ) : arg . WriteClientSideValidationCode ( f , func ) f . write ( "  GPU_CLIENT_DCHECK(%s != 0);\n" % func . GetOriginalArgs ( ) [ - 1 ] . name ) f . write ( "  %sHelper(%s);\n" % ( func . original_name , func . GetOriginalArgs ( ) [ - 1 ] . name ) ) f . write ( "  CheckGLError();\n" ) f . write ( "}\n" ) f . write ( "\n" )