2003-08-14 15:43:34 +08:00
|
|
|
#ifndef gimp_composite_vis_h
|
|
|
|
#define gimp_composite_vis_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
|
|
|
extern gboolean gimp_composite_vis_init (void);
|
2003-08-14 15:43:34 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The function gimp_composite_*_install() is defined in the code generated by make-install.py
|
|
|
|
* I hate to create a .h file just for that declaration, so I do it here (for now).
|
|
|
|
*/
|
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
|
|
|
extern gboolean gimp_composite_vis_install (void);
|
2003-08-14 15:43:34 +08:00
|
|
|
|
2004-07-20 23:59:12 +08:00
|
|
|
#if defined(USE_VIS)
|
|
|
|
#if defined(ARCH_SPARC)
|
|
|
|
#if __GNUC__ >= 3
|
|
|
|
#define COMPILE_VIS_IS_OKAY (1)
|
|
|
|
#endif /* __GNUC__ > 3 */
|
|
|
|
#endif /* defined(ARCH_SPARC) */
|
|
|
|
#endif /* defined(USE_VIS) */
|
|
|
|
|
2003-08-14 15:43:34 +08:00
|
|
|
#endif
|