Commit Graph

292 Commits

Author SHA1 Message Date
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 42b0811f16 updated
SVN revision: 8554
2004-01-18 07:54:13 +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 b3c6078785 get rid of useless shm check.... and other things (cant remember)
SVN revision: 7519
2003-10-09 03:05:17 +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 b62b8257f0 dotn segv/
SVN revision: 7443
2003-09-12 04:15:20 +00:00
Carsten Haitzler 6deaca40fb clean
SVN revision: 7440
2003-09-11 02:30:34 +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
Carsten Haitzler 39273c12e1 query extensions now... properly... :)
SVN revision: 7415
2003-09-05 06:52:43 +00:00
Carsten Haitzler 6161610e63 and lets not keep nvidia extensions in code...
SVN revision: 7414
2003-09-05 05:43:07 +00:00
Carsten Haitzler 6273259e34 debugging, printfs, turn text off for now, etc.
SVN revision: 7413
2003-09-05 05:37:14 +00:00
Carsten Haitzler bac314fd93 GL engine goes in... its not 100% complete. fonts are sub-optimal. i quickly
hooked them in to work at all...


SVN revision: 7408
2003-09-04 07:40:34 +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 b699523d67 allow for a callback rtoo to provid e adest buffer when needed
SVN revision: 6840
2003-04-09 06:52:14 +00:00
Carsten Haitzler 98d327b588 fix
SVN revision: 6835
2003-04-07 06:17:54 +00:00
Carsten Haitzler a2e0c127b0 buffer engine seems to be wroking for an rgb buffer with color keying...
SVN revision: 6811
2003-04-02 08:00:34 +00:00
Carsten Haitzler bbfaab2ac1 memory buffer engine... not doing everything. api may change... working on it.
SVN revision: 6808
2003-04-02 04:28: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 bdb20a4f9d softare_x11 engine can now rotate on the fly :) ecore_evas relies on this btw.
SVN revision: 6680
2003-02-12 23:31:38 +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 b8a94c7204 ok - dont disable printf output... for debugging
SVN revision: 6550
2003-01-08 01:02:21 +00:00
Carsten Haitzler 42d0fea781 bah bah bah.... 8-P~
SVN revision: 6534
2002-12-30 05:31:35 +00:00
Carsten Haitzler 6bdb5980a0 ok.. a dfb bug.. i have to safeguard...
SVN revision: 6533
2002-12-30 02:04:44 +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 c96c2d8d50 oops.. segv in dfb driver.. fix fix
SVN revision: 6494
2002-12-17 07:08:20 +00:00
Carsten Haitzler beb924c23e keyboard support... key grabs dont work.. and i'm not happy with it as an
api causeti doesnt support modifiers when grabbing in the api.


SVN revision: 6493
2002-12-17 00:00:38 +00:00
Carsten Haitzler 936fe70f8b rico-suave.
SVN revision: 6468
2002-12-01 23:48:19 +00:00
Carsten Haitzler 1be4553049 sellies no-more-segv's
SVN revision: 6462
2002-11-26 05:25:02 +00:00
Carsten Haitzler c3e29f8adc spotted some old debugging code... and fixed up dfb engine to handle sruface
proeprly that uses its alpha channle where no objects exist (similar to the
software x11 engine and shape masks etc.)


SVN revision: 6461
2002-11-25 07:42:58 +00:00
Carsten Haitzler 31e88e86b7 work with latest dfb in cvs
SVN revision: 6460
2002-11-25 02:11:39 +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 7096a69a1e code code...
SVN revision: 6448
2002-11-14 05:23:54 +00:00
Carsten Haitzler 56b5e15f26 code move
SVN revision: 6445
2002-11-08 08:02:15 +00:00