Commit Graph

426 Commits

Author SHA1 Message Date
Carsten Haitzler 87af70ceef fix unpremul - broken :(
SVN revision: 26288
2006-10-02 05:19:39 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
Carsten Haitzler a65d40c050 avoid loading all loaders if file doesn't exist
SVN revision: 25962
2006-09-18 14:51:48 +00:00
Carsten Haitzler 3115a52684 and i implemented module UNLOADING. given enough cycles of non-use of a
module and no references, it will get.... UNLOADED :)


SVN revision: 25954
2006-09-18 09:40:29 +00:00
Carsten Haitzler c3fde12000 a few patches from emails. :) emails will be coming.. when i flush my mush.
SVN revision: 25533
2006-09-06 12:09:53 +00:00
sebastid e55f7b27b2 Functions used by modules must be EAPI
SVN revision: 25526
2006-09-06 07:33:40 +00:00
sebastid cabfc4a09a Remove unused variables.
SVN revision: 24991
2006-08-21 15:19:07 +00:00
Carsten Haitzler 6ca2a14020 use already loaded var :)
SVN revision: 24937
2006-08-20 14:51:10 +00:00
Carsten Haitzler d5a131c924 fix caching to account for load options
SVN revision: 24890
2006-08-19 00:22:02 +00:00
Carsten Haitzler 7899758192 guess svgz faster too
SVN revision: 24871
2006-08-18 14:54:24 +00:00
Carsten Haitzler 0889c589f2 added the ability to set load scaledown, dpi or load size - the svg loader
uses these to know what to render and how (or has defaults if these are not
set)


SVN revision: 24868
2006-08-18 14:45:26 +00:00
Carsten Haitzler 08e2c38474 jose's svg loader - in. needs the ability to set dpi etc. etc. - loader api
work and evas api work there.


SVN revision: 24830
2006-08-17 14:11:59 +00:00
Carsten Haitzler 48b81d3bfa remove printf
SVN revision: 24687
2006-08-14 13:56:18 +00:00
Carsten Haitzler 7f41aeb177 fix some warnings!
SVN revision: 24599
2006-08-12 14:46:15 +00:00
Carsten Haitzler 21896dc50d jose's xpm loader.
SVN revision: 24579
2006-08-12 09:16:30 +00:00
rephorm a9ff065c01 i assume this was meant as an optimization. however, it wasn't correct for some cases (e.g. rgb = 187, 169, 123)
SVN revision: 24465
2006-08-08 06:01:37 +00:00
sebastid e3be454d46 Can someone who knows this code fix this?
SVN revision: 24413
2006-08-06 01:27:22 +00:00
ningerso d85048c93f Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.


