Commit Graph

341 Commits

Author SHA1 Message Date
Chris Ross f4eaa25fa7 Start of a filter test app, and applied Willem's patch for imlib2. thanks
Willem.


SVN revision: 2731
2000-05-30 22:10:01 +00:00
Chris Ross 7e456edad8 blum.
SVN revision: 2727
2000-05-29 15:46:36 +00:00
Chris Ross 1cf642a3f2 blum. fixed "error" on first install type bug in the dox tree.
SVN revision: 2726
2000-05-29 15:41:00 +00:00
Michael Jennings 81a8709050 It's always a good idea to "make distcheck" before you commit when you add
or remove files. :-)

I fixed that.  I also fixed a bug in filter_test that would have been
revealed by the proper warnings flags.  So whoever wrote that wins the
raster boobie prize for allowing a non-void function to return without a
value.

I also made the spec file auto-generated.


SVN revision: 2719
2000-05-28 16:57:22 +00:00
Chris Ross 32616cd45d blu7m.
SVN revision: 2718
2000-05-28 16:04:43 +00:00
Chris Ross 5c5e842517 More changes. Still doesn't do anything.
SVN revision: 2717
2000-05-28 15:33:58 +00:00
Chris Ross 28b3445f1a Ok, some more clean ups to the filter stuff, should have some new filters to
play with soon - want to get the stuff correct before I commit some more
stuff. dox is the start of dox2 the document viewer based on imlib2. Designed
so that the style of the docs is seperate from the contents. Will evolve
rapdily over the next week.


SVN revision: 2716
2000-05-28 15:17:38 +00:00
Tom Gilbert 8deb1b493e Default x,y to 0 and w, h to image dimensions, so if you don't specify, the
filter applies to the whole image.


SVN revision: 2715
2000-05-28 11:17:27 +00:00
Tom Gilbert 180e91cc1d SHUT YOUR HOLE CVS BITCH!
SVN revision: 2691
2000-05-22 17:26:11 +00:00
Chris Ross e67e249949 Clean up of code, all macros for filter_param -> real varaible are put in
script.h. Changed filters to reflect this change, and actually plan on writing
some more macors and filters soon.


SVN revision: 2689
2000-05-22 11:41:40 +00:00
Chris Ross 2588c903da * forgot to mention that i've added an option to test/imlib2
-bmp2pt add this too it's command line and it'll bump map to where the
           cursor is.

  otherwise you will just get bump mapping from an infinite dist lightsource


SVN revision: 2687
2000-05-22 03:25:24 +00:00
Chris Ross bd5836823e * rewrite of the script parser, basically you can now parser a filter as a
variable to another filter as willem requested the other day.
  eg.
    filter( var=anotherfilter( var=13,var=30 ), var=blum );

  youcan have as manylevels of filters as you want.

* parser should be quicker, no need to add "NULL" to the end of a
  imlib_apply_filter() command.

* some more funky filters should be added soon, at 4.45am i decided to leave
  that job till t/m.


SVN revision: 2686
2000-05-22 03:23:03 +00:00
Chris Ross 431278a13c Added Willem patch for the bump map filter, now does proper bump mapping from
an infinet light source. Needs to be optimsed further - lookup tables or
some such..... thats for another day.


SVN revision: 2683
2000-05-21 19:20:53 +00:00
Chris Ross 0a32e88438 Gah, turn off debug mode, and comment out necessary blurb...
SVN revision: 2678
2000-05-21 00:21:58 +00:00
Chris Ross c200ced976 * modifed the script engine, instead of three passes i've nobbled it down to
one, this means the bump_mapped pr0n will now render a coupla degree's faster
 (gilbertt this is for you, and those pictures of pabs' mom)
* Update Imlib2.h and api.c to reflect changes

ps. on the road to the next gen script interpreter


SVN revision: 2677
2000-05-21 00:04:39 +00:00
Chris Ross b6409d23fa One fricken character. Freetype 1.2, not 1.1
SVN revision: 2676
2000-05-20 23:10:38 +00:00
Chris Ross f4b4a3feb6 * Stuff from term, fixes some rpm build issues with imlib_view
SVN revision: 2675
2000-05-20 23:01:11 +00:00
Chris Ross 2e5728f366 * Changed some of the methods to stop furutre name conflicts
* Added Willems patch for bump mapping -very vey cool, check out
  test/imllib2
* Died due to excess excitement over bump mapping


SVN revision: 2674
2000-05-20 22:33:14 +00:00
Carsten Haitzler caa073ee7b bowis's filter stuff... :)
SVN revision: 2673
2000-05-20 17:37:00 +00:00
Carsten Haitzler e28f0b22e3 fix tga loader....... :)
SVN revision: 2670
2000-05-19 17:36:48 +00:00
Carsten Haitzler 7ccc965fcb add headre checking.....
SVN revision: 2669
2000-05-19 16:41:38 +00:00
Carsten Haitzler ef82633774 oosp parse better :)
SVN revision: 2668
2000-05-19 05:53:24 +00:00
Carsten Haitzler 74d92aade5 got rid of X calls in loader - no XParseColor
SVN revision: 2667
2000-05-19 05:45:02 +00:00
Carsten Haitzler 589473593b oops - forgot to commit that :)
SVN revision: 2656
2000-05-16 18:17:48 +00:00
Christian Kreibich d96e92ae91 4:31 am. Oh my.
SVN revision: 2655
2000-05-16 02:11:25 +00:00
Christian Kreibich 3e6c0a5018 Raster,
here's my humble attempt of an xpm loader, based on Imlib1 code. Seems
to work fine on the xpms I found on my box. I'm not sure if the
progressive stuff is feasible, though :o) ...


