mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 13:01:42 +00:00
7752bf9eef
* 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
52 lines
1.4 KiB
C
52 lines
1.4 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* -*- mode: c tab-width: 2; c-basic-indent: 2; indent-tabs-mode: nil -*-
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Gimp image compositing
|
|
* Copyright (C) 2003 Helvetix Victorinox, a pseudonym, <helvetix@gimp.org>
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include "base/base-types.h"
|
|
|
|
#include "gimp-composite.h"
|
|
#include "gimp-composite-vis.h"
|
|
|
|
#if defined(USE_VIS)
|
|
#if defined(ARCH_SPARC)
|
|
#if __GNUC__ >= 3
|
|
|
|
#endif /* __GNUC__ > 3 */
|
|
#endif /* defined(ARCH_SPARC) */
|
|
#endif /* defined(USE_VIS) */
|
|
|
|
gboolean
|
|
gimp_composite_vis_init (void)
|
|
{
|
|
#ifdef ARCH_SPARC
|
|
return (TRUE);
|
|
#else
|
|
return (FALSE);
|
|
#endif
|
|
}
|