Commit Graph

571 Commits

Author SHA1 Message Date
Carsten Haitzler 792762f2d5 use engine add's
SVN revision: 13807
2005-03-20 16:41:49 +00:00
Carsten Haitzler 7462681dad werd to my homies... this had to happen sooner or later.... evas supports
FONTSETS!

so u can do
Vera,Kochi,Blah ... etc.
as the font name
it will fall back font by font until it finds a char or finally fails.

this is for internationalisation support...

WHERD!


SVN revision: 13804
2005-03-20 15:57:55 +00:00
Carsten Haitzler b1c95faae0 eet/edb cflags
SVN revision: 13598
2005-03-04 00:39:41 +00:00
tsauerbeck f8b835ea0c got rid of data subdirectory in pkgdatadir. fixed a bunch of warnings
SVN revision: 13483
2005-02-23 20:32:07 +00:00
Carsten Haitzler 7dbcc92602 fix some valgrind nasties - margins work...
SVN revision: 13440
2005-02-20 08:02:41 +00:00
Carsten Haitzler 111aa2936a fix shaped output (rgba dest rendering)
SVN revision: 13308
2005-02-11 05:33:44 +00:00
Carsten Haitzler ee21eb81ca more work on textblocks! :)
SVN revision: 13263
2005-02-09 16:10:56 +00:00
Carsten Haitzler e79e53e35b i worked on a regionbuf set of code (exact rectangles). i THINK it has some
bugs... but its disabled right now and it didnt speed anything up :( but it's
there for perusal and later work anyway...


SVN revision: 13193
2005-02-05 02:30:13 +00:00
Carsten Haitzler f7da483fcc optimise... THIS! BIATCH! :)
SVN revision: 13181
2005-02-03 07:28:07 +00:00
Carsten Haitzler 6e881db788 werd wrap is better. it remvoes the whitepsace OVER the wrap...
SVN revision: 13172
2005-02-01 15:34:37 +00:00
Carsten Haitzler c70e92898a dont xloop...
SVN revision: 13171
2005-02-01 14:48:28 +00:00
Carsten Haitzler 100c9a3479 massive speedup in textblock... maaaaaaaaaaasive.
SVN revision: 13151
2005-01-31 09:32:31 +00:00
Carsten Haitzler 0329745fd0 been working textblock...
SVN revision: 13129
2005-01-29 16:28:18 +00:00
Carsten Haitzler 44f0d70286 span lists were a failure. sloweer than the current brute force method - and
slower to boot.

ooh.. found i was fuckign up the memcpy's. fixed :) and much faster too :)


SVN revision: 13103
2005-01-27 10:05:41 +00:00
Carsten Haitzler 2b34d43044 well it was an interesting experiment. but the blender code is already so
optimal... we dont gain much at all. :(


SVN revision: 13102
2005-01-26 16:42:31 +00:00
Carsten Haitzler f39f6f9840 useless data files removed... making room for improvements in the engine.
chnaged some images. need to update evas_*_test at some point to not be ugly
and be able to test everything.


SVN revision: 13101
2005-01-26 07:49:57 +00:00
Carsten Haitzler 0e38160623 buildie cleanies
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler 49d92b0277 distcheck
SVN revision: 11947
2004-10-21 08:06:13 +00:00
Carsten Haitzler bfbf65e04d dont need to set LDFLAGS
SVN revision: 11934
2004-10-21 03:02:01 +00:00
tsauerbeck a84ea1ccee mingw portability
SVN revision: 11924
2004-10-20 16:36:12 +00:00
Carsten Haitzler 8375062f08 oops - NOw they agree. evas is fixed to 75 dpi - thats how it thinks now.
maybe i should export this as engine and then evas calls? lets see.


SVN revision: 11758
2004-10-06 00:08:12 +00:00
Carsten Haitzler 7edce6a8d6 this has always been there - it measn xft, x and evas dont agree on the size
of a "7 pixel" or "20 pixel" font. now they will. the numbers were fudged
frome examples... now they are pure :)


