Carsten Haitzler
7b1247042b
and lets make that safe for smart obbies
...
SVN revision: 6599
2003-01-20 04:36:17 +00:00
Carsten Haitzler
1512080561
make this baby an int
...
SVN revision: 6598
2003-01-20 03:55:41 +00:00
Carsten Haitzler
de9b6b3ca0
ok ok.. callabcks walking lists.. delete flags... you get the idea. (i've
...
known about this for a long tiem and planned on fixing ti eventualyl... but
it's biting now.)
SVN revision: 6597
2003-01-20 03:54:00 +00:00
technikolor
8027de6bd8
Two minor fixes:
...
1) Added 3 prototypes to evas_test_main.h for setdown, scroll_setdown, and scroll_setup.
GCC prints a warning for first declaration without a proto, but other compilers (FORTE) error on it.
2) Added type to did_fps, currently a boolian var, which was declaired only static... typed it as int.
benr.
SVN revision: 6595
2003-01-19 06:23:25 +00:00
Carsten Haitzler
9b184f9bdf
dont need fmemopen suppor tin evas now... just sue eet directly and dont
...
duplicate code...
SVN revision: 6578
2003-01-13 07:38:08 +00:00
Carsten Haitzler
7c80fa9a3e
logic problem on evas_free(). shoudl be fixed now... :)
...
SVN revision: 6559
2003-01-10 05:38:47 +00:00
Carsten Haitzler
3f207b8c08
const-ify lots of things...
...
SVN revision: 6558
2003-01-10 04:58:51 +00:00
Carsten Haitzler
124d4a8909
and dont leak
...
SVN revision: 6557
2003-01-10 02:07:23 +00:00
Carsten Haitzler
8e3e8c5848
resolve symlinks...
...
SVN revision: 6556
2003-01-10 02:05:37 +00:00
Carsten Haitzler
6494104a2b
aaaaaaaaah freetype 2.1.3 bugs TOO! bloody hell! ft gets BUGGIER as it goes!
...
:) hehehe.. ok ok - everyone USE 2.0.3!
SVN revision: 6555
2003-01-09 07:41:22 +00:00
Carsten Haitzler
47280739ac
oh my wordy lordy me.. too accurate for its own good soi've had to fidge to
...
overlap parts as the positioning is done in 24.8 space not integer space
SVN revision: 6553
2003-01-08 06:39:38 +00:00
Carsten Haitzler
6e8c67d976
apparently i updated something...
...
SVN revision: 6551
2003-01-08 04:33:33 +00:00
Carsten Haitzler
b8a94c7204
ok - dont disable printf output... for debugging
...
SVN revision: 6550
2003-01-08 01:02:21 +00:00
Carsten Haitzler
4efc12acd1
PROPER benchmarking now...
...
SVN revision: 6549
2003-01-08 00:38:18 +00:00
Carsten Haitzler
0c6cc60962
ok. good stats now
...
SVN revision: 6548
2003-01-07 23:41:40 +00:00
Carsten Haitzler
6a25c57a51
evas_test will now tell u fps...
...
SVN revision: 6547
2003-01-07 23:38:24 +00:00
Carsten Haitzler
8451b5cc08
key grabs are done... ok not as efficiently as i'd liek so having more than
...
a dozen key grabs at any time may impact key event handling a little...
oh yeah.. added to the api .. now theres a modifier mask and a not_mask. the
not mas means "grab the key only if NONE of these modifiers are active and
only if one or more of the mask modifiers are active). using this you can
easily select allmodifiers, none, or a certain set of modifiers. if you need
more than that put in multiple grabs then :) to just have that exact set of
modifiers grabbed have not_mask be the inverse of mask. :)
SVN revision: 6546
2003-01-05 12:55:37 +00:00
Carsten Haitzler
764c0c1311
where did this go?
...
SVN revision: 6540
2002-12-31 03:04:14 +00:00
Carsten Haitzler
f0a1fe6e28
commit...
...
SVN revision: 6539
2002-12-31 03:00:04 +00:00
Carsten Haitzler
42d0fea781
bah bah bah.... 8-P~
...
SVN revision: 6534
2002-12-30 05:31:35 +00:00
Carsten Haitzler
6bdb5980a0
ok.. a dfb bug.. i have to safeguard...
...
SVN revision: 6533
2002-12-30 02:04:44 +00:00
Carsten Haitzler
b77e71b077
maybe debians include system might be happier now...
...
SVN revision: 6532
2002-12-30 00:48:39 +00:00
Carsten Haitzler
afb292ec39
fix dfb window test proggy.. flip properly :)
...
SVN revision: 6531
2002-12-30 00:07:12 +00:00
sleuth
c08fc73731
Minor evas fix for char position usage.
...
Kevin Brosius <cobra@compuserve.com>
SVN revision: 6529
2002-12-29 17:57:37 +00:00
Carsten Haitzler
01a3ea467f
and... fix the smooth scaler.. i had a 32bit overflow there for when images
...
get bigger than 2048x2048 and i scale them up... :)
SVN revision: 6527
2002-12-29 02:54:47 +00:00
Carsten Haitzler
d1d3b62ebe
hmm. forgot to translate text coords form queries.. and some glyph vs char
...
pos bugs
SVN revision: 6526
2002-12-29 02:09:34 +00:00
Carsten Haitzler
866bf9121e
oops.. return POSTION, not glyph value!
...
SVN revision: 6525
2002-12-29 01:49:07 +00:00
Carsten Haitzler
81fd6f6c3d
code code.. fix
...
SVN revision: 6496
2002-12-18 06:02:32 +00:00
Carsten Haitzler
c96c2d8d50
oops.. segv in dfb driver.. fix fix
...
SVN revision: 6494
2002-12-17 07:08:20 +00:00
Carsten Haitzler
beb924c23e
keyboard support... key grabs dont work.. and i'm not happy with it as an
...
api causeti doesnt support modifiers when grabbing in the api.
SVN revision: 6493
2002-12-17 00:00:38 +00:00
Carsten Haitzler
f837c83cc7
informers now are just event callbacks. makes for a simpler api. interceptors
...
are done now too - when an interceptor is set it takes over from the actual
call it intercepts and now that call is responsible for doing the
move/resize/raise/lower etc. (method overriding)
SVN revision: 6490
2002-12-15 00:33:57 +00:00
Carsten Haitzler
72b9af03de
informers & interceptors... meant to "inform" callbacks of when an object
...
has been show, hidden, moved, resized or restacked :) handy for making
widgets (ie child widget got resized.. parent can adjust to fit child widget).
also interceptors.. designed to allow callbacks to intercept move, resize,
show, hide and restacking calls and modiy behavior (handy for widget sets
too!)
SVN revision: 6488
2002-12-10 06:45:18 +00:00
Carsten Haitzler
fab38ef58b
update todo...
...
SVN revision: 6483
2002-12-09 23:00:10 +00:00
Carsten Haitzler
936fe70f8b
rico-suave.
...
SVN revision: 6468
2002-12-01 23:48:19 +00:00
Carsten Haitzler
395f26ce93
some comments...
...
SVN revision: 6464
2002-11-26 07:30:27 +00:00
Carsten Haitzler
21964db51d
more documentation.
...
SVN revision: 6463
2002-11-26 07:28:02 +00:00
Carsten Haitzler
1be4553049
sellies no-more-segv's
...
SVN revision: 6462
2002-11-26 05:25:02 +00:00
Carsten Haitzler
c3e29f8adc
spotted some old debugging code... and fixed up dfb engine to handle sruface
...
proeprly that uses its alpha channle where no objects exist (similar to the
software x11 engine and shape masks etc.)
SVN revision: 6461
2002-11-25 07:42:58 +00:00
Carsten Haitzler
31e88e86b7
work with latest dfb in cvs
...
SVN revision: 6460
2002-11-25 02:11:39 +00:00
Carsten Haitzler
35105b70d8
docs... and memory error stuff... auditing memory allocs and making ti very
...
robust if allocs fail
SVN revision: 6458
2002-11-24 04:06:08 +00:00
Carsten Haitzler
ff53f70023
fix till :)
...
SVN revision: 6455
2002-11-20 06:38:02 +00:00
Carsten Haitzler
bdb3096126
more documentation.
...
SVN revision: 6453
2002-11-20 04:34:05 +00:00
Carsten Haitzler
3dc1dcbd32
the big internal function call renaming happened... and it was good.
...
SVN revision: 6449
2002-11-14 05:38:10 +00:00
Carsten Haitzler
7096a69a1e
code code...
...
SVN revision: 6448
2002-11-14 05:23:54 +00:00
Carsten Haitzler
d4e39fd937
docs on all the evas_list* calls and a few more for completeness
...
SVN revision: 6447
2002-11-13 13:15:30 +00:00
Carsten Haitzler
5e92a0e893
change proposed api...
...
SVN revision: 6446
2002-11-11 11:44:00 +00:00
Carsten Haitzler
56b5e15f26
code move
...
SVN revision: 6445
2002-11-08 08:02:15 +00:00
Carsten Haitzler
5c82257464
in goes new code
...
SVN revision: 6444
2002-11-08 07:46:04 +00:00
Carsten Haitzler
5f5925671c
nuke
...
SVN revision: 6443
2002-11-08 07:43:18 +00:00
Term
fd507f34cd
One line include addition suggested by Kirby Kuehl <kkuehl@cisco.com>.
...
SVN revision: 6123
2002-04-09 20:30:28 +00:00
rephorm
c475e48ead
put this in HEAD too
...
SVN revision: 6099
2002-04-01 04:59:39 +00:00
Carsten Haitzler
ee061acfb5
oops - fix :)
...
SVN revision: 5761
2001-12-09 08:36:31 +00:00
Carsten Haitzler
73dbc3c5de
oops - bugie :)
...
SVN revision: 5760
2001-12-09 08:25:18 +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
fc982b9fa0
you can address objects by name now all image objects by default get a name
...
set as the basename of the file (ie "/tmp/blah/foo.png has the name of
"foo"). you can override the name if u want... or just not use it. should
really use hash table - patch for this from rusty russel :) i need to wokr
on this stuff before 1.0
SVN revision: 5652
2001-11-07 21:20:01 +00:00
Carsten Haitzler
467a45e0eb
copy over ft1 support too... :)
...
SVN revision: 5586
2001-10-28 21:54:19 +00:00
Carsten Haitzler
e1adf3911d
oooh fix fix :)
...
SVN revision: 5579
2001-10-26 05:25:47 +00:00
Carsten Haitzler
79da72cf98
oops :) thanks :)
...
SVN revision: 5572
2001-10-25 06:41:59 +00:00
Carsten Haitzler
b4c3e0e90b
save some ram by backing structs :)
...
SVN revision: 5516
2001-10-19 02:01:37 +00:00
Carsten Haitzler
0791b79e3e
hrrm. a tad more efficient :)
...
SVN revision: 5387
2001-09-28 03:59:50 +00:00
Carsten Haitzler
0b08951cc8
inconsistent naming fo func... fix.. and fix docs.
...
SVN revision: 5386
2001-09-28 03:46:46 +00:00
Carsten Haitzler
f6f41ce6c1
offline working... woo.. woo..
...
SVN revision: 5372
2001-09-24 21:14:56 +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
42ca47106d
and no more printf's
...
SVN revision: 5268
2001-08-24 05:15:16 +00:00
Carsten Haitzler
0d7a6252be
oooops.. i forgot one lump of logic for adding new object if currently the
...
object inthe evas are in layers above the new one.. fix fix oops.. that was
a silly bug... :)
and well.. while i was at it.. some actual code in the render extension
support in the render engine in evas.. it onyl does image objects right
now.. and it doesnt do it very optimally.. consider that engine a work in
progres.. i'm finding what does and doesnt work well in the render extension
and noticing some holes in it... this one wont be ready any time soon
though... and the gl engine is still about 10 times faster on the same
hardware... and in theory both are hardware accelerated...
anyway only time will tell. the render extension doesnt do image
transforms.. so this wont help speed it up at all that much :(
SVN revision: 5267
2001-08-24 04:37:44 +00:00
Carsten Haitzler
5456c1daea
ewwwwps.. set pointer for list to NULL after its freed! :)
...
SVN revision: 5235
2001-08-21 01:38:33 +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
55bba3ab5e
optimize! software enigne image objects will keep a pre-scaled copy IF:
...
1. they are rendered completely unclipped by clip obejcts or edges of the
canvas for more than 16 iterations at the same size with no border scaling
2. it will throw thme out if things chnage
3. it will share image objects only of original size :)
SVN revision: 5139
2001-08-13 09:15:04 +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
d24c1c68d1
try this
...
SVN revision: 4976
2001-07-22 05:16:44 +00:00
Carsten Haitzler
54313012a1
err...
...
SVN revision: 4956
2001-07-17 23:02:17 +00:00
Carsten Haitzler
28fe60de06
oops printf.. remove
...
SVN revision: 4855
2001-06-22 17:08:06 +00:00
Carsten Haitzler
8605282e70
oops double scaling for viewport - fix fix fix :)
...
SVN revision: 4850
2001-06-22 02:27:03 +00:00
Carsten Haitzler
4981c16a2a
oops - didnt translate viewport for obj's other than images
...
SVN revision: 4837
2001-06-19 03:02:54 +00:00
Carsten Haitzler
9528534f0b
fix soem routines that i found incosistent whilst writitng the docs... :)
...
SVN revision: 4826
2001-06-18 01:59:51 +00:00
Carsten Haitzler
9f5ca406a0
up to 0.5.0 versaion for evas.
...
SVN revision: 4680
2001-04-29 05:57:59 +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
ec26f53719
oops leak.. fix fix fix :)
...
SVN revision: 4670
2001-04-23 06:22:30 +00:00
Carsten Haitzler
9413312693
and that woudl fix a segv problem.. wheee..
...
SVN revision: 4667
2001-04-21 18:55:56 +00:00
Carsten Haitzler
3e9ca9ebfa
add call to allow program to query if image object has alpha...
...
SVN revision: 4664
2001-04-20 01:58:57 +00:00
Carsten Haitzler
50855cb22d
fix that minor oversight for scaled ouput evases...
...
SVN revision: 4643
2001-04-17 07:42:52 +00:00
Carsten Haitzler
0590e0712a
oops a printf.. remove
...
SVN revision: 4642
2001-04-17 06:07:24 +00:00
Carsten Haitzler
fa58fc4e94
and set handle to NULL when we're done freeing it....
...
SVN revision: 4637
2001-04-16 19:26:58 +00:00
Carsten Haitzler
47825eb89b
and invalidate held data if u change image file or font (font/size)
...
SVN revision: 4636
2001-04-16 19:18:15 +00:00
Carsten Haitzler
411ec99a57
image cache for eva sis preciselyu that.. cache. image and font data are
...
kept resident as long as the obejct has been rendered at leats once AND it
is still within the viewport of the output of the evas and it is still
visible. if it does not meet these conditiosn it gets put into "Cache" and
only then does cache become an issue. the chancges were nice and small to do
this :)
SVN revision: 4634
2001-04-16 18:38:22 +00:00
Carsten Haitzler
a34b33695c
oops coord transforms form world to screen and back were um.. 1 letter off :)
...
SVN revision: 4609
2001-04-13 19:10:05 +00:00
Carsten Haitzler
bac2f337b0
slight "over optimization" :) fix fix
...
SVN revision: 4602
2001-04-13 01:58:47 +00:00
Carsten Haitzler
da35459d86
god daaaaamn! fix fix fix fix :)
...
SVN revision: 4597
2001-04-12 20:25:43 +00:00
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
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
Carsten Haitzler
4ccd9a636f
woop! font freeing/caching now in.......... woooooo!
...
SVN revision: 3054
2000-08-07 01:54:22 +00:00
Carsten Haitzler
363ed23d29
imlib backend does text now too.. god that was easy!
...
SVN revision: 3053
2000-08-07 01:20:30 +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
Carsten Haitzler
bd2656fd11
more backedn... yum!
...
SVN revision: 3026
2000-08-05 20:11:27 +00:00
Carsten Haitzler
eccb8b7520
blah!
...
SVN revision: 2987
2000-08-03 23:54:32 +00:00
Carsten Haitzler
29d8242835
demo works MUCH better now!
...
SVN revision: 2972
2000-08-02 05:28:28 +00:00
Carsten Haitzler
855ccdc507
balh1
...
SVN revision: 2971
2000-08-02 04:23:04 +00:00
Carsten Haitzler
5631d58659
blah!
...
SVN revision: 2970
2000-08-02 04:01:18 +00:00
Carsten Haitzler
b4a315b048
ewooo- gl routines for evas.. been working on them...... :)
...
SVN revision: 2969
2000-08-02 03:33:11 +00:00
Carsten Haitzler
83dff01c43
tidier
...
SVN revision: 2957
2000-07-31 18:21:54 +00:00
Carsten Haitzler
7c0f7a6f9a
'
...
split that up.....
SVN revision: 2956
2000-07-31 18:06:21 +00:00
Carsten Haitzler
3f4531de45
mo mo mo :)
...
SVN revision: 2955
2000-07-31 17:48:34 +00:00
Carsten Haitzler
67f86603a5
more meat
...
SVN revision: 2945
2000-07-30 22:50:53 +00:00
Carsten Haitzler
cd75e0b1eb
some more meat......
...
SVN revision: 2944
2000-07-30 22:42:55 +00:00
Carsten Haitzler
1c8ee0b297
i think data structs are almost done.......
...
SVN revision: 2943
2000-07-30 21:43:19 +00:00
Carsten Haitzler
b4653f5d19
we have......... objects! :) some primitive inheritance too.
...
SVN revision: 2942
2000-07-30 21:38:57 +00:00
Carsten Haitzler
1fbb067826
ignore more again
...
SVN revision: 2941
2000-07-30 20:44:22 +00:00
Carsten Haitzler
4583957910
ignore more
...
SVN revision: 2940
2000-07-30 20:43:54 +00:00
Carsten Haitzler
6d40404596
'
...
add somehting to ignore..... and some more meat in the headers
SVN revision: 2939
2000-07-30 20:39:43 +00:00
Carsten Haitzler
154f99de7f
evas........
...
SVN revision: 2938
2000-07-30 20:21:14 +00:00