1. 23 Oct, 2003 1 commit
    • Helvetix Victorinox's avatar
      Incorrectly reported the inverse of whether not the 3dNow instruction set · a7476d12
      Helvetix Victorinox authored
      * app/composite/gimp-composite-3dnow.c:
        Incorrectly reported the inverse of whether not the 3dNow instruction set is
      	supported by the current CPU.
      
      * app/composite/gimp-composite-{mmx,sse}.c:
        Removed linkage of gimp_composite_divide_*.  Something is
        inexplicably broken, and this will get people working again
        while I debug.  This should close bug #125101.
      a7476d12
  2. 14 Oct, 2003 1 commit
  3. 13 Oct, 2003 1 commit
  4. 12 Oct, 2003 2 commits
    • Sven Neumann's avatar
      fixed dependencies for test-config. · 350f9882
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am: fixed dependencies for test-config.
      
      	* app/config/gimpconfigwriter.[ch]: code cleanup and documentation.
      
      	* app/composite/gimp-composite-generic.[ch]: made prototype for
      	gimp_composite_color_any_any_any_generic() match the implementation.
      
      	* app/composite/gimp-composite.c: fixed some issues with the
      	comment templates.
      350f9882
    • Helvetix Victorinox's avatar
      app/composite/gimp-composite.h app/composite/gimp-composite-generic.h · 7b7b3c3f
      Helvetix Victorinox authored
      *	app/composite/gimp-composite.h
      * app/composite/gimp-composite-generic.h
      * app/composite/gimp-composite-regression.h: Reformatted to include
        argument names in function prototypes.
      
      * app/composite/gimp-composite.c
      * app/composite/gimp-composite-generic.c
      * app/composite/gimp-composite-regression.c: Added gtk-doc templates for functions.
      
      * 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
      7b7b3c3f
  5. 06 Oct, 2003 1 commit
    • Helvetix Victorinox's avatar
      migrated to new (trimmer) code and removed dead code. Some beautification · 7752bf9e
      Helvetix Victorinox authored
      
      * 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
      7752bf9e
  6. 18 Sep, 2003 1 commit
    • Sven Neumann's avatar
      cosmetics. · 8c34627a
      Sven Neumann authored
      2003-09-18  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite.[ch]: cosmetics.
      8c34627a
  7. 03 Sep, 2003 1 commit
    • Helvetix Victorinox's avatar
      Turn on SSE, SSE2, and 3dnow instruction sets. · 66dc3225
      Helvetix Victorinox authored
      * app/composite/gimp-composite.c (gimp_composite_init): Turn on
        SSE, SSE2, and 3dnow instruction sets.
      
      * app/paint-funcs/paint-funcs.c (initial_sub_region): Fixed
        uninitialised data in the special case for dissolve.
        This is the cause of Bug #121213.
      66dc3225
  8. 20 Aug, 2003 1 commit
    • Helvetix Victorinox's avatar
      Regenerated installers and testers. · 9d405b60
      Helvetix Victorinox authored
      * app/composite/: Regenerated installers and testers.
      
      * app/composite/make-install.py: increased tests of pixels to 1024*1024+1
      
      * app/composite/gimp-composite-mmx.c (gimp_composite_overlay_rgba8_rgba8_rgba_mmx):
        Backed out of the current build.  Although the unit tests all
        pass, the emperical evidence is that something is wrong with it.
      9d405b60
  9. 18 Aug, 2003 2 commits
    • Helvetix Victorinox's avatar
      Various beautifications, dead code removal, comment clean-up. · 4cae0f19
      Helvetix Victorinox authored
      * app/composite:
        Various beautifications, dead code removal, comment clean-up.
      4cae0f19
    • Helvetix Victorinox's avatar
      retired and removed. · 7d1f8a96
      Helvetix Victorinox authored
      * app/composite/gimp-composite-dispatch.[ch]: retired and removed.
      
      * app/composite/Makefile.am: The 'test' target now builds and runs
        all the tests in TESTS
      
        Fixed typos of mismatched parenthesis in 'regenerate' target
      
      * app/composite/Makefile.am: TESTS now include ss2 and 3dnow
        instruction sets.
      
      * app/composite/make-gimp-composite-dispatch.py: retired and removed.
      
      * app/composite/gimp-composite.c: call the installers of all the
        various instruction sets supplied by x86 type processors.
      
      * app/base/base.c (base_init): Call gimp_composite_init() *before*
        paint_funcs_setup() (preparation for retiring
        app/paint-funcs/paint-funcs.c)
      
      * app/composite/gimp-composite-sse2.[ch]
      * app/composite/gimp-composite-3dnow.[ch]
      * app/composite/gimp-composite-sse2-installer.c
      * app/composite/gimp-composite-3dnow-installer.c:
        Added
      
      * app/composite/make-installer.py: generate regression test
        programmes that take the command line arguments --iterations and
        --n-pixels for the number of iterations of a set of tests, and the
        number of pixels to use in each test, respectively.
      
        Conditionally compile tests in order to build and run tests on
        machines that can actually perform the tests.
      
        Failing a regression test now causes remaining tests to be
        skipped and a non-zero exit code by the programme.
      7d1f8a96
  10. 17 Aug, 2003 1 commit
  11. 14 Aug, 2003 1 commit
    • Helvetix Victorinox's avatar
      composite/ modularisation of the automatic compositing function "wiring" · 33e22c8f
      Helvetix Victorinox authored
      * composite/ modularisation of the automatic compositing function
        "wiring" to construct the table of compositing functions at
        run-time instead of compile time.
      
        The environment variable GIMP_COMPOSITE is a hexadecimal number
        representing a bit-field used to set/reset options in the
        gimp-composite code.
      
      * gimp-composite-altivec.[ch]: added
      * gimp-composite-altivec-installer.[ch]: added
      * gimp-composite-vis.[ch]: added
      * gimp-composite-vis-installer.[ch]: added
      * gimp-composite-mmx-installer.[ch]: added
      * gimp-composite-sse-installer.[ch]: added
      * gimp-composite-altivec-test.[ch]: added
      * gimp-composite-vis-test.[ch]: added
      * gimp-composite-mmx-test.[ch]: added
      * gimp-composite-sse-test.[ch]: added
      * make-installer.py: Added meta programme for generating code to
        1) construct a table of compositing functions indexed by
        operation, and the pixel formats of the sources and destination,
        and 2) generating code for regression testing of these compositing
        functions against the same functions in gimp-composite-generic.c
      
      * gimp-composite-mmx.c (xxxgimp_composite_overlay_rgba8_rgba8_rgba8_mmx):
        removing from the current set of optimisations because it appears
        to be broken.
      
      * Makefile.am: modified regression testing targets to now build
        gimp-composite-*-test where * is any of generic, mmx, sse,
        altivec, and vis.
      
      * gimp-composite.c: moved in initialisation code
        gimp_composite_init() from gimp-composite-dispatch.c
      
      * gimp-composite.c: removed gimp_composite_unsupported().
      
      * gimp-composite.c: use cpu_accel() to determine at run-time which
        set of optimisations are to be used.
      
      * gimp-composite.c: conditionally compile code for ARCH_X86.
      
      * make-gimp-composite-dispatch.c: retired.  See make-installer.py
      
      * gimp-composite-mmx.c (op_overlay): namespace cleanup, op_overlay()
        and all of the constant values are now static
      
      * gimp-composite-mmx.c, gimp-composite-sse.c: fixed bug with the
        alpha mask being the address of the alpha mask, not the mask
        itself.
      
      * app/paint-funcs/paint-funcs.c: Check gimp_composite_options.use
        to see if we should use the new code or the old code.
      33e22c8f
  12. 24 Jul, 2003 1 commit
    • Helvetix Victorinox's avatar
      regenerated new code taking advantage of simplified function prototypes. · d3fc41f0
      Helvetix Victorinox authored
      * app/composite/gimp-composite-dispatch.[ch]: regenerated new code
      taking advantage of simplified function prototypes.
      
      * app/composite/gimp-composite-test.c: New regression testing
      driver.  This file is automatically generated, but it's included
      in the cvs tree for expediency.
      
      * app/composite/ns.py: hopeful checks for which OS is currently
      running as a hint to what nm(1) is available.
      
      * app/composite/gimp-composite-mmx.[ch]
      * app/composite/gimp-composite-sse.[ch]
      * app/composite/gimp-composite-generic.[ch]: function prototype
      cleanup.
      
      * app/composite/make-gimp-composite-dispatch.py: generates code to
      test compositing functions.
      
      * app/composite/gimp-composite-regression.[ch]: support for
      automatically testing compositing functions.
      d3fc41f0
  13. 22 Jul, 2003 1 commit
  14. 21 Jul, 2003 1 commit
    • Helvetix Victorinox's avatar
      big code cleanup. · b31ae733
      Helvetix Victorinox authored
      * app/composite/make-gimp-composite-dispatch.py: big code cleanup.
      
      * app/composite/Makefile.am: removed references to $(builddir)
      
      * app/composite/test-composite.c: cleanup, preparation for transition to
      automatically generated regression testing code.
      
      * app/composite/gimp-composite.c: Clean up of typedef usage
      
      * app/composite/gimp-composite-regression.[ch]: added foundation
      for regression testing.
      b31ae733
  15. 18 Jul, 2003 1 commit
    • Helvetix Victorinox's avatar
      app/composite/gimp-composite.[ch], · 9e3bd947
      Helvetix Victorinox authored
      * app/composite/gimp-composite.[ch],
      * app/composite/make-gimp-composite-dispatch.py
      stubbed out the 32bit-per-channel pixel formats.
      
      * app/composite/gimp-composite-sse.[ch],
      * app/composite/Makefile.am
      Broke-out and added the SSE versions of the MMX code.
      
      * app/composite/gimp-composite.[ch],
      * app/paint-funcs/paint-funcs.c,
      * app/composite/make-gimp-composite-dispatch.py
      Use of the new gimp_composite code is now turned on via the
      environment variable GIMP_COMPOSITE with a non-zero value.  For
      example:
      % GIMP_COMPOSITE=1 gimp-1.3
      9e3bd947
  16. 13 Jul, 2003 1 commit
    • Helvetix Victorinox's avatar
      app/paint-funcs/Makefile.am include files from app/composite/ · 9d2b6396
      Helvetix Victorinox authored
      app/paint-funcs/paint-funcs.c stubbed out code for using
      gimp_composite.  To enable the use of gimp_composite, set the
      value of gimp_composite_use_old to 0 (zero).
      
      app/base/base.c calls gimp_composite_init() hook to initialse
      all the gimp_composite "stuff."
      
      app/composite/make-gimp-composite-dispatch.py now generates
      gimp-composite-dispatch.h
      
      app/composite/gimp-composite-dispatch.[ch] are in CVS although
      they are generated files.  This is preparation for building the
      table at run-time, instead of compile time.
      
      app/composite/gimp-composite.c doesn't #include the main
      dispatch table.  This is preparation for building the table at
      run-time, instead of compile time.
      
      app/composite/Makefile.am doesn't compile gimp-composite-mmx.c
      (until the various remaining gcc problems and configuration issues
      are worked out).
      9d2b6396
  17. 09 Jul, 2003 1 commit
    • Sven Neumann's avatar
      removed ... ... and readded under a new name. · 9bad7d21
      Sven Neumann authored
      2003-07-09  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/tester.c: removed ...
      	* app/composite/test-composite.c: ... and readded under a new name.
      
      	* app/composite/Makefile.am: added a check target that builds and
      	runs the test program.
      
      	* app/composite/gimp-composite-generic.c
      	* app/composite/gimp-composite-mmx.c
      	* app/composite/gimp-composite-util.h
      	* app/composite/gimp-composite.[ch]
      	* app/composite/make-gimp-composite-dispatch.py: made it fit
      	better into the GIMP source tree:
      	- do not include any files from headers
      	- don't use types from <sys/types.h> but use what glib provides
      	- coding style ...
      9bad7d21
  18. 08 Jul, 2003 2 commits