SVN revision: 11757
2004-10-06 00:05:20 +00:00
Carsten Haitzler a3b8f37d3d null patch...
SVN revision: 11682
2004-09-21 07:45:13 +00:00
Carsten Haitzler a15abb8326 palette + transp fix
SVN revision: 11443
2004-08-30 08:15:50 +00:00
Carsten Haitzler 95546de87c oops. printf left in.
SVN revision: 11417
2004-08-28 08:43:24 +00:00
Carsten Haitzler 80b569c6f2 reduce stat calls massively...
SVN revision: 11415
2004-08-28 08:41:12 +00:00
Carsten Haitzler 3e8511b2f3 oops
SVN revision: 10933
2004-07-20 11:07:06 +00:00
Carsten Haitzler 51e9b8358f in!
SVN revision: 10930
2004-07-20 04:05:14 +00:00
Carsten Haitzler 59419c9aa4 propogate pass_events to sub-objects of smart objects...
SVN revision: 10503
2004-06-14 06:04:22 +00:00
Carsten Haitzler 8c29c3d42b use mmx2 routines if we can - they are faster! (almost 3 times)
SVN revision: 10361
2004-05-26 02:45:40 +00:00
Carsten Haitzler a5c71f099b hot damn! yuv -> rgb was being done TWICE every time! once with mmx/sse and
once with raw C slooow. altivec #ifdef boobie. fix fix fix


SVN revision: 10356
2004-05-25 16:33:15 +00:00
Carsten Haitzler ea2bd901f7 cross-compile fix
SVN revision: 10292
2004-05-20 07:38:43 +00:00
Carsten Haitzler 56c4d96737 oops - missed init func entry points. fixed.
SVN revision: 10187
2004-05-13 01:57:28 +00:00
Carsten Haitzler e2725f4690 lean down memory usage per process - now it doesnt use up 64kb it doesnt need
to... :)


SVN revision: 10153
2004-05-10 06:40:51 +00:00
tsauerbeck c62c7f1fdf Initialize image data to zero if we're running under Valgrind's control. This means the suppression file is no longer needed.
SVN revision: 10000
2004-05-02 08:41:11 +00:00
Carsten Haitzler 988e608f74 hmm math just a little off
SVN revision: 9970
2004-04-29 03:44:39 +00:00
Carsten Haitzler 67a3d2f391 font imaging stuff....
SVN revision: 9847
2004-04-22 11:29:34 +00:00
Carsten Haitzler fb5af0d025 SOME of the changes needed to support evoak... needs new eet...
SVN revision: 9829
2004-04-21 06:38:24 +00:00
Carsten Haitzler 7b0c934edd oooh siglongjmp!!!!
SVN revision: 9792
2004-04-19 01:27:37 +00:00
Carsten Haitzler 920d353509 jose's evas patches are in.
SVN revision: 9615
2004-04-06 03:36:51 +00:00
Carsten Haitzler 9f5a518415 try bigger buffer for prefetch test?
SVN revision: 9607
2004-04-05 03:38:34 +00:00
atmosphere f745104f97 build fixes from Spanky courtesy of some gentoo user I imagine, hopefully saving raster some time, if it's wrong, sorry
SVN revision: 9495
2004-03-27 05:46:27 +00:00
tsauerbeck 83a1ee651c fixed compilation error when sse was disabled and mmx was enabled
SVN revision: 9418
2004-03-21 20:22:58 +00:00
Carsten Haitzler 667379ef53 just in case this gets through...
SVN revision: 9388
2004-03-18 09:22:36 +00:00
Carsten Haitzler 84d4cac05e oops - this DOESNT actually work - i thought as much! i knew i had my
reasons...


SVN revision: 9387
2004-03-18 09:06:12 +00:00
Carsten Haitzler 792e48fa4c a good 20% speedup on my p4 and minor speedup on this p3. no difference on my
ipaq...


SVN revision: 9364
2004-03-16 08:03:00 +00:00
Carsten Haitzler bd78875c63 fix stack queries! :)
SVN revision: 9362
2004-03-16 04:13:05 +00:00
Carsten Haitzler f11447ab8a cross-compile cleanly damnit!
SVN revision: 9002
2004-02-17 07:12:38 +00:00
Carsten Haitzler 95355ffdc1 split up nasty smooth scaler code to separate parts - they are #included
though for speed reasons, but this makes it more maintainable.


SVN revision: 8726
2004-01-30 05:46:57 +00:00
Carsten Haitzler c58bae0364 oops - got mmx and sse mixed. fix.
SVN revision: 8711
2004-01-29 09:45:55 +00:00
Carsten Haitzler c524524dbf and fix that
SVN revision: 8668
2004-01-26 11:27:59 +00:00
Carsten Haitzler 40414821de fix acent/descent
SVN revision: 8667
2004-01-26 11:09:01 +00:00
Carsten Haitzler 00d0dd777a and fix the sizing bug!!!!! all happy now!
SVN revision: 8666
2004-01-26 08:21:00 +00:00
Carsten Haitzler 6022da9101 2 problems fixed.
1. evas line draws of 2 pixelin size work now. oops!
2. font faces are shared between multiple sizes without a performance hit! yay!


