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
Carsten Haitzler
75c2ebe3e8
and only include render header if we have render....
...
SVN revision: 3656
2000-10-19 23:13:26 +00:00
Carsten Haitzler
261a868816
add some code ro render routines to hanbdle render extension... not much yet
...
SVN revision: 3654
2000-10-19 22:15:16 +00:00
Carsten Haitzler
8a740e5fa4
stubs for Xfree86 Render extension support. STUBS only now. will get filled in
...
as soon as i have this puppy installed and working
SVN revision: 3651
2000-10-18 00:48:25 +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
f0d30c41b1
commit pabs's fix for -ansi -pedantic compiling
...
SVN revision: 3637
2000-10-16 23:18:22 +00:00
Carsten Haitzler
3a11bc158a
added save file flag for old evas test and fixe dimage buffer rendering to work
...
again
SVN revision: 3630
2000-10-15 19:54:36 +00:00
Carsten Haitzler
2779c6f133
image renderer works withotu needing display info
...
SVN revision: 3627
2000-10-15 18:51:38 +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
28920da8b3
region obscuring code. this should provide for apps using evas to indicate
...
whihc retcangles of the evas are completely obsucred by covering windows
so evas doesn't render things it doesn't need to (ie they can't be seen).
SVN revision: 3619
2000-10-15 03:11:11 +00:00
Carsten Haitzler
a50730a3ee
try indiect if direct dont work
...
SVN revision: 3611
2000-10-14 19:09:37 +00:00
Carsten Haitzler
90a89420b2
add ungrab call for when butotn is down on object but u want to have it
...
ugrabbed to events/callback can proceed as per normal
SVN revision: 3605
2000-10-14 03:41:11 +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
aa911f3052
some new api calls :)
...
SVN revision: 3592
2000-10-13 18:00:48 +00:00
Carsten Haitzler
741da1d72e
test program handles color alpha blended mouse pointer a little better now :)
...
SVN revision: 3590
2000-10-13 13:55:02 +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
3a3ebbca58
i forgot what i did - but it's good whatever it is....
...
SVN revision: 3567
2000-10-06 13:29:30 +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
e5f8c61ec8
update functions in oepng-less empty prototypes
...
SVN revision: 3539
2000-09-23 15:03:39 +00:00
Carsten Haitzler
18a02a137c
new test program started work on (old test is evas_test_old)
...
SVN revision: 3536
2000-09-22 01:12:52 +00:00
Carsten Haitzler
c1e76e2244
fix mimpmap bug for wierd scalings.....
...
SVN revision: 3534
2000-09-20 23:24:52 +00:00
Carsten Haitzler
8923422a2e
add code to double check object type before doing anything to objects
...
SVN revision: 3523
2000-09-18 02:22:04 +00:00
Carsten Haitzler
e7c086bd57
mo mo
...
SVN revision: 3518
2000-09-17 22:39:20 +00:00
Carsten Haitzler
7ac1ecc932
much better! dithe rpatterns match for eect updates - fix leak
...
SVN revision: 3514
2000-09-17 21:53:30 +00:00
Carsten Haitzler
e2ee27d9f6
lines now work
...
SVN revision: 3512
2000-09-17 20:35:12 +00:00
Carsten Haitzler
fc7f0b3908
fix that mask leak
...
SVN revision: 3511
2000-09-17 20:16:22 +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
8641c36e33
ok - thats a litle better perfromance
...
SVN revision: 3506
2000-09-17 18:16:53 +00:00
Carsten Haitzler
240dc97f4c
x11 engine code added - only partially works
...
SVN revision: 3503
2000-09-17 06:30:44 +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
b155d7063a
fix minor problem there.........
...
SVN revision: 3483
2000-09-15 23:49:25 +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
ff01c864a4
allow color allocation policy to be set in evas
...
SVN revision: 3473
2000-09-15 15:04:48 +00:00
Carsten Haitzler
f0563a7bfa
only init once
...
SVN revision: 3472
2000-09-15 14:40:26 +00:00
Carsten Haitzler
2c9afe3d84
same here
...
SVN revision: 3471
2000-09-15 14:38:14 +00:00
Carsten Haitzler
7513d0ab8e
dont call visual and colormap inits
...
SVN revision: 3470
2000-09-15 14:37:47 +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
3a1fb0355c
add the api routines to query the text objects
...
SVN revision: 3455
2000-09-13 17:19:38 +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
71d101387e
dont need that file
...
SVN revision: 3441
2000-09-13 14:43:21 +00:00
Carsten Haitzler
85188b4c49
silly - move that free
...
SVN revision: 3323
2000-09-05 17:20:10 +00:00
Carsten Haitzler
f59266a099
double free of callbakcs! no no no - don't do that!
...
SVN revision: 3315
2000-09-04 23:01:03 +00:00
Carsten Haitzler
738f9d5fea
slight stakcing chnage redraw problem - didnt queue a redraw if stacking
...
changed (ie raise or lower)
SVN revision: 3288
2000-08-31 23:30:54 +00:00
Carsten Haitzler
afe928e120
missing border attribute setting on render.
...
SVN revision: 3272
2000-08-28 23:40:38 +00:00
pabs
48f4745b8d
evas_get_color() attempts to dereference and write to every color
...
channel ptr without checking to see if it's null. -- ie things like
evas_get_color(evas, obj, &r, &g, &b, 0) will actually work now.
raster is a naugty boy. no pudding for raster tonight.
SVN revision: 3266
2000-08-27 01:54:14 +00:00
Mandrake
2501387eae
hush cvs don't say a word
...
SVN revision: 3229
2000-08-22 19:15:52 +00:00
Carsten Haitzler
0fb877cf9f
add some more query calls.
...
SVN revision: 3226
2000-08-22 07:02:35 +00:00
Carsten Haitzler
22a8ecd6fb
evas-config scritp added
...
SVN revision: 3220
2000-08-22 04:26:18 +00:00
Carsten Haitzler
eb7ec35dbc
fix line draw bug - add event pass through flag for objects
...
SVN revision: 3219
2000-08-22 03:45:58 +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
5173a08776
get geometyr right when changing text
...
SVN revision: 3192
2000-08-20 20:31:08 +00:00
Carsten Haitzler
11fcd34b25
much better - fix that function name
...
SVN revision: 3188
2000-08-20 07:31:45 +00:00
Carsten Haitzler
cabfad7522
add that
...
SVN revision: 3187
2000-08-20 07:28:43 +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
da571e5aac
better gl lib/header checkign in configure
...
SVN revision: 3121
2000-08-14 21:49:03 +00:00
Carsten Haitzler
8cef1bc011
test uses evas inlcudes in tarball not system
...
SVN revision: 3119
2000-08-14 17:42:24 +00:00
Carsten Haitzler
5c0c1289d6
endianess chekc for texture gneration
...
SVN revision: 3118
2000-08-14 16:43:52 +00:00
Carsten Haitzler
aaf7e4ffb9
clean clean
...
SVN revision: 3117
2000-08-14 07:01:00 +00:00
Carsten Haitzler
e7d5045576
oops bugs in line backend for imlb - fixed :)
...
SVN revision: 3116
2000-08-14 06:53:30 +00:00
Carsten Haitzler
28d61bace7
default fotn cache and image cache for imlib subsystem are bigger
...
SVN revision: 3115
2000-08-14 06:44:07 +00:00
Carsten Haitzler
0a73a07edf
gradients added and work
...
SVN revision: 3114
2000-08-14 06:37:51 +00:00
Carsten Haitzler
842031ebaa
lines and rectangles work. woop! :)
...
SVN revision: 3113
2000-08-14 05:41:56 +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
bcb7bcea6c
dont need bits code.. that will go in another lib - higher level than a canvas
...
item IMHO
SVN revision: 3110
2000-08-13 22:57:22 +00:00
Carsten Haitzler
fc068cdd82
eas now handles fill params for image. tile and offset of image to be filled
...
within an image object. just a conveneint tile & svcale and offset fill method
for programs.
SVN revision: 3109
2000-08-13 22:45:48 +00:00
Carsten Haitzler
95353b03d2
a bit cleaner now too :)
...
SVN revision: 3097
2000-08-13 06:10:02 +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
cda8d8b1b8
fix trails
...
SVN revision: 3091
2000-08-11 08:32:03 +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
96ac5710df
tsted it.... and it works :)
...
SVN revision: 3056
2000-08-07 03:13:32 +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