]> git.pld-linux.org Git - packages/povray.git/commitdiff
revert changes to 1.1
authorMaciej Pijanka <agaran@pld-linux.org>
Sat, 30 Jun 2001 19:49:08 +0000 (19:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    povray-pvm.patch -> 1.3

povray-pvm.patch

index 7794774d92862023d79a2cd7512dfe7bfb60fdf8..3fd9d102a3056eb568f15d42ed2ac6daebfe70fe 100644 (file)
@@ -1,6 +1,6 @@
 diff -Naur source.ori/optin.c source/optin.c
 --- source.ori/optin.c Sat Jun 30 01:49:21 2001
-+++ source/optin.c     Sat Jun 30 13:55:01 2001
++++ source/optin.c     Sat Jun 30 10:01:28 2001
 @@ -30,7 +30,8 @@
  *
  *  Written by CEY 4/94 based on existing code and INI code from CDW.
@@ -22,12 +22,12 @@ diff -Naur source.ori/optin.c source/optin.c
  
  
  /*****************************************************************************
-@@ -188,6 +191,21 @@
+@@ -187,7 +190,23 @@
    { BITS_PER_COLOR_OP, "Bits_Per_Color" },
    { BITS_PER_COLOUR_OP, "Bits_Per_Colour" },
-   { INCLUDE_INI_OP, "Include_Ini" }
 +#ifdef USE_PVM
-+ ,
++ { INCLUDE_INI_OP, "Include_Ini" },
 +
 + /* new options for PVM-Pov */
 + { PVM_TASKS_OP, "PVM_Tasks" },
@@ -40,11 +40,13 @@ diff -Naur source.ori/optin.c source/optin.c
 + { PVM_HOSTS_OP, "PVM_Hosts" },
 + { PVM_USE_OP, "PVM" }
 +
++#else
+   { INCLUDE_INI_OP, "Include_Ini" }
 +#endif
  };
  
  static char temp_string[3]="\0\0";
-@@ -229,7 +247,8 @@
+@@ -229,7 +248,8 @@
  *
  * CHANGES
  *
@@ -54,7 +56,7 @@ diff -Naur source.ori/optin.c source/optin.c
  *
  ******************************************************************************/
  
-@@ -560,6 +579,44 @@
+@@ -560,6 +580,44 @@
      case INCLUDE_INI_OP:
        value[0] = '\0';
        return value;
@@ -99,7 +101,7 @@ diff -Naur source.ori/optin.c source/optin.c
  
      default:
        Error("Unknown INI option in Write_INI.");
-@@ -602,6 +659,8 @@
+@@ -602,6 +660,8 @@
  *   Sep 1994 : Added options for union splitting, vista/light buffer. [DB]
  *   Jan 1995 : Added options for histogram grid. [CJC]
  *   Feb 1995 : Added options for console/file redirection and .INI writing [SCD]
@@ -108,7 +110,7 @@ diff -Naur source.ori/optin.c source/optin.c
  *
  ******************************************************************************/
  
-@@ -1024,13 +1083,67 @@
+@@ -1024,13 +1084,67 @@
        break;
  
      /*  "N" option flag is used by networking (multi-processor) options.
@@ -182,7 +184,7 @@ diff -Naur source.ori/optin.c source/optin.c
  
      case 'O':
      case 'o':
-@@ -1262,7 +1375,8 @@
+@@ -1262,7 +1376,8 @@
  *
  * CHANGES
  *
@@ -192,7 +194,7 @@ diff -Naur source.ori/optin.c source/optin.c
  *
  ******************************************************************************/
  
-@@ -1445,21 +1559,36 @@
+@@ -1445,21 +1560,36 @@
        return;
  
      case END_COLUMN_OP:
@@ -229,7 +231,7 @@ diff -Naur source.ori/optin.c source/optin.c
          if(floatval > 0.0 && floatval <= 1.0)
          {
            opts.Last_Line = -1;
-@@ -1831,6 +1960,86 @@
+@@ -1831,6 +1961,86 @@
          Error ("Could not open Include_Ini='%s'.\n", value);
        }
        return;
@@ -352,7 +354,7 @@ diff -Naur source.ori/optin.h source/optin.h
  } INI_OP;
 diff -Naur source.ori/optout.c source/optout.c
 --- source.ori/optout.c        Sat Jun 30 01:49:21 2001
-+++ source/optout.c    Sat Jun 30 13:56:11 2001
++++ source/optout.c    Sat Jun 30 09:25:02 2001
 @@ -19,6 +19,9 @@
  * DKBTrace was originally written by David K. Buck.
  * DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
@@ -398,7 +400,7 @@ diff -Naur source.ori/optout.c source/optout.c
  
        break;
  
