Commit Graph

25 Commits

Author SHA1 Message Date
Carsten Haitzler 4790ba40f1 ewwwww.. i forgot to free the font string....
and forgot to cleanup clip lists on objects when the evas gets deleteded and
all objectsin it get nuked!

woop! fix fix fix :)


SVN revision: 5185
2001-08-17 00:05:12 +00:00
Carsten Haitzler 72981477de ooooops - fix gl engine to handle window resizes..... :)
SVN revision: 4230
2001-02-16 01:33:14 +00:00
Carsten Haitzler ce2f4fe9f1 * rewrote GL engine for evas - vast speed improvements and cleanliness
improvements - MUCH better
* fixed imlib and x11 engines - much faster x11 engine. much better imlib
engine
* added clipping ability to evas (you can clip one object by another for now
only rectangles are supported)
* you will need to use cvs imlib2 - i fixed the clipping in it to apply to
images, text and gradients too.
* almost done with x11 engine - just fonts to go (mostly done)
* clipping rects rgba color modifies what they clip
* gl, imlib and x11 engines modified to do clipping
* still need to add border scaling supporty to gl engine
* maybe some other stuff i don't remember - i've been sick over christmas


SVN revision: 4039
2000-12-27 20:51:39 +00:00
Carsten Haitzler 9215204dcd evas_get_layer();
SVN revision: 3981
2000-12-12 21:13:32 +00:00
Carsten Haitzler cf7ca04c45 more event paranoia. should all be fixed now
SVN revision: 3641
2000-10-17 16:29:59 +00:00
Carsten Haitzler 871a300457 added event paranoia for when deleteing objects - makes damn sure the grabbed
mouse button object handle and mouse object handle are NULL if we're going off
freeing / deleting this object


SVN revision: 3640
2000-10-17 16:14:36 +00:00
Carsten Haitzler 53b3a6face start of polygon drawing support...
SVN revision: 3574
2000-10-12 00:26:34 +00:00
Carsten Haitzler c6e5ed3a1d some basic start on documentation....what's happening to me? all this
documentation? :)


SVN revision: 3554
2000-09-27 15:14:06 +00:00
Carsten Haitzler 289117a952 privatise data structs for evas... much cleaner. all structs are now internal
so you cant look into them. all defines now become enums too - cleaner. no
more bypassing the api is possible :)

also added better checks and --with- stuff for imlib2, gl and ttf


SVN revision: 3548
2000-09-26 19:16:48 +00:00
Carsten Haitzler faa90fe44b more on the new evas test. add some more api calls.
SVN revision: 3544
2000-09-25 19:47:44 +00:00
Carsten Haitzler ff43dc6621 rectangles now work in the x11 engine
SVN revision: 3510
2000-09-17 20:07:23 +00:00
Carsten Haitzler b57e34cc83 ok - that was screwy.. :) propt type problem - fixed :)
SVN revision: 3487
2000-09-16 00:24:38 +00:00
Carsten Haitzler b585b3006d comment added to evas_free - compiler bug? eh? really odd
SVN revision: 3486
2000-09-16 00:17:37 +00:00
Carsten Haitzler a0cbcf3790 apply some selly's "no more leaks"
SVN revision: 3475
2000-09-15 17:04:07 +00:00
Carsten Haitzler e2ffcf313c dissalow resizing for line and text objects - doesnt make sense -
change the font or string to resize text, and chnage line coords.

add ability for color settings to apply to image objects too (image colors get
multiplid by color set on image - 255, 255, 255, 255 is "normal" so it's fast
path rendering - all other colors go thru color modifiers in the imlib engines
and gl handles it int he gl engine. if alpha is 0 the object draw is aborted
immediately for fast path.


SVN revision: 3468
2000-09-15 13:49:14 +00:00
Carsten Haitzler a751ec1b21 we have a new rendering target for evas - an imlib image buffer.
it will render to a virtual image buffer just like it would to a window.
the logic works the exact same way as a window - it wil lonly render the rects
that changed. if a rect chnaged it expects that rect to have been cleared and
will blend the canvas ontop of the image - so you can use it to augment the
current image contents (though they will be permenantly modified). This is
specifically designed for doing things like rendering a canvas to be saved
to an image file.

WHEEEEEEEE :)


SVN revision: 3460
2000-09-13 22:36:46 +00:00
Carsten Haitzler a677bd8076 handle events better on other property chnages
SVN revision: 3198
2000-08-20 22:25:08 +00:00
Carsten Haitzler e37fccc450 event system works - callbakcs happen.. WOOHOO :)
SVN revision: 3193
2000-08-20 21:49:41 +00:00
Carsten Haitzler 056e350668 api filled out much better now........ infact... i'm almost done :)
SVN revision: 3186
2000-08-20 07:13:31 +00:00
Carsten Haitzler 0a73a07edf gradients added and work
SVN revision: 3114
2000-08-14 06:37:51 +00:00
Carsten Haitzler c64671e765 text objects work! dude! like totally! :)
SVN revision: 3112
2000-08-14 03:23:46 +00:00
Carsten Haitzler 331b113f4d evas detects gl and build in gl backend optionally if it finds it. evas will
fall back to stfware imlib2 rendering if an app requests GL rendering..


SVN revision: 3111
2000-08-14 00:14:22 +00:00
Carsten Haitzler a5ba53be87 cleaner use func pointers for rendering backend funcs - too much copy & paste
SVN revision: 3096
2000-08-13 06:06:43 +00:00
Carsten Haitzler 73de169494 wooooo!
core bits of evas api actually do stuff now.. evas test it beginning to use them
if you want to have ann ide how easy it is to use evas as a rendeirng engine
just look at evas_test.. notice the evas setup is just a few calls (create,
set the output drawable, the output size of the window and the viewport into
the evas's virtual world - the its a mater of creating a few objects
and notice the main loo ONLy does 2 things - move the objects then call
render - evas will optimize to only render the bits that changed all for you.
there's a lot fo thank;less nasty state chekcing code just for this.
i'm going to have to write a lot fo it - image obejcts only done sofar.
you cant do anytign except move and resize them and add them and show and hide
them. freeing them wont work. layers dont work. no api to set performance cache
or to access it. fill modes for images dont work either nor is there an api
to set an images border scaling)


SVN revision: 3090
2000-08-11 07:47:52 +00:00
Carsten Haitzler 7c0f7a6f9a '
split that up.....


SVN revision: 2956
2000-07-31 18:06:21 +00:00