renamed remaining occurences of "use_mmx" to "use_cpu_accel".

2003-11-30  Sven Neumann  <sven@gimp.org>

	* app/main.c: renamed remaining occurences of "use_mmx" to
	"use_cpu_accel".

	* app/paint-funcs/paint-funcs.[ch]: removed unused "use_mmx"
	parameter.

	* app/base/base.c: changed accordingly.

	* docs/gimp-1.3.1.in: documented the changed command-line option.
This commit is contained in:
Sven Neumann
2003-11-30 17:53:39 +00:00
committed by Sven Neumann
parent 8fa7cb034c
commit 2bc1d80072
7 changed files with 34 additions and 19 deletions

View File

@ -1,3 +1,15 @@
2003-11-30 Sven Neumann <sven@gimp.org>
* app/main.c: renamed remaining occurences of "use_mmx" to
"use_cpu_accel".
* app/paint-funcs/paint-funcs.[ch]: removed unused "use_mmx"
parameter.
* app/base/base.c: changed accordingly.
* docs/gimp-1.3.1.in: documented the changed command-line option.
2003-11-30 Helvetix Victorinox <helvetix@gimp.org>
* configure.in: backed out inadvertant changes.

View File

@ -95,10 +95,9 @@ base_init (GimpBaseConfig *config,
g_free (path);
/* FIXME: pass use_cpu_accel to GimpComposite */
gimp_composite_init (use_cpu_accel);
paint_funcs_setup (use_cpu_accel);
paint_funcs_setup ();
}
void

View File

@ -104,7 +104,7 @@ main (int argc,
gboolean no_splash_image = FALSE;
gboolean be_verbose = FALSE;
gboolean use_shm = FALSE;
gboolean use_mmx = TRUE;
gboolean use_cpu_accel = TRUE;
gboolean console_messages = FALSE;
gboolean use_debug_handler = FALSE;
GimpStackTraceMode stack_trace_mode = GIMP_STACK_TRACE_QUERY;
@ -318,7 +318,7 @@ main (int argc,
}
else if (strcmp (argv[i], "--no-cpu-accel") == 0)
{
use_mmx = FALSE;
use_cpu_accel = FALSE;
argv[i] = NULL;
}
else if (strcmp (argv[i], "--debug-handlers") == 0)
@ -454,7 +454,7 @@ main (int argc,
no_splash_image,
be_verbose,
use_shm,
use_mmx,
use_cpu_accel,
console_messages,
stack_trace_mode);

View File

@ -40,8 +40,10 @@
#include "paint-funcs.h"
#include "paint-funcs-generic.h"
#define RANDOM_SEED 314159265
#define EPSILON 0.0001
#define RANDOM_SEED 314159265
#define EPSILON 0.0001
typedef enum
{
@ -436,10 +438,10 @@ cubic (gdouble dx,
/*********************/
void
paint_funcs_setup (gboolean use_mmx)
paint_funcs_setup (void)
{
guint i;
GRand *gr;
gint i;
/* generate a table of random seeds */
gr = g_rand_new_with_seed (RANDOM_SEED);

View File

@ -20,8 +20,8 @@
#define __PAINT_FUNCS_H__
/* Called initially to setup accelerated rendering features */
void paint_funcs_setup (gboolean use_mmx);
/* Called initially to setup rendering features */
void paint_funcs_setup (void);
void paint_funcs_free (void);

View File

@ -1,10 +1,10 @@
.TH GIMP 1 "13 November 2003" "Version @GIMP_VERSION@" "GIMP Manual Pages"
.TH GIMP 1 "30 November 2003" "Version @GIMP_VERSION@" "GIMP Manual Pages"
.SH NAME
gimp - an image manipulation and paint program.
.SH SYNOPSIS
.B gimp
[\-h] [\-\-help] [-v] [\-\-version] [\-\-verbose] [\-\-no\-shm]
[\-\-no\-mmx] [\-\-display \fIdisplay\fP] [\-d] [\-\-no\-data]
[\-\-no\-cpu\-accel] [\-\-display \fIdisplay\fP] [\-d] [\-\-no\-data]
[\-f] [\-\-no\-fonts] [\-i] [\-\-no\-interface] [\-s] [\-\-no\-splash]
[\-S] [\-\-no\-splash\-image] [\-\-session \fI<name>\fP]
[\-g] [\-\-gimprc \fI<gimprc>\fP] [\-\-system\-gimprc \fI<gimprc>\fP]
@ -50,8 +50,9 @@ Do not use shared memory between GIMP and its plugins.
Instead of using shared memory, GIMP will send the data via pipe. This
will result in slower performance than using shared memory.
.TP 8
.B \-\-no\-mmx
Do not use MMX routines even if GIMP detects the availability of MMX.
.B \-\-no\-cpu\-accel
Do not use CPU accelerations such as MMX or SSE even if GIMP detects
that your CPU provides this functionality.
.TP 8
.B \-d, \-\-no\-data
Do not load patterns, gradients, palettes, or brushes. Often useful

View File

@ -1,10 +1,10 @@
.TH GIMP 1 "13 November 2003" "Version @GIMP_VERSION@" "GIMP Manual Pages"
.TH GIMP 1 "30 November 2003" "Version @GIMP_VERSION@" "GIMP Manual Pages"
.SH NAME
gimp - an image manipulation and paint program.
.SH SYNOPSIS
.B gimp
[\-h] [\-\-help] [-v] [\-\-version] [\-\-verbose] [\-\-no\-shm]
[\-\-no\-mmx] [\-\-display \fIdisplay\fP] [\-d] [\-\-no\-data]
[\-\-no\-cpu\-accel] [\-\-display \fIdisplay\fP] [\-d] [\-\-no\-data]
[\-f] [\-\-no\-fonts] [\-i] [\-\-no\-interface] [\-s] [\-\-no\-splash]
[\-S] [\-\-no\-splash\-image] [\-\-session \fI<name>\fP]
[\-g] [\-\-gimprc \fI<gimprc>\fP] [\-\-system\-gimprc \fI<gimprc>\fP]
@ -50,8 +50,9 @@ Do not use shared memory between GIMP and its plugins.
Instead of using shared memory, GIMP will send the data via pipe. This
will result in slower performance than using shared memory.
.TP 8
.B \-\-no\-mmx
Do not use MMX routines even if GIMP detects the availability of MMX.
.B \-\-no\-cpu\-accel
Do not use CPU accelerations such as MMX or SSE even if GIMP detects
that your CPU provides this functionality.
.TP 8
.B \-d, \-\-no\-data
Do not load patterns, gradients, palettes, or brushes. Often useful