SVN revision: 8660
2004-01-26 03:31:40 +00:00
Carsten Haitzler 9f24ecb043 missed a size_use() call that would have screwed up some font queries... and
i've disabled font face (font source) instance sharing - it will load one per
size again due to performance reasons. i need to tackle this with the ft2
guys and see if theres an acceptible solution.

i COULD shadow all the glyph and font metric data i use myself per size -
thats fine... EXCEPT for kerning - thats the thing i can't sanely (figure
out how to) shadow myself... if someone figures that out for me! be my guest!
:) let me know!


SVN revision: 8634
2004-01-23 11:03:07 +00:00
Carsten Haitzler 876c5f617d ensure these list heads are 0'd out
SVN revision: 8629
2004-01-23 06:20:00 +00:00
Carsten Haitzler 4e6f799b2c uninitialized...
SVN revision: 8628
2004-01-23 05:58:34 +00:00
Carsten Haitzler 8523421b7c added in loading froms from memory buffers at the engine level, and now an
api to set a font "source" (blank is normal filing system) but the source can
be a device or file etc. in this case it currently supports eet files as the
source and then the font name is used as a key in th eet file as to where to
find the font - edb support would be trivial to add. :) if the font is not
found in the "source" it falls back to the font path etc.


SVN revision: 8625
2004-01-23 02:14:45 +00:00
tsauerbeck c94d39aeba fixed some warnings
SVN revision: 8555
2004-01-18 07:55:14 +00:00
tsauerbeck d573ecc0f4 added evas_common_image_init()/shutdown()
SVN revision: 8527
2004-01-17 16:27:58 +00:00
Kim Woelders 2c69b06922 Hushhhh
SVN revision: 8507
2004-01-16 21:11:41 +00:00
rbdpngn 4436026ac6 An instance of ft_lib was missed.
SVN revision: 8444
2004-01-15 14:58:03 +00:00
rbdpngn 84736e7845 Renamed a variable to avoid a collision with an imlib2 global.
SVN revision: 8442
2004-01-15 06:27:44 +00:00
Carsten Haitzler 112333f1cb no no no!
malloc! not calloc
why?
large chunks of memory are used for image pixels
why set them all to 0 THEN set them to their pixel values? it's harmless
having them uninitialized. the idea is to avoid zeroing out potentially
megabytes of data.


SVN revision: 8440
2004-01-15 04:48:48 +00:00
tsauerbeck ae0df2ecb5 initialize that memory block before reading from it
SVN revision: 8406
2004-01-14 18:11:03 +00:00
Carsten Haitzler a6bb664833 shutting down font systems eh? :) that's cool - but lets make it nestable for
multiple canvases in 1 app :)


SVN revision: 8366
2004-01-12 23:48:10 +00:00
tsauerbeck 9c22413aa8 free the freetype handle after we're done with it.
SVN revision: 8356
2004-01-12 18:12:41 +00:00
rbdpngn a74a6b6a87 Fix for a build issue some people have encountered with jpeglib.h not
including stdio.h as necessary.


SVN revision: 8197
2003-12-23 05:59:03 +00:00
rbdpngn d22d230017 Ok, that didn't work out well, we'll need to figure out something else for
Solaris.


SVN revision: 8146
2003-12-18 17:18:50 +00:00
rbdpngn 513caedd40 Hopefully fix build for solaris.
SVN revision: 8144
2003-12-18 08:36:21 +00:00
rbdpngn 732d2e2836 Those changes should not have gone to cvs yet.
SVN revision: 8132
2003-12-16 17:49:45 +00:00
rbdpngn 1f175f4660 Altivec code for YUV conversion to ARGB. This option cannot be enabled yet, I
need to verify the autofoo on Linux.


SVN revision: 8099
2003-12-12 07:53:09 +00:00
Carsten Haitzler 2cdf81f2b7 more comments
SVN revision: 8088
2003-12-10 06:55:18 +00:00
rbdpngn 02cfd3ee28 Don't access static variables from inline functions.
SVN revision: 8078
2003-12-10 04:10:55 +00:00
Carsten Haitzler 35b2349a24 and set alpha bits
SVN revision: 8071
2003-12-10 01:35:37 +00:00
Carsten Haitzler 1771ecd4ee and add yuv conversion code
SVN revision: 8069
2003-12-10 01:23:24 +00:00
Carsten Haitzler 58d0647f41 yuv pixel import api (well arbitary pixel format import api) for doing media
sreams (video) via image objects