SVN revision: 24387
2006-08-04 10:00:50 +00:00
Carsten Haitzler 4cedfd95b9 way too many freetype headers are wrong - dont rely on them. :(
SVN revision: 23688
2006-07-03 09:09:06 +00:00
Carsten Haitzler d7eee7eee6 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid a17c875ddc Add const.
Remove unused variables.


SVN revision: 23027
2006-05-31 18:33:46 +00:00
David Walter Seikel e54d244e28 .cvsignore++
SVN revision: 22808
2006-05-21 13:20:02 +00:00
moom f4c549c9f6 * Move the optimizations of Jose for the hsv/rgb conversion functions to Evas
SVN revision: 22790
2006-05-21 09:43:58 +00:00
moom 24b32bd7d4 * Fix hsv-->rgb conversion if h=360.0
SVN revision: 22677
2006-05-17 22:11:46 +00:00
Carsten Haitzler cbeeae7f14 fix segv's in simple line draws
SVN revision: 22642
2006-05-16 08:52:05 +00:00
Carsten Haitzler 1b3c1fb791 really simple fix for aa line draws.
SVN revision: 22639
2006-05-16 07:38:18 +00:00
Carsten Haitzler ea998ce647 gl engine fixes patch from jose, and fix non mmx/sse system build
SVN revision: 22456
2006-05-04 11:52:46 +00:00
Carsten Haitzler 77e35d60a3 jose's software rendering work - slight improvements (about 5-10%). i had to
disable destination alha mmx support for text rendering (mask + color) as it
was broken in tests.


SVN revision: 22440
2006-05-02 07:28:49 +00:00
doursse 5e8ccae68a oups
SVN revision: 22324
2006-04-23 15:40:33 +00:00
doursse fd14218f04 fix a leak in xcb eng sfw (it remains one, but I don't see where it comes from). Update the xrender one. Don't use them yet (but who uses them ??), because it relies on fix of xcb that are in my hd
SVN revision: 22323
2006-04-23 15:38:23 +00:00
Stafford Mitchell Horne 88edaa2e02 Add font charmap caching
* TODO: store cache on disc, for faster cache loading (this requires EET to support arrays)


SVN revision: 22294
2006-04-22 11:08:01 +00:00
Carsten Haitzler 3b3b836125 fix edge interpolation for images with xrender and a segv for font rendering
if multiple engines dont agree on ext data for fonts


SVN revision: 22173
2006-04-17 01:57:11 +00:00
Stafford Mitchell Horne f0b6819b6b Make sure to finish initializing sourced fonts
SVN revision: 21968
2006-04-09 02:36:03 +00:00
Stafford Mitchell Horne 8f207f622f Evas on-demand font loading
* When fonts are added from files we will only load the details
 * The first font is always loaded
 * I know there is a patch for this on the list but this way seems better to me


SVN revision: 21964
2006-04-09 00:02:47 +00:00
stffrdhrn a14f932770 Dont crash on pcf fonts
* for pcf fonts EM square is 0 and ascent and descent are 0
 * TODO: get these things to render correctly


SVN revision: 21404
2006-03-19 10:50:33 +00:00
stffrdhrn ec8cd4cc08 Add fontconfig to evas for finding fonts
* This can be disabled with --enable-fontconfig=no
 * Test in e17 with "enlightenment_remote -font-default-set title_bar Serif 12"
 * This is just the beginning: TODO: style searching, language reorder bypass


SVN revision: 21394
2006-03-19 04:29:57 +00:00
Carsten Haitzler f51753a4b8 rehinting works on the fly now
SVN revision: 20858
2006-03-01 03:48:03 +00:00
Carsten Haitzler 7ee17d1174 oops - yeah. watch the ptr.
SVN revision: 20830
2006-02-27 15:40:46 +00:00
stffrdhrn 436fcc1c36 FIXME: what do you do when fi is NULL?
* hint, don't SEGV.


SVN revision: 20824
2006-02-27 14:52:36 +00:00
Carsten Haitzler 10d6748b56 evas lets you choose font hinting - in theory. :)
SVN revision: 20823
2006-02-27 14:03:27 +00:00
Carsten Haitzler 852c800117 smaller buf for sse test (was too big anyway) and mmx2 is prettry much sse :)
SVN revision: 20130
2006-01-31 01:13:51 +00:00
Carsten Haitzler 18d01b7d4a sse detect b0rken. fix.
SVN revision: 20035
2006-01-26 04:44:58 +00:00
Carsten Haitzler 07e7927004 1. buffer test really wqasnt being very fair - time to be fair.
2. be able to skip a copy in certain cases when scaling - should improve
speed in several situations - evas is defintiely not optimal :)


SVN revision: 19983
2006-01-23 07:57:30 +00:00
Carsten Haitzler 22eee9acc5 oops - missed fixup of end ptr. :)
SVN revision: 19957
2006-01-22 10:48:51 +00:00
Carsten Haitzler 1adf40fbb5 actually use the sse routines!
SVN revision: 19955
2006-01-22 06:54:18 +00:00
Carsten Haitzler 82742c35f2 clean up new modular build to link to the right things, in the right way,
remove usleess extra linkage etc.


