parameters: (self, func, file)
docstring: Overrriden from TypeHandler.
docstring_summary: Overrriden from TypeHandler.
docstring_tokens: Overrriden from TypeHandler .
function: def WriteGLES2ImplementationHeader(self, func, file):
      """Overrriden from TypeHandler."""
      file.Write("%s %s(%s) {\n" %
                 (func.return_type, func.original_name,
                  func.MakeTypedOriginalArgString("")))
      file.Write("  GPU_CLIENT_SINGLE_THREAD_CHECK();\n")
      func.WriteDestinationInitalizationValidation(file)
      self.WriteClientGLCallLog(func, file)
      last_arg_name = func.GetLastOriginalArg().name
      file.Write("""  GPU_CLIENT_LOG_CODE_BLOCK({
      for (GLsizei i = 0; i < count; ++i) {
  """)
      values_str = ' << ", " << '.join(
          ["%s[%d + i * %d]" % (
              last_arg_name, ndx, func.info.count) for ndx in range(
                  0, func.info.count)])
      file.Write('       GPU_CLIENT_LOG("  " << i << ": " << %s);\n' % values_str)
      file.Write("    }\n  });\n")
      for arg in func.GetOriginalArgs():
        arg.WriteClientSideValidationCode(file, func)
      file.Write("  helper_->%sImmediate(%s);\n" %
                 (func.name, func.MakeOriginalArgString("")))
      file.Write("}\n")
      file.Write("\n")
function_tokens: def WriteGLES2ImplementationHeader ( self , func , file ) : file . Write ( "%s %s(%s) {\n" % ( func . return_type , func . original_name , func . MakeTypedOriginalArgString ( "" ) ) ) file . Write ( "  GPU_CLIENT_SINGLE_THREAD_CHECK();\n" ) func . WriteDestinationInitalizationValidation ( file ) self . WriteClientGLCallLog ( func , file ) last_arg_name = func . GetLastOriginalArg ( ) . name file . Write ( """  GPU_CLIENT_LOG_CODE_BLOCK({
      for (GLsizei i = 0; i < count; ++i) {
  """ ) values_str = ' << ", " << ' . join ( [ "%s[%d + i * %d]" % ( last_arg_name , ndx , func . info . count ) for ndx in range ( 0 , func . info . count ) ] ) file . Write ( '       GPU_CLIENT_LOG("  " << i << ": " << %s);\n' % values_str ) file . Write ( "    }\n  });\n" ) for arg in func . GetOriginalArgs ( ) : arg . WriteClientSideValidationCode ( file , func ) file . Write ( "  helper_->%sImmediate(%s);\n" % ( func . name , func . MakeOriginalArgString ( "" ) ) ) file . Write ( "}\n" ) file . Write ( "\n" )