SVN revision: 8068
2003-12-10 01:12:13 +00:00
Carsten Haitzler 2e1b9b56eb and 666 dithering was arse. fixed.
SVN revision: 7985
2003-12-03 05:22:21 +00:00
Carsten Haitzler 76a3ec1af8 8bpp rendering sucked. now it doesnt suck as much.
SVN revision: 7984
2003-12-03 05:07:12 +00:00
Carsten Haitzler 1bf34243f6 move co-ordinates to be their own type. this is a good thing, because ti
allows me to be able to virtualize he canvas co-ordinate system. right now
it's doubles. i can now move to floats, int's etc. with a recompile (and well
recompile all depending apps too). it's still ACTUALLY doubles, just all
typedef'ed now. i've also changed booleans to actual boolean types (not an
int), all code will keep working - but i'd highly suggest moving your code to
use these types if interacting with evas.


SVN revision: 7644
2003-10-18 03:34:00 +00:00
Carsten Haitzler 303222d682 compielr prefes this
SVN revision: 7469
2003-09-20 04:48:19 +00:00
Carsten Haitzler 3dbe16fac1 well cpu detection was fucked up.. fixed now! :)
SVN revision: 7468
2003-09-20 04:42:45 +00:00
Carsten Haitzler 527058ae9f improve optimal nature of code.. get some more speed....
SVN revision: 7438
2003-09-10 14:33:39 +00:00
Carsten Haitzler 3b808bac45 1. mmx2 pixel copy and cleanup of pixel copy routines
2. gl engine cleanups. working on it.


SVN revision: 7436
2003-09-10 08:52:18 +00:00
Carsten Haitzler 246fd31846 open gl is fulyl functional now - it coudl defnitely do with optimizations
with texture upload. it does NOt check error returns anywhere from gl... this
may mean issues with LOTs of images, LARGE images etc. need to fix that later


SVN revision: 7432
2003-09-09 05:51:03 +00:00
Carsten Haitzler 9606e485e5 split gl common routines up into seperate files. still have BIG problems with
speed of texture uploads. anyone want to help? i've tried many things... and
nothing semms to work. this is a major bottlneck for evas gl engine
performance (apart from text - which is simply a matter of finishing off
properly)


SVN revision: 7428
2003-09-07 11:24:48 +00:00
rbdpngn 7af9c3bf45 Use the new runtime cpu detection functions to determine the correct drawing
routines. Some stubs for altivec support can be seen here, those are
unreachable code paths until the corresponding functions are complete and
committed.


SVN revision: 7191
2003-07-20 05:33:11 +00:00
Carsten Haitzler 42d8853235 oops leakage on ferring an evas! fix.
SVN revision: 7059
2003-06-22 02:33:25 +00:00
rbdpngn 47c156847f Only perform runtime checks if the cpu features are enabled.
SVN revision: 7006
2003-06-10 14:52:16 +00:00
Carsten Haitzler bfe9b1fa8e fixing minor arithmeic stuff in text queries. all happy now.
SVN revision: 6986
2003-06-07 02:32:30 +00:00
Carsten Haitzler 8c6352eae6 fix corner case of starting at nul terminator byte at end and getting prev
charater of utf-8 string