SVN revision: 19865
2006-01-17 03:47:40 +00:00
Carsten Haitzler 4cf493dea3 remove cvs ignores!
SVN revision: 19863
2006-01-17 03:38:25 +00:00
David Walter Seikel 35a90b012e Nothing to see here folks.
SVN revision: 19846
2006-01-16 03:43:30 +00:00
doursse 7252101aa3 remove printfs
SVN revision: 19829
2006-01-15 10:44:48 +00:00
Carsten Haitzler 3a301b885b empty buf first
SVN revision: 19827
2006-01-15 10:37:03 +00:00
doursse 4a56b2ee6e and now the savers...
SVN revision: 19826
2006-01-15 10:35:02 +00:00
Carsten Haitzler 1ba4131a15 bad buf strlen--
SVN revision: 19816
2006-01-15 07:07:28 +00:00
Carsten Haitzler 87d56a63ad most oops - dont strlen that buf!
SVN revision: 19815
2006-01-15 07:01:15 +00:00
Carsten Haitzler d410036b81 removes some unused struct members (should remove more though) and fixes up
modular loaders


SVN revision: 19814
2006-01-15 06:21:05 +00:00
Carsten Haitzler 155364de9c ok - now support a first try guess based on extension - if that fails, or the
extension is unknown to match a format, try all image loader modules until
one succeeds - if all of these fail, give up.


SVN revision: 19812
2006-01-15 05:04:32 +00:00
Carsten Haitzler d8768ab0ab temporary fix.
SVN revision: 19811
2006-01-15 04:49:46 +00:00
doursse 6357a06396 loaders are now modules
SVN revision: 19805
2006-01-14 20:03:42 +00:00
Carsten Haitzler f435375b19 initial import fo loadable engine modules for evas - from jorge zappie :)
SVN revision: 19775
2006-01-14 12:13:38 +00:00
doursse 69c939d1a4 fix for the hidden symbols for those who want to test the xcb engine ;)
SVN revision: 19651
2006-01-08 13:21:03 +00:00
doursse 22e5ad7951 fix warning
SVN revision: 19640
2006-01-08 09:46:41 +00:00
sebastid bca26535dd Fix compiler warnings.
SVN revision: 19580
2006-01-06 23:13:16 +00:00
Carsten Haitzler 82a7db1987 fix segv with bad input data
SVN revision: 19138
2005-12-19 03:11:39 +00:00
doursse 520ca1ff13 iteration fixes
SVN revision: 19111
2005-12-18 11:49:28 +00:00
doursse 7a6855c42f fix memory leaks and update to new XCB API
SVN revision: 19110
2005-12-18 11:25:09 +00:00
Carsten Haitzler a0ceee8b51 i have to back out all of jose's blend changes - musch faster than
debugging/fixing and likely int he end the exact same result of fixing them.
yes - we lose performance - but it actually is correct now :) if we want to
do such radical changes- i sugegst moving to premultiplied alpha and makign a
tonne of externally tested routines in a test harness first to compare
correctness and speed in an isolated environment.


SVN revision: 18947
2005-12-11 04:55:20 +00:00
Carsten Haitzler 35ef5579d4 better style (more files to look at though)
SVN revision: 18928
2005-12-10 04:40:53 +00:00
Carsten Haitzler e029265a03 1. good segv catch by whereami.
2. style cleanup from jose's patches


SVN revision: 18920
2005-12-09 08:41:38 +00:00
Carsten Haitzler 8873290ea8 use the right symbol
SVN revision: 18825
2005-12-04 12:37:50 +00:00
Carsten Haitzler 93630a29ff gl patch - build.
SVN revision: 18819
2005-12-04 05:02:24 +00:00
Carsten Haitzler 1b272aec90 joses's gradient work - gradient look nice. one problem jose.. USE BRACKETS!
do NOT depend on order operation precedence. it broke scaling. laos other
completely bizarre mmx things were going wrong with mm7 ending up not 0 so
i've had to force it to be 0.


SVN revision: 18811
2005-12-03 09:27:53 +00:00
Carsten Haitzler 1406d86f53 oops fix stringshare conversion bug.
SVN revision: 18777
2005-12-02 03:15:08 +00:00
Carsten Haitzler 3621124677 stringshare works! :)
SVN revision: 18724
2005-11-30 08:45:20 +00:00
tsauerbeck 594ad62182 free image cache on shutdown
SVN revision: 18703
2005-11-29 11:46:20 +00:00
Carsten Haitzler 7ea7bdf610 disable stringshare... something fishy.
SVN revision: 18698
2005-11-29 09:02:51 +00:00
Carsten Haitzler aaf6e303bd use stringshare. saves a few hundred allocs... if we start doing lots of text
:)


