libgimp/gimp.[ch] removed gimp_use_cpu_accel() again. libgimp handles this

2006-06-02  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch]
	* libgimp/gimp.def: removed gimp_use_cpu_accel() again. libgimp
	handles this transparently by calling gimp_cpu_accel_set_use().
This commit is contained in:
Sven Neumann
2006-06-02 11:49:51 +00:00
committed by Sven Neumann
parent fd972c23dc
commit 7078005f7a
5 changed files with 7 additions and 23 deletions

View File

@ -1,3 +1,9 @@
2006-06-02 Sven Neumann <sven@gimp.org>
* libgimp/gimp.[ch]
* libgimp/gimp.def: removed gimp_use_cpu_accel() again. libgimp
handles this transparently by calling gimp_cpu_accel_set_use().
2006-06-02 Sven Neumann <sven@gimp.org>
* app/composite/gimp-composite.c (gimp_composite_use_cpu_accel):

View File

@ -43,7 +43,6 @@ gimp_default_display
gimp_wm_class
gimp_display_name
gimp_monitor_number
gimp_use_cpu_accel
gimp_get_progname
gimp_extension_enable
gimp_extension_ack

View File

@ -180,7 +180,6 @@ static gdouble _gamma_val = 1.0;
static gboolean _install_cmap = FALSE;
static gboolean _show_tool_tips = TRUE;
static gboolean _show_help_button = TRUE;
static gboolean _use_cpu_accel = TRUE;
static GimpCheckSize _check_size = GIMP_CHECK_SIZE_MEDIUM_CHECKS;
static GimpCheckType _check_type = GIMP_CHECK_TYPE_GRAY_CHECKS;
static gint _min_colors = 144;
@ -1240,23 +1239,6 @@ gimp_monitor_number (void)
return _monitor_number;
}
/**
* gimp_use_cpu_accel:
*
* Returns whether or not GIMP and its plug-ins should use
* CPU-specific accelerated routines (MMX, SSE, Altivec...) if
* available.
*
* Return value: the use_cpu_accel boolean
*
* Since: GIMP 2.4
**/
gboolean
gimp_use_cpu_accel (void)
{
return _use_cpu_accel;
}
/**
* gimp_get_progname:
*
@ -1713,7 +1695,6 @@ gimp_config (GPConfig *config)
_install_cmap = config->install_cmap ? TRUE : FALSE;
_show_tool_tips = config->show_tooltips ? TRUE : FALSE;
_show_help_button = config->show_help_button ? TRUE : FALSE;
_use_cpu_accel = config->use_cpu_accel ? TRUE : FALSE;
_min_colors = config->min_colors;
_gdisp_ID = config->gdisp_ID;
_wm_class = g_strdup (config->wm_class);
@ -1723,7 +1704,7 @@ gimp_config (GPConfig *config)
if (config->app_name)
g_set_application_name (config->app_name);
gimp_cpu_accel_set_use (gimp_use_cpu_accel ());
gimp_cpu_accel_set_use (config->use_cpu_accel);
if (_shm_ID != -1)
{

View File

@ -599,7 +599,6 @@ EXPORTS
gimp_tile_width
gimp_transform_2d
gimp_uninstall_temp_proc
gimp_use_cpu_accel
gimp_vectors_bezier_stroke_conicto
gimp_vectors_bezier_stroke_cubicto
gimp_vectors_bezier_stroke_lineto

View File

@ -319,7 +319,6 @@ gboolean gimp_install_cmap (void) G_GNUC_CONST;
gint gimp_min_colors (void) G_GNUC_CONST;
gboolean gimp_show_tool_tips (void) G_GNUC_CONST;
gboolean gimp_show_help_button (void) G_GNUC_CONST;
gboolean gimp_use_cpu_accel (void) G_GNUC_CONST;
GimpCheckSize gimp_check_size (void) G_GNUC_CONST;
GimpCheckType gimp_check_type (void) G_GNUC_CONST;
gint32 gimp_default_display (void) G_GNUC_CONST;