Commit Graph

56 Commits

Author SHA1 Message Date
rephorm c475e48ead put this in HEAD too
SVN revision: 6099
2002-04-01 04:59:39 +00:00
Carsten Haitzler 85ecd1a6fc forgot to ever do this.. mayaswell reload changed image objects off disk...
SVN revision: 5707
2001-11-17 02:44:23 +00:00
Carsten Haitzler a41f54e737 allow for doing bounding box only.. hmm damn you gl.. why suck when all i
try is optimize? :)


SVN revision: 5298
2001-08-28 02:11:11 +00:00
Carsten Haitzler 96eee00cb6 well it woudl appear that only rendering parts of the dipslay using clips
boxes... is SLOOOW if u have more than lets say 1 box... so lets disable it :(


SVN revision: 5292
2001-08-27 11:44:03 +00:00
Carsten Haitzler 7ad7164ded oooops... doint turn off blending just becuase theimage has no alpah
channel.. enable it fi were multilpying the alpah by anythign other than
255... :)


SVN revision: 5289
2001-08-26 04:02:57 +00:00
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 bf4d95b694 now that was just silly.. evas shoudl have used the visual and colormap u
provided regardless of its own suggestions


SVN revision: 4987
2001-07-26 03:31:03 +00:00
Carsten Haitzler 5c5aeb3eeb debug debug debug.. fix :)
SVN revision: 4679
2001-04-29 02:58:17 +00:00
Carsten Haitzler 6cec72cccf optimize... optimize...
texture generation is 850% faster now that.. I err.. bypass libGLU - GLU is
err.. SLOOOOOOW as balls when it comes to mipmap generation


SVN revision: 4677
2001-04-29 00:48:55 +00:00
Carsten Haitzler 0590e0712a oops a printf.. remove
SVN revision: 4642
2001-04-17 06:07:24 +00:00
Carsten Haitzler da35459d86 god daaaaamn! fix fix fix fix :)
SVN revision: 4597
2001-04-12 20:25:43 +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 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 72a83a2724 fix that event problem... and errr.. some gfx optimizations :)
SVN revision: 4074
2001-01-02 23:09:32 +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 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
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
Carsten Haitzler 90c2286933 fix bug with gradient texture binding :)
SVN revision: 3762
2000-10-28 18:27:43 +00:00
Carsten Haitzler 1249de5a4a make sure we bind AND then set th minand mag filters
SVN revision: 3623
2000-10-15 05:59:26 +00:00
Carsten Haitzler a50730a3ee try indiect if direct dont work
SVN revision: 3611
2000-10-14 19:09:37 +00:00
Carsten Haitzler d56f73d036 fix gl engine bug with text rendering... hmmm odd... :)
SVN revision: 3598
2000-10-14 01:10:53 +00:00
Carsten Haitzler e04cb0b0f6 fix that
SVN revision: 3580
2000-10-12 21:04:13 +00:00
Carsten Haitzler 46b738ad78 attempts at making polys work all over - gl engine has problems though...
this is due to gl not handling complex (non convex) polys and glu's tesselator
doesnt work... for some reason...

well just need to make imlib2's polys anti-alias and that will get some handled
I need to fix the line rendering so it handles being clipped better.


SVN revision: 3575
2000-10-12 13:57:49 +00:00
Carsten Haitzler 53b3a6face start of polygon drawing support...
SVN revision: 3574
2000-10-12 00:26:34 +00:00
Carsten Haitzler e5f8c61ec8 update functions in oepng-less empty prototypes
SVN revision: 3539
2000-09-23 15:03:39 +00:00
Carsten Haitzler c1e76e2244 fix mimpmap bug for wierd scalings.....
SVN revision: 3534
2000-09-20 23:24:52 +00:00
Carsten Haitzler ff01c864a4 allow color allocation policy to be set in evas
SVN revision: 3473
2000-09-15 15:04:48 +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 54af8d51ff routiens for mroe text info.....
SVN revision: 3454
2000-09-13 17:11:53 +00:00
Carsten Haitzler d660812fe8 add font ascent/descent checking
SVN revision: 3442
2000-09-13 15:08:05 +00:00
Carsten Haitzler 11fcd34b25 much better - fix that function name
SVN revision: 3188
2000-08-20 07:31:45 +00:00
Carsten Haitzler 5c0c1289d6 endianess chekc for texture gneration
SVN revision: 3118
2000-08-14 16:43:52 +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 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 c72ef1301d 2 more text geometry rotuines......... um........ done! :)
SVN revision: 3088
2000-08-10 22:12:42 +00:00
Carsten Haitzler 905635f680 whooooppppppeeeeeeeeeeeeeeeeee!
gl image enign handles disparate src and dest rects fine. it also handles
border scaling for images.... after a lot fo work and fiddling.


SVN revision: 3082
2000-08-10 10:14:55 +00:00
Carsten Haitzler 90931dce51 gradients work in gl part
SVN revision: 3081
2000-08-10 04:20:29 +00:00
Carsten Haitzler fd578d9ec9 aaaaaaaaaah errrrrrr .... stuff!
SVN revision: 3068
2000-08-08 01:55:28 +00:00
Carsten Haitzler a3456bfe2e rectangles and lines done both evas and imlbi2 ends
SVN revision: 3055
2000-08-07 03:11:05 +00:00
Carsten Haitzler 4ccd9a636f woop! font freeing/caching now in.......... woooooo!
SVN revision: 3054
2000-08-07 01:54:22 +00:00
Carsten Haitzler 40b2aef29a aa fonts in evas1 wooop!
SVN revision: 3052
2000-08-07 00:50:40 +00:00
Carsten Haitzler d1292cc4f7 more routines - working on gl font engine.
SVN revision: 3047
2000-08-06 21:19:37 +00:00
Carsten Haitzler 4700f60fa0 more params......
SVN revision: 3037
2000-08-06 06:01:25 +00:00
Carsten Haitzler 97e973c6e8 imlib 2 backend works now too :).
SVN revision: 3035
2000-08-06 04:53:53 +00:00
Carsten Haitzler c802275f05 framework for imlib2 backend. - ne3ed at least another sample.....
SVN revision: 3033
2000-08-06 02:06:24 +00:00
Carsten Haitzler 6ebe6bf466 cleaing up code.. loosk much nicer now
SVN revision: 3029
2000-08-06 00:26:34 +00:00