SVN revision: 18679
2005-11-28 15:18:01 +00:00
Carsten Haitzler 6197f4b476 dont allocate 0 buf
SVN revision: 18678
2005-11-28 11:13:29 +00:00
Carsten Haitzler a5695df284 reduce a few more alloc counts by merging
SVN revision: 18643
2005-11-26 05:24:25 +00:00
Carsten Haitzler 59bbe6cf2d move pow lut table to read only shared memory
SVN revision: 18628
2005-11-24 04:40:14 +00:00
Carsten Haitzler ebbe8f1267 ok - freetype does WEIRD shit setting grays to bizarre values so now i have
toformat AND grays levels.


SVN revision: 18500
2005-11-16 13:17:27 +00:00
Carsten Haitzler a6a2c2f257 add the file to cvs
SVN revision: 18426
2005-11-11 07:56:10 +00:00
Carsten Haitzler 6f24506e8b 1. diable a bunch of engines from auto-detecting stuff. you have to manually
--enable gl, qtopia and directfb enigines - they are either incomplete, buggy
or simply used so little that its not worth building unless the user REALLY
wants the support.


SVN revision: 18424
2005-11-11 06:09:46 +00:00
Carsten Haitzler 1adc740b38 fix leakies
SVN revision: 18332
2005-11-06 05:44:10 +00:00
Carsten Haitzler 9c038ac573 dont lose context pointer
SVN revision: 18331
2005-11-06 05:29:47 +00:00
Carsten Haitzler 34a58f38e0 linux ppc altivec patches - and some tiler speedusp while i was hunting a non-bug
SVN revision: 18122
2005-10-30 03:03:53 +00:00
sebastid 2cede9353e Clean warnings.
SVN revision: 17992
2005-10-26 20:32:27 +00:00
sebastid b8955065e6 Don't return value in void func.
SVN revision: 17990
2005-10-26 20:20:53 +00:00
sebastid 6aafd9e493 Clean warnings.
SVN revision: 17989
2005-10-26 20:19:42 +00:00
tsauerbeck f7b38107de some warning fixes
SVN revision: 17600
2005-10-16 09:34:35 +00:00
Mike Frysinger 4a0f9b61c5 include altivec.h if we have it
SVN revision: 17491
2005-10-13 02:38:31 +00:00
Mike Frysinger db7746fa21 fix whitespacing
SVN revision: 17483
2005-10-13 02:09:03 +00:00
Carsten Haitzler dc389abd64 use best filter - :)
SVN revision: 17337
2005-10-09 03:07:44 +00:00
Carsten Haitzler d40fe99719 fix segv in shared data chunks
SVN revision: 17336
2005-10-09 02:06:52 +00:00
Carsten Haitzler 97f6242fca handle shm addr return right
SVN revision: 17325
2005-10-08 14:59:45 +00:00
Carsten Haitzler 2032d7e213 remove diplucate pixemaps!
SVN revision: 17321
2005-10-08 14:16:03 +00:00
tsauerbeck a58a32b326 oops, use the correct type
SVN revision: 17313
2005-10-08 10:16:17 +00:00
tsauerbeck a8f25d2c81 ummm, how did that happen? fix evas_common_convert_rgba_to_24bpp_rgb_888
SVN revision: 17312
2005-10-08 10:13:43 +00:00
tsauerbeck cc9c9b8997 code cleanup
SVN revision: 17311
2005-10-08 10:10:09 +00:00
tsauerbeck 63169a9701 fix printf call
SVN revision: 17310
2005-10-08 09:59:03 +00:00
Carsten Haitzler 8b128c4213 playing with gl engine :)
SVN revision: 17308
2005-10-08 06:22:43 +00:00
Carsten Haitzler ce8bf6b723 support clipouts in xrender engine
SVN revision: 17305
2005-10-08 04:57:57 +00:00
sebastid 24b41284ec Use image api right.
SVN revision: 17266
2005-10-07 08:35:02 +00:00
Carsten Haitzler 49a0fde26c and no dither and ca there too
SVN revision: 17236
2005-10-06 10:18:06 +00:00
Carsten Haitzler 4e78236719 turn off dither and component alpha
SVN revision: 17235
2005-10-06 09:53:10 +00:00
Carsten Haitzler a1ace2305f endianess fix
SVN revision: 17230
2005-10-06 04:18:52 +00:00
Carsten Haitzler e08ff34ee1 was playing with ansiotropic filtering - with mipmap stuff it looks nicer.
stillnot perfect. xrender engine detects "same source data pointer" and
shares nicely now :)


