Commit Graph

159 Commits

Author SHA1 Message Date
Carsten Haitzler 84d24d28da 1. optimize evas lists a bit by keeping a "last" pointer
2. fix rendering - forgot to scale output of primitives other than images when
viewport not 1:1 with window
3. up to 0.0.5


SVN revision: 4592
2001-04-12 17:54:51 +00:00
Carsten Haitzler 514ec9b6ae commit :)
SVN revision: 4530
2001-04-07 19:00:49 +00:00
Carsten Haitzler 4324beef71 dont allow viewport or render size to be < 1x1
SVN revision: 4513
2001-04-06 01:57:49 +00:00
Carsten Haitzler 9e10e3e023 let me just turn off scaled caching for a bit.. i need to think this over a
bit more after some more strenuous testing... i think i need to keep some
usage metrics on things.. tho i guess i shold just use a bigger cache... :)


SVN revision: 4411
2001-03-20 03:11:01 +00:00
Carsten Haitzler 494a92dd55 ooooooooooooops... fixed :)
SVN revision: 4405
2001-03-18 23:52:19 +00:00
Carsten Haitzler 83beae92c5 oops missing that.. fix
SVN revision: 4404
2001-03-18 23:23:07 +00:00
Carsten Haitzler 183d80c31c cache image scalings... :)
SVN revision: 4403
2001-03-18 23:21:35 +00:00
Carsten Haitzler 5971ae9ea9 forget that forray into optimizing that...
SVN revision: 4377
2001-03-15 03:23:16 +00:00
Carsten Haitzler 60ccea0a2f err forget it...
SVN revision: 4376
2001-03-15 03:22:11 +00:00
Carsten Haitzler 92c7f7e87a 0.0.4
SVN revision: 4298
2001-03-02 19:07:20 +00:00
Carsten Haitzler 0e6f590af7 oops - again.. over-optimize
SVN revision: 4259
2001-02-20 00:49:16 +00:00
Carsten Haitzler a59517b166 oops- over optimized so that it didnt actually render some changes :) fixed
SVN revision: 4254
2001-02-19 19:38:47 +00:00
Carsten Haitzler d6f9deb7ad damnit... the more i use evas the more i optimize it... ok - more
optimizations for special cases (rectangles that onyl change size or
location have only their detlas redrawn - not the whole rect, and the same
with images who share common global tile start and size parapeters for the
image...) this is getting quite fast now :) rememeber you only really see
the speedups in software.. hardware is so dispicably fast you never notice :(


SVN revision: 4252
2001-02-19 09:27:59 +00:00
Carsten Haitzler 2e7ba74abe get rid of those printfs.
SVN revision: 4243
2001-02-17 22:07:42 +00:00
Carsten Haitzler 33a9fe85dc and handle that other case...
SVN revision: 4241
2001-02-17 21:52:18 +00:00
Carsten Haitzler 70013f2719 oops - minor logic hiccup - fixed.. also imlib2 fix for its load error
checking. missed this when adding db style (key in file) loading.


SVN revision: 4239
2001-02-17 20:39:53 +00:00
Carsten Haitzler ed56013f72 load_error now stored and retrievable for image objects :)
SVN revision: 4238
2001-02-17 20:26:57 +00:00
Carsten Haitzler f1d5f4f049 more optimizations in render function
SVN revision: 4237
2001-02-17 08:10:30 +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 d02e5fd9e4 evas.m4
SVN revision: 4150
2001-01-25 21:56:04 +00:00
Mandrake 36699b1484 raster, I know you may not want this here, but apparently this fixes a
crashing bug in gevas (the gtk evas frontend).  lemme know if this needs to be
removed.


SVN revision: 4141
2001-01-21 03:09:33 +00:00
Carsten Haitzler 2ee05386b4 minor fixup if last char in string has 0 boundingbox width :)
SVN revision: 4123
2001-01-17 21:31:30 +00:00
Carsten Haitzler 38c00cc88b errr - beat me dead with a large possum - but somehow these 2 files got
swapped (in their contents) - thank god it still worked & compiled - but
well... that wasn't very good now was it? :)


SVN revision: 4104
2001-01-07 21:04:32 +00:00
Mandrake 72d8d91f3c More updates to make this compile without having Mesa installed.
SVN revision: 4085
2001-01-03 06:04:56 +00:00
Mandrake e1166904f6 If you don't have GL installed at all, this wouldn't compile.
Fixed with a couple of #ifdef's


SVN revision: 4084
2001-01-03 05:48:54 +00:00
Carsten Haitzler 72a83a2724 fix that event problem... and errr.. some gfx optimizations :)
SVN revision: 4074
2001-01-02 23:09:32 +00:00
Carsten Haitzler 709470c05b up to 0.0.3
SVN revision: 4055
2000-12-29 21:39:19 +00:00
Carsten Haitzler a084ff527e This finishes up the complete rewrite of evas's backend engines to be cleaner,
meaner, faster and more complete - as well as handling clipping too.

