Commit Graph

430 Commits

Author SHA1 Message Date
Carsten Haitzler dfe6bb6f4e some more docs...
SVN revision: 9038
2004-02-20 07:06:39 +00:00
Carsten Haitzler f11447ab8a cross-compile cleanly damnit!
SVN revision: 9002
2004-02-17 07:12:38 +00:00
zuluone c17ec61deb corrected the docs slightly - no code changed
SVN revision: 8993
2004-02-16 19:22:48 +00:00
Carsten Haitzler 6c2fe6b33d if outbuf != multiple of 16... clip
SVN revision: 8989
2004-02-16 09:43:44 +00:00
Carsten Haitzler fbd57cda60 patchies in
SVN revision: 8793
2004-02-04 04:38:34 +00:00
Carsten Haitzler b8c1d78ac0 oops --disable stuff wouldnt work! :)
SVN revision: 8773
2004-02-03 06:04:54 +00:00
Carsten Haitzler 144d7b8a78 oops - delete_me flag!
SVN revision: 8763
2004-02-02 01:33:46 +00:00
Carsten Haitzler f31a506708 gl engine bugzie! fix!
SVN revision: 8739
2004-02-01 07:18:05 +00:00
Carsten Haitzler 31a6c2aa9b dfb duplicates common code.. why? why not just call off to the common code.
this is bad! grrr.


SVN revision: 8727
2004-01-30 09:22:42 +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
rephorm 63629f7822 gotcha rasties.
but let's do it for all of 'em :)


SVN revision: 8697
2004-01-28 04:48:52 +00:00
Carsten Haitzler 3dab963454 sorry formie - we want these in! you have to find the extra thaw!
if u want help:

export EVAS_DEBUG_SHOW=1
export EVAS_DEBUG_ABORT=1

and evas will call abort() (and thus gdb will trap it) on errors.


SVN revision: 8693
2004-01-28 04:30:55 +00:00
Carsten Haitzler 4bfe9af00a freeze/thaw debug!
SVN revision: 8688
2004-01-28 02:43:13 +00:00
rephorm 94a98eeb88 fix evas_event_feed_* functions
they were first returning if (events_frozen > 0), then later only calling
  the callbacks if (!events_frozen). if for some reason events had been thawed
  an extra time, events_frozen would be negative, causing the callback to not
  be called. the second check was redundant, so they were removed.


SVN revision: 8685
2004-01-27 23:07:27 +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 329fcd6494 and dont leave stale fonthandles around...
SVN revision: 8631
2004-01-23 07:53:08 +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 dca0de96c2 till's shutdown patch - this is good (tm). :)
SVN revision: 8371
2004-01-13 02:24: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 c8d152ef0a fixed evas smart object refcounting
SVN revision: 8363
2004-01-12 21:57:15 +00:00
tsauerbeck 1e0f9c8885 take care of mouse wheel callbacks in _clear() and _cleanup()
SVN revision: 8361
2004-01-12 21:34:50 +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 155b09b092 propagate events from child objects to msart object parents
SVN revision: 8093
2003-12-11 11:20:40 +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 83ca13924e dont segv if font wasnt loaded and we query
SVN revision: 7756
2003-10-29 00:22:46 +00:00
Carsten Haitzler a99b683b04 oops.
SVN revision: 7682
2003-10-21 04:17:26 +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
Carsten Haitzler 84544019f0 oops. on evas_free nested smart objects might just not clean up right.. fix
SVN revision: 7263
2003-07-30 02:58:10 +00:00
Carsten Haitzler 22ff36d771 oops overzealous optimizing made me miss a case... naughty naughty.. very
naughty. fix.


SVN revision: 7254
2003-07-29 01:42:20 +00:00
Carsten Haitzler 2b3b2ff8ca ooooops. evas bug1 fix fix fix
SVN revision: 7213
2003-07-22 05:16:47 +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 368cac9350 also if text itself changes...
SVN revision: 7185
2003-07-18 01:46:12 +00:00
Carsten Haitzler 310f0bda19 valgrindy goodness
SVN revision: 7184
2003-07-17 10:35:13 +00:00
Carsten Haitzler 6f39ca801f bleh!
SVN revision: 7183
2003-07-17 10:01:13 +00:00
Carsten Haitzler 3222e8202e a little nicer
SVN revision: 7179
2003-07-16 07:39:28 +00:00
Carsten Haitzler 583791b12e optimize text object state change.. much better!
SVN revision: 7177
2003-07-16 05:12:46 +00:00
Carsten Haitzler d2aadd94b2 optimize font searching... fixed that fixme.
SVN revision: 7176
2003-07-16 04:00:47 +00:00
Carsten Haitzler 8982b4f4ad ipaq build stuff :)
SVN revision: 7124
2003-07-10 13:13:25 +00:00
Carsten Haitzler fd356dc4d9 break!
SVN revision: 7118
2003-07-08 07:06:10 +00:00
Carsten Haitzler 0c5a435128 make deleting of grabs within a key callback "safe"
SVN revision: 7117
2003-07-08 06:08:26 +00:00
Carsten Haitzler 84a896b1e0 try this?
SVN revision: 7097
2003-06-26 07:38:44 +00:00
Carsten Haitzler 8dcf84d00f viewporties?
SVN revision: 7096
2003-06-26 07:36:16 +00:00
Carsten Haitzler 8977499da7 fix fix fix :)
SVN revision: 7089
2003-06-25 08:26:56 +00:00
Carsten Haitzler 87e41116b8 some optimizations seem to have screwed up rendering in corner cases. fixed
by accounting for some of my new additions


SVN revision: 7086
2003-06-25 07:58:58 +00:00
Carsten Haitzler fd6cd9805e get rid of minor flota->in calculation artifact i found!
SVN revision: 7060
2003-06-22 03:46:24 +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 7f234266a9 wheel patches
SVN revision: 6935
2003-05-25 09:43:53 +00:00
Carsten Haitzler f726ca9c6c change of types
SVN revision: 6920
2003-05-20 06:05:47 +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 5ca397ff69 fonts.dir fonts.alias support... so u can point evas at x's font
directories... as long as the fonts are ttf's it will work. you can use
x-style font definition. ie.
-*-helmet-medium-r-*-*-*-*-*-*-*-*-*-*
:)
(fonts.alias is also supported!). the old style is still supported too.


SVN revision: 6870
2003-04-20 08:26:32 +00:00
Carsten Haitzler b991fb9819 viewport bug fixed
SVN revision: 6868
2003-04-17 12:05:00 +00:00
Carsten Haitzler 4947646c07 accept NULLS for font queries
SVN revision: 6865
2003-04-16 02:04:30 +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