SVN revision: 17224
2005-10-06 02:38:34 +00:00
Carsten Haitzler 06d4179854 be more paranoid about poly point array and lines.
SVN revision: 17142
2005-10-03 15:49:45 +00:00
Carsten Haitzler c934b1c733 fix gradients on scale
SVN revision: 17131
2005-10-03 13:14:07 +00:00
Carsten Haitzler de7384f549 fix mem issue
SVN revision: 17130
2005-10-03 12:46:15 +00:00
Carsten Haitzler 0f042bcbd4 fix xrender engnie to accept user-provided pixel data
SVN revision: 17128
2005-10-03 10:20:12 +00:00
Carsten Haitzler 884e03d762 fix null data copy
SVN revision: 17127
2005-10-03 07:52:23 +00:00
Carsten Haitzler 63d04c65d5 fix target mask support
SVN revision: 17124
2005-10-03 06:45:43 +00:00
Carsten Haitzler da0cce6c2c update mask support...
SVN revision: 17121
2005-10-03 05:56:31 +00:00
Carsten Haitzler 62d1bb0190 in theory support dest alpha
SVN revision: 17120
2005-10-03 03:34:21 +00:00
Carsten Haitzler 2c7b0df81a fix gl engine - i broke it a bit
SVN revision: 17116
2005-10-02 16:06:11 +00:00
Carsten Haitzler 6209347b36 add makefile.am
SVN revision: 17113
2005-10-02 15:29:31 +00:00
Carsten Haitzler f4a8513aa4 an xrender engine. fully complete - but it doesnt support shaped window masks
and destination alpha like software_x11 does so its not a 100% dropin
replacement... yet


