mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
db75625d27
2006-06-02 Sven Neumann <sven@gimp.org> Moved the CPU detection code to libgimpbase (see bug #342860): * app/base/Makefile.am * app/base/cpu-accel.[ch] * app/base/test-cpu-accel.c: removed here... * libgimpbase/Makefile.am * libgimpbase/gimpbase.h * libgimpbase/gimpcpuaccel.[ch] * libgimpbase/test-cpu-accel.c: ... and added here again with some API changes. * app/composite/Makefile.am * app/composite/make-installer.py: changed accordingly. * app/composite/gimp-composite-*-installer.c: regenerated. * libgimp/gimp.c (gimp_main): call gimp_set_use_cpu_accel().
34 lines
618 B
C
34 lines
618 B
C
/* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT */
|
|
/* REGENERATE BY USING make-installer.py */
|
|
#include "config.h"
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <glib-object.h>
|
|
#include "libgimpbase/gimpbase.h"
|
|
#include "base/base-types.h"
|
|
#include "gimp-composite.h"
|
|
|
|
#include "gimp-composite-altivec.h"
|
|
|
|
|
|
gboolean
|
|
gimp_composite_altivec_install (void)
|
|
{
|
|
/* nothing to do */
|
|
|
|
return (FALSE);
|
|
}
|
|
|
|
gboolean
|
|
gimp_composite_altivec_init (void)
|
|
{
|
|
#if defined(COMPILE_ALTIVEC_IS_OKAY)
|
|
if (gimp_cpu_accel_get_support () & GIMP_CPU_ACCEL_PPC_ALTIVEC)
|
|
{
|
|
return (TRUE);
|
|
}
|
|
#endif
|
|
|
|
return (FALSE);
|
|
}
|