-@@ -767,6 +779,45 @@
+@@ -767,6 +779,40 @@
  
        break;
  
@@ -421,11 +423,6 @@ diff -Naur source.ori/optout.c source/optout.c
 +      Banner("  pvm_hosts = n,n,..  = List of hostnames to use\n");
 +      Banner("\n");
 +
-+      break;
-+
-+    case 8:
-+
-+      
 +    /* Redirecting options. */
 +
 +      Banner("\n");
@@ -444,7 +441,7 @@ diff -Naur source.ori/optout.c source/optout.c
      /* Redirecting options. */
  
      case 7:
-@@ -782,6 +833,7 @@
+@@ -782,6 +828,7 @@
        Banner("            GR - Render stream\n");
        Banner("            GS - Statistics stream\n");
        Banner("            GW - Warning stream\n");
@@ -452,7 +449,7 @@ diff -Naur source.ori/optout.c source/optout.c
  
        break;
  
-@@ -867,7 +919,8 @@
+@@ -867,7 +914,8 @@
  *
  * CHANGES
  *
@@ -462,7 +459,7 @@ diff -Naur source.ori/optout.c source/optout.c
  *
  ******************************************************************************/
  
-@@ -1089,6 +1142,26 @@
+@@ -1089,6 +1137,26 @@
    }
  
    Render_Info("\n");
@@ -526,7 +523,7 @@ diff -Naur source.ori/optout.h source/optout.h
  
 diff -Naur source.ori/povray.c source/povray.c
 --- source.ori/povray.c        Sat Jun 30 01:49:21 2001
-+++ source/povray.c    Sat Jun 30 19:29:39 2001
++++ source/povray.c    Sat Jun 30 09:55:32 2001
 @@ -20,6 +20,10 @@
  * DKBTrace was originally written by David K. Buck.
  * DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
@@ -661,12 +658,11 @@ diff -Naur source.ori/povray.c source/povray.c
    /* Execute the first shell-out command */
    Pre_Scene_Result=(POV_SHELLOUT_CAST)POV_SHELLOUT(PRE_SCENE_SHL);
  
-@@ -313,6 +375,54 @@
-   
+@@ -314,6 +376,26 @@
    if (Pre_Scene_Result != ALL_SKIP_RET)
    {
+      if (Pre_Scene_Result != SKIP_ONCE_RET)
 +#ifdef USE_PVM
-+     if (Pre_Scene_Result != SKIP_ONCE_RET)
 +       if(!PvmSlave && PvmTasks) {
 +           START_TIME
 +           Pvm_Master_Control();     /* distribute work,
@@ -685,58 +681,27 @@ diff -Naur source.ori/povray.c source/povray.c
 +              opts.FrameSeq.FrameNumber++,
 +              opts.FrameSeq.Clock_Value += Clock_Delta)
 +       {
-+           setup_output_file_name();
-+
-+           /* Execute a shell-out command before tracing */
-+
-+           Frame_Result=(POV_SHELLOUT_CAST)POV_SHELLOUT(PRE_FRAME_SHL);
-+          
-+           if (Frame_Result == ALL_SKIP_RET)
-+           {
-+             break;
-+           }
-+
-+           if (Frame_Result != SKIP_ONCE_RET)
-+           {
-+             FrameRender();
-+
-+             /* Execute a shell-out command after tracing */
-+
-+             Frame_Result = (POV_SHELLOUT_CAST)POV_SHELLOUT(POST_FRAME_SHL);
-+          
-+             if ((Frame_Result==SKIP_ONCE_RET) || (Frame_Result==ALL_SKIP_RET))
-+             {
-+               break;
-+             }
-+           }
-+         }
-+       }
-+
 +#else
-      if (Pre_Scene_Result != SKIP_ONCE_RET)
       {
         for (opts.FrameSeq.FrameNumber = opts.FrameSeq.InitialFrame,
-@@ -349,8 +459,10 @@
+             opts.FrameSeq.Clock_Value = opts.FrameSeq.InitialClock;
+@@ -323,6 +405,7 @@
+             opts.FrameSeq.FrameNumber++,
+             opts.FrameSeq.Clock_Value += Clock_Delta)
+        {
++#endif
+          setup_output_file_name();
+          /* Execute a shell-out command before tracing */
+@@ -348,7 +431,6 @@
+            }
           }
         }
-+
-+#endif
+-
         /* Print total stats ... */
-- 
-+
+  
         if(opts.FrameSeq.FrameType==FT_MULTIPLE_FRAME)