SVN revision: 6983
2003-06-06 00:41:07 +00:00
Carsten Haitzler 0495a7540b new calls to help string processing for programs - these walk up and down 1
utf8 character (sicne thats evas's standard string format). this lets apps do
character processing AND still be utf8-safe.


SVN revision: 6976
2003-06-05 06:08:43 +00:00
Carsten Haitzler d5c7bb0d57 aaaah DONT use inlined bitmaps.. we want it ALL aa'd
SVN revision: 6975
2003-06-05 02:59:19 +00:00
Carsten Haitzler 3d5f70ca35 kerning fix?
SVN revision: 6949
2003-05-30 05:05:52 +00:00
Carsten Haitzler 3e066d97bd minus 1 printf
SVN revision: 6944
2003-05-28 05:55:12 +00:00
Carsten Haitzler 72c06b259b evas now uses
EVAS_DEBUG_SHOW
EVAS_DEBUG_ABORT
environment variables to disctate if:
1. it displays any error output if it encorunters wrong object types, NULLs
etc.
2. if it should call abort() on such an error so it can be easily caught with
gdb as a segv.

if these enironment variables exists it will do both.. if they dont it will
not perform the appropriate action. (so now by default evas remains quiet and
marches on)


SVN revision: 6915
2003-05-19 05:36:12 +00:00
Carsten Haitzler 9e87031686 symbol clash! oops!
SVN revision: 6901
2003-05-12 02:26:27 +00:00
Carsten Haitzler 733ffbfc5d missing ifdef
SVN revision: 6769
2003-03-14 04:57:09 +00:00
Carsten Haitzler 56aac58eab tab...
SVN revision: 6766
2003-03-11 05:07:46 +00:00
Carsten Haitzler e5082ae151 oops cut one line too many
SVN revision: 6765
2003-03-11 05:06:43 +00:00
Carsten Haitzler d7a6a70b16 avoid a cmp/bra
SVN revision: 6764
2003-03-11 05:04:33 +00:00
rbdpngn 77a3240e2c Removed unused variable. 1 line indent fix.
SVN revision: 6763
2003-03-11 04:59:49 +00:00
Carsten Haitzler c7a24853ef bauil out of a double-init
SVN revision: 6762
2003-03-11 04:56:46 +00:00
rbdpngn b6ae92d827 Generic runtime cpu feature testing. This is not used much yet, and shouldn't
break anything. Please review and shout if you see problems.


SVN revision: 6761
2003-03-11 04:39:58 +00:00
Carsten Haitzler 377dcb3044 alignment...
SVN revision: 6724
2003-02-27 00:07:46 +00:00
Carsten Haitzler 360713139a oops... fix fix
SVN revision: 6660
2003-02-05 04:19:16 +00:00
Carsten Haitzler a057104399 oops... bug bug bug... FIX :)
SVN revision: 6659
2003-02-05 03:08:20 +00:00
Carsten Haitzler 07af96e2c9 symbol fixup :) (conflict with imlib2)
SVN revision: 6604
2003-01-20 23:04:38 +00:00
Carsten Haitzler 9b184f9bdf dont need fmemopen suppor tin evas now... just sue eet directly and dont
duplicate code...


SVN revision: 6578
2003-01-13 07:38:08 +00:00
Carsten Haitzler 3f207b8c08 const-ify lots of things...
SVN revision: 6558
2003-01-10 04:58:51 +00:00
Carsten Haitzler 124d4a8909 and dont leak
SVN revision: 6557
2003-01-10 02:07:23 +00:00
Carsten Haitzler 8e3e8c5848 resolve symlinks...
SVN revision: 6556
2003-01-10 02:05:37 +00:00
Carsten Haitzler 6494104a2b aaaaaaaaah freetype 2.1.3 bugs TOO! bloody hell! ft gets BUGGIER as it goes!
:) hehehe.. ok ok - everyone USE 2.0.3!


SVN revision: 6555
2003-01-09 07:41:22 +00:00
Carsten Haitzler 47280739ac oh my wordy lordy me.. too accurate for its own good soi've had to fidge to
overlap parts as the positioning is done in 24.8 space not integer space


SVN revision: 6553
2003-01-08 06:39:38 +00:00
Carsten Haitzler b77e71b077 maybe debians include system might be happier now...
SVN revision: 6532
2002-12-30 00:48:39 +00:00
sleuth c08fc73731 Minor evas fix for char position usage.
Kevin Brosius <cobra@compuserve.com>


SVN revision: 6529
2002-12-29 17:57:37 +00:00
Carsten Haitzler 01a3ea467f and... fix the smooth scaler.. i had a 32bit overflow there for when images
get bigger than 2048x2048 and i scale them up... :)


SVN revision: 6527
2002-12-29 02:54:47 +00:00
Carsten Haitzler d1d3b62ebe hmm. forgot to translate text coords form queries.. and some glyph vs char
pos bugs


SVN revision: 6526
2002-12-29 02:09:34 +00:00
Carsten Haitzler 866bf9121e oops.. return POSTION, not glyph value!
SVN revision: 6525
2002-12-29 01:49:07 +00:00
Carsten Haitzler 3dc1dcbd32 the big internal function call renaming happened... and it was good.
SVN revision: 6449
2002-11-14 05:38:10 +00:00
Carsten Haitzler 56b5e15f26 code move
SVN revision: 6445
2002-11-08 08:02:15 +00:00