Over christmas I added clipping to evas (objects can be clipped by rectangle
objects - the clipped objects are also colours by the clipping object)

I rewrote the GL engine to be a LOT faster - evas_test shows a good 300-400%
speedup. I fixed polygone tessalation in the gl engine (i just wish the gl
book would tell me it uses the data in-place instead of making a tmp copy of
it!)

I made all engines match up pixel-for-pixel with fonts, and the gl engine's
texture mech maping works just fine.

The X11 engine is now fully functional - it does all objects - text included
but it makes serious sacrifices in image quality to get speed (no dithering,
no anti-aliased scaling, no alpha blending etc.).

Some optmizations in the X11 engine too

overall a much more complete implikemntation of evas and its renderers - you
shoudl see massiv eimprovements in GL rendeirng and be able to actualyl use
the X11 rendering without a problem :)


SVN revision: 4052
2000-12-29 20:43:48 +00:00
Carsten Haitzler e0f09d4f64 x11 engine now does fonts :)
SVN revision: 4043
2000-12-28 01:01:52 +00:00
Carsten Haitzler a594f867b6 partial buffer swap code gets coords right - but GOD is it slow... i think
there needs to be some work done on glcopypixels... :)
its disabled for now - but partial buffer rendering is enabled.


SVN revision: 4040
2000-12-27 21:47:38 +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
Mandrake f6caa2df4d added two functions I needed in etox
int evas_get_text_height(Evas e, Evas_Object o)
int evas_get_text_width(Evas e, Evas_Object o)

very simple and straightforward.


SVN revision: 3990
2000-12-14 07:23:27 +00:00
Carsten Haitzler 9215204dcd evas_get_layer();
SVN revision: 3981
2000-12-12 21:13:32 +00:00
Carsten Haitzler 015b9fbc4b I wonder what i fixed.... :)
SVN revision: 3974
2000-12-11 19:12:16 +00:00
Carsten Haitzler 1175ab0854 and return valid info when theres nothngi to do... :)
SVN revision: 3941
2000-12-02 02:49:51 +00:00
Carsten Haitzler 7badc56fdb add new render call that returns the updates that got rendered :)
SVN revision: 3940
2000-12-02 02:21:07 +00:00
Carsten Haitzler e14aa620c2 dont return null fi images doesnt exist.. obejct creation shoudl ALWAYs
succeed!


SVN revision: 3934
2000-11-29 04:49:22 +00:00
Carsten Haitzler 9d7f6187e0 woooop fix fix fix.. note to self... font caching in the gl engine REALLY
needs work.. but that can wait as an optmization/imporovement later. for now
it works and works pretty fast / ok if your hardware is good. i'll have to
make it better later.


SVN revision: 3932
2000-11-29 04:38:22 +00:00
Carsten Haitzler e21838f9f2 slightly cleaner code... :)
SVN revision: 3930
2000-11-28 00:51:22 +00:00
Joshua Deere f7a6c88618 Changed evas_add_image_from_file() to return NULL if the file could not be
loaded or did not exist


SVN revision: 3890
2000-11-15 21:31:14 +00:00
Carsten Haitzler 51f0972f8d return values in default cases where applicable
SVN revision: 3817
2000-11-07 20:43:05 +00:00
Carsten Haitzler acc7f88694 mouse out event - ay object mouse is in.... leave event... generate.
SVN revision: 3808
2000-11-04 19:17:57 +00:00
Carsten Haitzler db9b37768c add ungrab call for ungrabbing the implicit grab when buttons go down....
SVN revision: 3796
2000-10-31 18:15:11 +00:00
Carsten Haitzler 90c2286933 fix bug with gradient texture binding :)
SVN revision: 3762
2000-10-28 18:27:43 +00:00
Carsten Haitzler 92e9ebd222 fix "special case" for rectangles - property chnage parameter wasnt being set
in some cases.


SVN revision: 3761
2000-10-28 18:03:39 +00:00
Carsten Haitzler 2e06735388 fix a minor event bug with retaining the wrong coordinates fomr the last
event. never saw it because i was always feedingin mosue move events too


SVN revision: 3743
2000-10-26 22:47:33 +00:00
Term 96475fa637 I was wondering why it worked anyway...
SVN revision: 3722
2000-10-25 23:37:23 +00:00
Term 5416825108 typo
SVN revision: 3721
2000-10-25 23:36:44 +00:00
Carsten Haitzler 61f9e4f648 raster: special case optimization for retcangle objects... since they are a
solid color - if you move or resize a rect and it doesnt change color, or
stakcing or visability - it only changes size and/or location, i do an XOR on
the update rectangles (this is a logical geometric XOR) and only update those
rectangles... why do this? see efm with the selection rectangle? it re-renders
the entire rectangle area - even only the edges change while you drag it around
so this special casing in evas would handle that and optimize.


SVN revision: 3690
2000-10-22 19:14:22 +00:00
Carsten Haitzler f984e4ab77 make sure that make distcheck works
SVN revision: 3658
2000-10-19 23:27:54 +00:00