Commit Graph

1351 Commits

Author SHA1 Message Date
Carsten Haitzler 927519352b fix corner case for clippign where integer math rounds source widht to 0 where
it shoudl be 1.


SVN revision: 2465
2000-04-12 18:47:15 +00:00
Michael Jennings a621fc8a1f Added a function to retrieve the image filename, if it has one. It returns
a pointer to an internal string, so if you want to alter the filename, you
MUST strdup() it.


SVN revision: 2464
2000-04-11 23:34:59 +00:00
Carsten Haitzler 06825b3645 fix some blending cases
SVN revision: 2458
2000-04-10 21:50:23 +00:00
Carsten Haitzler 80bd308cd3 include updated comments
SVN revision: 2455
2000-04-10 18:26:57 +00:00
Carsten Haitzler 3def8d48d3 optimize mmx blending more.. uswed to do 15 million pixels/sec... now does 25
million per sec.. compared to the C (9million per sec) thats pretty good now


SVN revision: 2454
2000-04-10 18:12:40 +00:00
Tom Gilbert 5a8634780e Thought you could use a ChangeLog. I filtered it from muy cvs-commits-list
mbox, so bin it if you don't like =)


SVN revision: 2451
2000-04-09 00:05:20 +00:00
Carsten Haitzler c597161f3c fix spec file - dont buidl demos package
SVN revision: 2450
2000-04-08 21:06:17 +00:00
Carsten Haitzler cde535754f dont compile mmx data struct in if no mmx asm is used
SVN revision: 2449
2000-04-08 19:20:13 +00:00
Carsten Haitzler 60e39b1876 check for i686 artch and only then compile the mmx asm (i586 isnt guaranteed
to have mmx - NB libs built for mmx will NOt work on non mmx boxes right now
need to do a runtime chekc for that)


SVN revision: 2448
2000-04-08 19:15:48 +00:00
Carsten Haitzler 381cf576c5 add asm for blending.... this will break imlib2 right now for all platforms that
arent xz86 intel 9unless you rmove the asm form the makefile and blend.c


SVN revision: 2447
2000-04-08 18:45:18 +00:00
Carsten Haitzler 62782c973c now that was bad! fix update appending :)
SVN revision: 2446
2000-04-08 04:13:52 +00:00
Carsten Haitzler c502563a65 dont need that code no more
SVN revision: 2427
2000-04-05 03:56:26 +00:00
Carsten Haitzler 9714cd42d4 fix dither mask generation.. works again now.. use for icons to dnd
SVN revision: 2426
2000-04-05 01:34:05 +00:00
Carsten Haitzler a61c7169aa faster scaling up.......... :)
SVN revision: 2422
2000-04-03 22:38:00 +00:00
Carsten Haitzler c5f7de93db updates..... actually clip if only 1!
SVN revision: 2407
2000-04-02 20:42:41 +00:00
Carsten Haitzler 9d7ebb119d need new updates call.....
SVN revision: 2406
2000-04-02 20:31:40 +00:00
Carsten Haitzler 9caa5471b7 no more of that thanks
SVN revision: 2384
2000-03-30 03:28:56 +00:00
Carsten Haitzler a78ec3ab90 um ooops - how did that happen?
SVN revision: 2371
2000-03-29 02:57:28 +00:00
Carsten Haitzler dd9240debc optimize scalign down routine for RGBA as well as RGB...
SVN revision: 2369
2000-03-28 23:20:37 +00:00
Carsten Haitzler 0780bd87ac speedup scaling down....... but i cant seem to get any speedup for up scaling
SVN revision: 2367
2000-03-28 22:25:45 +00:00
Carsten Haitzler 87146f0a33 damn willem! you love playing with imlib2 don;t you? :-) good show :)
SVN revision: 2358
2000-03-28 18:09:46 +00:00
Carsten Haitzler 24cc517876 oopsa typo
SVN revision: 2349
2000-03-27 19:39:36 +00:00
Carsten Haitzler aeb8242972 nicer including of config.h
SVN revision: 2346
2000-03-27 19:20:28 +00:00
Carsten Haitzler e65ff79503 BGR56r & BGR555 support.......... please test if u have a display like this :)
SVN revision: 2345
2000-03-27 19:17:37 +00:00
Carsten Haitzler 904b9f7c61 ummmm fix dat.....
SVN revision: 2331
2000-03-26 00:35:43 +00:00
Carsten Haitzler bde5637a51 fix endianes problems..... works now on sparc solaris nicely.. :)
SVN revision: 2330
2000-03-26 00:10:45 +00:00
Carsten Haitzler bdafe05ca0 rotate speedups - rend bugfix... wheeeeeee
SVN revision: 2316
2000-03-24 19:06:01 +00:00
Carsten Haitzler 2c226c4ae2 oops - missed modfifying colros there.. :)
SVN revision: 2315
2000-03-24 19:03:24 +00:00
Carsten Haitzler 2841de3a2d optmize.. fix endianess stuff... :)
SVN revision: 2302
2000-03-22 22:26:58 +00:00
Carsten Haitzler 2e97f2795c fix cmod.......
SVN revision: 2289
2000-03-21 09:38:39 +00:00
Carsten Haitzler 2ea81ec460 I'm back....... :)
SVN revision: 2282
2000-03-19 22:53:42 +00:00
Tom Gilbert 3511852647 Partial loader_tiff rewrite from Eric Dorland. Much nicer :)
SVN revision: 2280
2000-03-18 23:45:46 +00:00
Tom Gilbert 16db68949a Bite me =P
SVN revision: 2275
2000-03-18 14:26:12 +00:00
Tom Gilbert 351cb98ab2 Okay. The loader list is now trimmed. Where it would previously contain:
argb.a   bmp.a   gif.a   jpeg.a   png.a   pnm.a   tiff.a
argb.la  bmp.la  gif.la  jpeg.la  png.la  pnm.la  tiff.la
argb.so  bmp.so  gif.so  jpeg.so  png.so  pnm.so  tiff.so