SVN revision: 17112
2005-10-02 15:15:44 +00:00
doursse d5548cd313 forget to test if the shm extension exists
SVN revision: 17110
2005-10-02 12:41:11 +00:00
sebastid 1e376a2135 Move macros to separate header file.
SVN revision: 16805
2005-09-20 17:01:03 +00:00
Carsten Haitzler b672283702 tb2 work! :)
SVN revision: 16671
2005-09-09 14:19:06 +00:00
tsauerbeck d9eb3e3958 use valgrind's user requests to tell it that our image data should be treated as being readable
SVN revision: 16670
2005-09-09 13:45:07 +00:00
sebastid fd5a41f525 Move freetype include along with the others, and use freetype define.
SVN revision: 16633
2005-09-07 02:31:30 +00:00
rephorm b0ae6f3c72 don't use __blend_tmp before initializing it...
SVN revision: 16594
2005-09-05 19:40:12 +00:00
Carsten Haitzler 3c0b9cc34d ok ok - they look ugly, but handle bitmap fonts! :(
SVN revision: 16542
2005-09-05 08:01:15 +00:00
sebastid fd37cb5ac3 Use AC_PATH_GENERIC
SVN revision: 16495
2005-09-03 19:42:28 +00:00
sebastid 94a05490b6 Cairo backend builds again. But is dead slow and isn't complete.
SVN revision: 16447
2005-09-01 00:53:34 +00:00
sebastid 044b599af0 Update functions to match ecore_hash.
Add missing function declaration.
Use signed int for width and height.


SVN revision: 16445
2005-08-31 17:33:32 +00:00
Carsten Haitzler 0273204901 some extra checks and leak fix
SVN revision: 16368
2005-08-26 08:00:49 +00:00
Carsten Haitzler 58c289f118 fix bit order for ppc - cleanly.
SVN revision: 16362
2005-08-26 04:16:57 +00:00
sebastid 1b9116d064 Silence
SVN revision: 16313
2005-08-24 16:11:06 +00:00
Carsten Haitzler a815f4ffcf oh STUPId me - i forgot to add current y co-ord for ptr offset! bah!
SVN revision: 16305
2005-08-24 08:03:29 +00:00
Carsten Haitzler f53d1a2ca3 shh!
SVN revision: 15945
2005-07-30 05:44:58 +00:00
Carsten Haitzler acc0701e10 1. id3 album cover loader patches
2. i reduced list note memory usage by 20% - shoudl work better with malloc
as ti is now a power of 2 as well
3. optimised evas internals to make use of event freezes to make e17'sw menu
popups a LOT snappier
4. fixed using last member of list nodes - bad - shoudl use api as this is
private stuff really
5. added config profile stuff to e17  u can literally maintain multiple
config profiles and choose which one at any time etc.


SVN revision: 15864
2005-07-22 10:28:11 +00:00
Carsten Haitzler ec3566fcf0 tack patch
SVN revision: 15497
2005-06-23 02:25:29 +00:00
sebastid 3f776d358a Cleanup some headers.
Remove duplicate typedefs and declerations.


SVN revision: 15407
2005-06-18 01:00:32 +00:00
Carsten Haitzler 0a61e33102 some debugging commented out. seems evas's caches work like a charm
SVN revision: 14920
2005-05-23 06:29:40 +00:00
doursse 56eb17e152 fix a warning
SVN revision: 14895
2005-05-22 06:18:14 +00:00
Carsten Haitzler 75ae92333a warnigns cleanups + fb 32bpp transparency support for evas from celement
SVN revision: 14893
2005-05-22 03:02:15 +00:00
Carsten Haitzler 46e02cf8bb whitespace
SVN revision: 14889
2005-05-22 02:49:50 +00:00
Carsten Haitzler 2a6937cccb whitespace
SVN revision: 14888
2005-05-22 02:49:48 +00:00
doursse 3d64123f2c add the modifications of raster, fix some potential bug, clean up. It is still a bit slower than xlib
SVN revision: 14787
2005-05-15 09:30:26 +00:00
Carsten Haitzler 17886a3e7b clean up software x11 engine a little. buffer converted pixels and copy to
screen all at once (less "tearing" on updates), minimise syncs, round trips
and remove yet another layer of memcopies if in 24/32bpp and your gfx card
thinks in ARGB. per DWORD. :)


SVN revision: 14704
2005-05-11 08:52:46 +00:00
Carsten Haitzler ab518488f3 allow bitmap rendering...
SVN revision: 14508
2005-04-30 02:30:24 +00:00
sebastid 7b09a9a77b Ignore
SVN revision: 14477
2005-04-29 07:06:35 +00:00
Carsten Haitzler aeabe389a2 fix font geometry issues...
SVN revision: 14431
2005-04-28 04:57:12 +00:00
rbdpngn 81c0fa87f7 Fix GL engine for big endian systems.
SVN revision: 14254
2005-04-20 03:22:06 +00:00
Carsten Haitzler 93e100825c patch for fb engine from
Simon Poole <simon.armlinux@themalago.net>

:)


SVN revision: 14202
2005-04-14 17:38:49 +00:00
Carsten Haitzler 72de69f1ab dont always use backign buffer in fbs < 24bpp
24bpp code...


SVN revision: 14140
2005-04-11 15:45:12 +00:00
Carsten Haitzler 01db63e145 build with amd64 asm (needs to be manually enabled though right now)
minor list cleanups :)


SVN revision: 14122
2005-04-09 00:09:34 +00:00
Carsten Haitzler ebf746d79f detect round 2
SVN revision: 14088
2005-04-03 15:48:47 +00:00
Carsten Haitzler d845297892 fix detect for k6 cpu's
SVN revision: 14086
2005-04-03 15:31:35 +00:00