-        {
-          Statistics("\nTotal Statistics");
-@@ -371,7 +483,6 @@
-   /* And finish. */
-   Terminate_POV(0);
--
-   MAIN_RETURN_STATEMENT
- } /* main */
-@@ -399,6 +510,8 @@
+@@ -399,6 +481,8 @@
  * CHANGES
  *
  *   Feb 1996: Make sure we are displaying when doing a mosaic preview [AED]
@@ -745,7 +710,7 @@ diff -Naur source.ori/povray.c source/povray.c
  *
  ******************************************************************************/
  
-@@ -483,6 +596,30 @@
+@@ -483,6 +567,30 @@
    /* Save variable values. */
    variable_store(STORE);
  
@@ -776,7 +741,7 @@ diff -Naur source.ori/povray.c source/povray.c
    /* Open output file and if we are continuing an interrupted trace,
     * read in the previous file settings and any data there.  This has to
     * be done before any image-size related allocations, since the settings
-@@ -502,15 +639,45 @@
+@@ -502,15 +610,45 @@
      /* Display vista tree. */
      Draw_Vista_Buffer();
    }
@@ -823,7 +788,7 @@ diff -Naur source.ori/povray.c source/povray.c
    if ((opts.Options & DISKWRITE) && (opts.Options & CONTINUE_TRACE))
    {
      Read_Rendered_Part(Actual_Output_Name);
-@@ -529,7 +696,7 @@
+@@ -529,7 +667,7 @@
  
    /* Get total parsing time. */
    tparse_total += tparse;
@@ -832,13 +797,13 @@ diff -Naur source.ori/povray.c source/povray.c
    /* Store start time for trace. */
    START_TIME
  
-@@ -547,7 +714,65 @@
+@@ -547,7 +685,65 @@
    POV_PRE_RENDER
  
    Status_Info ("\nRendering...\r");
 +#ifdef USE_PVM
 +  do {
-+
 +    /* Macro for setting up any special FP options */
 +    CONFIG_MATH
 +
@@ -873,7 +838,7 @@ diff -Naur source.ori/povray.c source/povray.c
 +        Start_Adaptive_Tracing();
 +
 +        break;
++
 +      case 1 :
 +      default:
 +
@@ -898,7 +863,7 @@ diff -Naur source.ori/povray.c source/povray.c
    /* Macro for setting up any special FP options */
    CONFIG_MATH
  
-@@ -600,7 +825,7 @@
+@@ -600,7 +796,7 @@
    {
       Close_File(Output_File_Handle);
    }
@@ -907,7 +872,7 @@ diff -Naur source.ori/povray.c source/povray.c
    Stage = STAGE_SHUTDOWN;
  
    POV_PRE_SHUTDOWN
-@@ -626,6 +851,27 @@
+@@ -626,6 +822,27 @@
    /* Get total render time. */
    trender_total += trender;
  
@@ -935,7 +900,7 @@ diff -Naur source.ori/povray.c source/povray.c
    POV_DISPLAY_FINISHED
  
    if ((opts.Options & DISPLAY) && Display_Started)
-@@ -642,7 +888,7 @@
+@@ -642,7 +859,7 @@
  
    /* Print stats ... */
    PRINT_STATS(stats);
@@ -944,7 +909,7 @@ diff -Naur source.ori/povray.c source/povray.c
    if(opts.FrameSeq.FrameType==FT_MULTIPLE_FRAME)
    {
      /* Add them up */
-@@ -1030,8 +1276,11 @@
+@@ -1030,8 +1247,11 @@
  *          NULL function pointer.
  *
  ******************************************************************************/
@@ -957,7 +922,7 @@ diff -Naur source.ori/povray.c source/povray.c
  {
    char *def_ext = NULL;
    char temp[FILE_NAME_LENGTH];
-@@ -1110,7 +1359,11 @@
+@@ -1110,7 +1330,11 @@
  *                  function appends a path separator on output.
  *
  ******************************************************************************/
@@ -969,7 +934,7 @@ diff -Naur source.ori/povray.c source/povray.c
  {
    char number_string[10];
    char separator_string[2] = {FILENAME_SEPARATOR, 0} ;
-@@ -1219,8 +1472,11 @@
+@@ -1219,8 +1443,11 @@
  *   -
  *
  ******************************************************************************/
@@ -982,7 +947,7 @@ diff -Naur source.ori/povray.c source/povray.c
  {
    int Buffer_Size;
    
-@@ -1378,12 +1634,18 @@
+@@ -1378,12 +1605,18 @@
    opts.Radiosity_Nearest_Count = 6;
    opts.Radiosity_Recursion_Limit = 1;
    opts.Radiosity_Quality = 6;     /* Q-flag value for light gathering */
This page took 0.118782 seconds and 4 git commands to generate.