2003-08-14 15:43:34 +08:00
|
|
|
/* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT */
|
2003-08-15 12:31:18 +08:00
|
|
|
/* REGENERATE BY USING make-installer.py */
|
2003-08-14 15:43:34 +08:00
|
|
|
#include "config.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
2006-06-02 17:58:03 +08:00
|
|
|
#include <glib-object.h>
|
|
|
|
#include "libgimpbase/gimpbase.h"
|
2003-08-14 15:43:34 +08:00
|
|
|
#include "base/base-types.h"
|
|
|
|
#include "gimp-composite.h"
|
|
|
|
|
|
|
|
#include "gimp-composite-altivec.h"
|
|
|
|
|
|
|
|
|
migrated to new (trimmer) code and removed dead code. Some beautification
* app/composite/make-install.py: migrated to new (trimmer) code and
removed dead code. Some beautification for generated code.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
All init() functions are also a run-time check and now expected to
return TRUE/FALSE if the particular set of compositing functions can
be used.
* app/composite/gimp-composite.c: No longer has to determine if
the particular set of compositing functions can be used.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
Regenerated
* app/composite/test-composite.c: Deprecated, removed. All tests are automatically
generated and the code is in app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:
* app/composite/Makefile.am: removed unused references to test-composite.c
2003-10-06 10:46:15 +08:00
|
|
|
gboolean
|
2003-08-14 15:43:34 +08:00
|
|
|
gimp_composite_altivec_install (void)
|
|
|
|
{
|
2006-06-02 17:58:03 +08:00
|
|
|
/* nothing to do */
|
2003-08-14 15:43:34 +08:00
|
|
|
|
migrated to new (trimmer) code and removed dead code. Some beautification
* app/composite/make-install.py: migrated to new (trimmer) code and
removed dead code. Some beautification for generated code.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
All init() functions are also a run-time check and now expected to
return TRUE/FALSE if the particular set of compositing functions can
be used.
* app/composite/gimp-composite.c: No longer has to determine if
the particular set of compositing functions can be used.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
Regenerated
* app/composite/test-composite.c: Deprecated, removed. All tests are automatically
generated and the code is in app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:
* app/composite/Makefile.am: removed unused references to test-composite.c
2003-10-06 10:46:15 +08:00
|
|
|
return (FALSE);
|
2003-08-14 15:43:34 +08:00
|
|
|
}
|
2005-08-01 12:45:34 +08:00
|
|
|
|
|
|
|
gboolean
|
|
|
|
gimp_composite_altivec_init (void)
|
|
|
|
{
|
|
|
|
#if defined(COMPILE_ALTIVEC_IS_OKAY)
|
2006-06-02 17:58:03 +08:00
|
|
|
if (gimp_cpu_accel_get_support () & GIMP_CPU_ACCEL_PPC_ALTIVEC)
|
2005-08-01 12:45:34 +08:00
|
|
|
{
|
|
|
|
return (TRUE);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
return (FALSE);
|
|
|
|
}
|