SVN revision: 2654
2000-05-16 02:10:38 +00:00
Carsten Haitzler 74af24a8ed OS2 pacthes make imlib2 build on os/2 apparently :)
SVN revision: 2653
2000-05-15 23:18:35 +00:00
Carsten Haitzler f31a31581d add tga loader - thanks dan :)
SVN revision: 2652
2000-05-15 22:46:36 +00:00
Carsten Haitzler 9e55f36473 gawwwwwwwwwd - oops th = h not th = w; :)
SVN revision: 2649
2000-05-14 19:15:51 +00:00
Carsten Haitzler 00c6064e79 use willems math... :)
SVN revision: 2632
2000-05-12 19:15:03 +00:00
Carsten Haitzler 095afe1c6c spec file up...
SVN revision: 2628
2000-05-12 01:19:32 +00:00
Carsten Haitzler dd38114d7f up to 0.0.5
SVN revision: 2627
2000-05-12 01:19:06 +00:00
Carsten Haitzler e55dc05d0b blend.c - RGBA destination works -and its optimized.. just a lookup..
SVN revision: 2626
2000-05-12 01:16:42 +00:00
Mandrake 53a383bf4b heh. not actually using configure option for mmx disabling correctly
SVN revision: 2624
2000-05-11 19:24:32 +00:00
Carsten Haitzler cce0e519cf the RIGHT math for RGBA->RGBA ops... :) not optmized at all tho :)
SVN revision: 2623
2000-05-11 07:25:18 +00:00
Carsten Haitzler 91416b3c2f get rid of unused flsuh func, cleanup rects properly for case of 1 rect
SVN revision: 2617
2000-05-09 18:30:52 +00:00
Tom Gilbert ea2371b206 This is weird. I'm sure I added the prototypes for these context_get_*
functions to Imlib2.h before... Yet they aren't there.... Hrm...


SVN revision: 2616
2000-05-09 17:26:30 +00:00
Peter Kjellerstedt 2b07e950ce Corrected a typo.
SVN revision: 2614
2000-05-09 07:50:43 +00:00
Carsten Haitzler 1679cca791 fixzed C code for ALPHA destination.. ok NOW its got it right... havent done
asm code though... MAY need to optimize C code math for alpha dest.


SVN revision: 2613
2000-05-08 23:20:11 +00:00
Peter Kjellerstedt 4c35ac5beb Removed this generated file from CVS (again).
SVN revision: 2609
2000-05-08 16:41:43 +00:00
Carsten Haitzler 306060052c build dither table for masks alwasy... even in depths > 16
SVN revision: 2606
2000-05-06 19:37:23 +00:00
Carsten Haitzler 01d14d7867 asm for colormod ops......... :)
SVN revision: 2600
2000-05-05 16:28:39 +00:00
Carsten Haitzler 15ff380285 aha! trying to free null pointers? NO NO NO - bad boy!
SVN revision: 2596
2000-05-04 16:32:58 +00:00
Carsten Haitzler 2fbc8d2424 allow for flipping whilst scaling and rendering... :)
SVN revision: 2589
2000-05-02 17:33:23 +00:00
Carsten Haitzler 2676818732 write text at any angle............... :) patches form willem again :)
SVN revision: 2583
2000-04-30 19:15:12 +00:00
Carsten Haitzler 714e25d1d5 add -help patch and also fill in some options
SVN revision: 2572
2000-04-28 17:42:49 +00:00
Laurence J. Lane 776e40a31d added patch by David N. Welton to cleanup configure handling
Thanks, David.


SVN revision: 2562
2000-04-27 16:14:21 +00:00
Tom Gilbert 1f9025dd97 Thu Apr 27 13:43:49 GMT 2000
(gilbertt)

Actually, made the gif loader give back what it's got without changing im->h
to reflect, or reallocing the image data. The reason for this is that it
already told apps what the image size was in the first progressive loader
callback, and changing it afterwards can cause confusion. Also, an app can
still handle/display a half-loaded image, as the rest is just filled black,
and the programmer knows how much of the image he got, 'cos he interrupted
it from the callback. If the programmer wants to trim the image, he knows
where to trim it, but if he/she wants to display a part-loaded image,
that'll work sanely.

I think this is more sane behaviour, having tested it in feh and
imlib2_view, but feel free to disagree ;-)


SVN revision: 2561
2000-04-27 12:37:20 +00:00
Tom Gilbert be906e1416 Thu Apr 27 13:41:11 GMT 2000
(gilbertt)

Free up some RAM and close the filehandle when interrupted.


SVN revision: 2560
2000-04-27 12:27:51 +00:00
Carsten Haitzler 2f077c4835 handle infinite loop for tile if scalign down to 1x1)
SVN revision: 2559
2000-04-27 07:51:25 +00:00