It now contains:
argb
bmp
gif
jpeg
png
pnm
tiff

lt_dlopen knows how to do the Right Thing with these, trying first the .la,
then the .so. Now the loaders are each tried once per image (if none of them
manage to load it).

Added the following functions to achieve this:
char            **__imlib_TrimLoaderList(char **list, int *num);
int               __imlib_LoaderInList(char **list, int size, char *item);


SVN revision: 2273
2000-03-18 13:56:29 +00:00
Tom Gilbert b3ee92cc9a Leak plugged. Thanks Eric :)
SVN revision: 2272
2000-03-18 13:07:52 +00:00
Tom Gilbert 0078baf7d1 nothing major
SVN revision: 2269
2000-03-18 04:43:47 +00:00
Tom Gilbert 8cb92acb78 Removed a crufty bit.
SVN revision: 2268
2000-03-18 04:12:23 +00:00
Tom Gilbert 131c7e9857 AARGH. Godamn file decriptor leak which has been driving me CRAZY for a
WEEK! Got the BASTARD. DIE!

(what complicated matters was that it only leaked on when it *couldn't* load
the image).

Please note. there is also a filedes leak in the tiff loader, also when it
fails to load. I haven't been able to fix this yet, because libtiff sucks
ass and has totally encapsulated the file descriptor. Lemme work on it
tomorrow...


SVN revision: 2267
2000-03-18 03:37:54 +00:00
Tom Gilbert 1a27dca950 shaddup ;)
SVN revision: 2264
2000-03-18 01:20:55 +00:00
Tom Gilbert 58c86280d4 Shaddup ;)
SVN revision: 2255
2000-03-17 20:54:19 +00:00
Michael Jennings fba6b6a4f8 Murple.
SVN revision: 2211
2000-03-08 20:01:31 +00:00
Michael Jennings 9a8db62f5c BMP loader fix for progressive loading from Chutt.
SVN revision: 2210
2000-03-08 16:20:06 +00:00
Michael Jennings d92c9b90bf Keep raster happy.
SVN revision: 2209
2000-03-08 06:11:04 +00:00
Michael Jennings b2e083789a BMP loader from Isaac Richards <ijr@po.cwru.edu>. It currently has issues
with progressive loading, so don't use it with feh. :-)


SVN revision: 2208
2000-03-08 06:08:29 +00:00
Michael Jennings 2685159452 TIFF loader from Eric Dorland <dorland@lords.com>.
SVN revision: 2207
2000-03-08 04:05:01 +00:00
Laurence J. Lane 35555154fc stuff
SVN revision: 2206
2000-03-08 01:58:06 +00:00
Laurence J. Lane d7cb48bf09 removed dh_testversion
SVN revision: 2202
2000-03-07 22:39:28 +00:00
Laurence J. Lane 5f88752f84 stuff
SVN revision: 2194
2000-03-07 17:16:03 +00:00
Carsten Haitzler 4b460be3b6 get context patch from tom......
SVN revision: 2179
2000-03-04 02:45:08 +00:00
Carsten Haitzler d389ffe21e poatch main.c - but rottest doesnt work.. must fix later
SVN revision: 2176
2000-03-03 17:24:46 +00:00