doursse
0fd75a462a
move pipe function declarations to their own file
...
SVN revision: 35064
2008-07-11 08:21:25 +00:00
doursse
493eb069a3
* remove trailing spaces in evas_pipe.c
...
* move scale function declarations to their own files
SVN revision: 35063
2008-07-11 06:36:30 +00:00
doursse
739be5c6b7
move evas_convert_main.h to evas_common.h
...
SVN revision: 35062
2008-07-11 05:50:56 +00:00
doursse
2679ced73b
move evas_object_list declaration from evas_common.h to Evas_Data.h
...
SVN revision: 35061
2008-07-11 05:42:44 +00:00
doursse
312b0dfc6c
add header files to the distribution
...
SVN revision: 35059
2008-07-10 22:58:04 +00:00
doursse
fb9313c024
* move convert function declarations to their own header file
...
* add vim header in the files I modified
* fix minor warnings
i think i don't break compilation on that commit :)
SVN revision: 35058
2008-07-10 22:53:33 +00:00
Carsten Haitzler
5b74833dfb
broke evas! change other evas_common_array calls to be evas_array! :)
...
SVN revision: 35056
2008-07-10 21:14:44 +00:00
doursse
b5011a094e
evas_common_array_hash_free --> evas_array_hash_free
...
SVN revision: 35054
2008-07-10 18:12:45 +00:00
doursse
0760cc6776
evas_common_array_hash_free --> evas_array_hash_free
...
SVN revision: 35053
2008-07-10 18:08:18 +00:00
doursse
9b35bc26f3
* move evas_mempool from main.c to it's own file in data/ as it's only
...
used by evas_list
* add a header files for evas_cache, evas_path and evas_module
* remove trailing spaces in evas_list.c
SVN revision: 35052
2008-07-10 16:38:54 +00:00
doursse
11a6fd276c
fix comment
...
SVN revision: 35043
2008-07-09 16:56:33 +00:00
doursse
993697fec7
* move _Evas_Object_List and _Evas_Hash structures to Evas_Data.h
...
* move Evas_Array_Hash and Evas_Object_List declarations to Evas_Data.h
* move evas_array_hash.c from engines/common/ to data/
* remove Evas_Array_Double_Hash declaration (not used)
SVN revision: 35042
2008-07-09 16:50:33 +00:00
Carsten Haitzler
3242217c16
cedric rect + arrays patch for reducing allocs
...
SVN revision: 35024
2008-07-07 21:29:29 +00:00
doursse
72803ae3e7
update software xcb engine to use the latest cache system
...
SVN revision: 35019
2008-07-07 19:22:20 +00:00
doursse
2bda662d65
add Evas_Data.h to the headers to be installed
...
SVN revision: 34975
2008-07-02 04:46:20 +00:00
doursse
a9e090a81b
* move Evas_Hash_El from evas_common.h to evas_hash.c as
...
it is not used outside evas_hash.c
* move data types api from Evas.h to Evas_Data.h
SVN revision: 34974
2008-07-02 04:44:38 +00:00
Carsten Haitzler
6f480338d4
cover up segv where somehow the alpha flag is set in the 16bit engine but the
...
alpha pixel pointer is NULL. couldn't see where that happens, but it's now
protected against it.
SVN revision: 34968
2008-07-02 00:57:26 +00:00
doursse
448faf03a5
speed up glew engine compilation
...
SVN revision: 34945
2008-06-29 14:09:26 +00:00
Gustavo Sverzut Barbieri
d6b97fd852
Destroy pthread_attr when we do not need it anymore.
...
pthread manual says it is safe to destroy them after they are used
with pthread_create: "If the attributes specified by attr are modified
later, the thread���s attributes shall not be affected."
SVN revision: 34937
2008-06-28 15:29:57 +00:00
Peter Wehrfritz
254d60b8a4
add documentation stubs for the textblock
...
SVN revision: 34935
2008-06-28 10:55:58 +00:00
doursse
cf5d5718e2
put initialisation of glew in the engine, update the engine so that it uses the cache system
...
SVN revision: 34912
2008-06-26 08:29:25 +00:00
doursse
3d95a7bf7e
do not use dladdr on MinGW platform
...
SVN revision: 34905
2008-06-25 06:47:11 +00:00
doursse
23488e9a60
put directdraw initialisation in the engine. use the evas cache
...
SVN revision: 34903
2008-06-25 06:40:10 +00:00
Carsten Haitzler
d8288d5531
bad *alloc! bad sizeof usage. bad! :)
...
SVN revision: 34856
2008-06-19 04:09:33 +00:00
Cedric BAIL
c5ecd8819e
Remove unused file.
...
SVN revision: 34844
2008-06-17 13:31:13 +00:00
Cedric BAIL
2ebe01d957
Correct the removal of an object.
...
SVN revision: 34842
2008-06-17 11:24:48 +00:00
Cedric BAIL
3796312acf
Cleanly handle evas_object_release.
...
SVN revision: 34841
2008-06-17 09:04:12 +00:00
Carsten Haitzler
d4e8f592bb
fix arrya state engin issue... redraws vanishing. fixed!
...
SVN revision: 34808
2008-06-12 13:22:26 +00:00
Cedric BAIL
4c9f900c60
Check the correct colorspace.
...
SVN revision: 34796
2008-06-10 14:21:06 +00:00
Cedric BAIL
0de14ee3ef
Use display list for OpenGL polygons implementation. This improve speed on
...
my computer in expedite test bench from 400 to 650.
SVN revision: 34795
2008-06-10 12:18:54 +00:00
Cedric BAIL
7711f12d8e
Use directly Image_Entry when possible.
...
SVN revision: 34792
2008-06-10 09:22:27 +00:00
Cedric BAIL
346b2c922d
Fix width correctly depending on colorspace.
...
SVN revision: 34791
2008-06-10 09:20:41 +00:00
Cedric BAIL
47bf4e1999
cvsignore++
...
SVN revision: 34778
2008-06-09 08:59:09 +00:00
doursse
4e78b97de8
Fix engine wrt the latest changes in evas. Add error messages
...
SVN revision: 34757
2008-06-06 12:14:01 +00:00
Cedric BAIL
6a1b1c5ef9
Forgot to update the current allocated space.
...
SVN revision: 34744
2008-06-05 08:12:25 +00:00
Cedric BAIL
e95f38aed8
Remove now useless code to force evas_render cache invalidation.
...
SVN revision: 34738
2008-06-04 16:44:05 +00:00
Cedric BAIL
eaedf88d4d
Fix osbcuring case with evas_render cache.
...
SVN revision: 34737
2008-06-04 16:42:39 +00:00
Cedric BAIL
1a1f807026
Their should be no direct modification of Evas_Object changed flag.
...
SVN revision: 34736
2008-06-04 16:41:16 +00:00
Cedric BAIL
55bc10d2a0
Add evas_array_remove.
...
SVN revision: 34735
2008-06-04 16:39:43 +00:00
Cedric BAIL
2b8c136ad9
Fix a little bug with alpha flags not being correctly set.
...
SVN revision: 34734
2008-06-04 08:20:39 +00:00
Gustavo Sverzut Barbieri
b802f4c94a
Add evas_object_event_callback_del_full()
...
This will check both function and data before removing the callback,
this is useful when you have lots of children monitoring parent, when
one child want to remove its monitoring function, others will remain.
Name is quite difficult to choose, I opted for "_full", but could be
"_with_data" or similar.
SVN revision: 34731
2008-06-03 20:33:40 +00:00
Cedric BAIL
9feac9ef8b
Fix common 16bpp engine use of alpha.
...
SVN revision: 34729
2008-06-03 14:45:39 +00:00
Cedric BAIL
d102e3db82
* Make RGBA_IMAGE_HAS_ALPHA and RGBA_IMAGE_ALPHA_SPARSE part of
...
Image_Entry flag structure. This fix a bug with 16 bpp software engine.
* Change image loader module API to take any Image_Entry. Same goes
for evas_common_image_premul and evas_common_image_set_alpha_sparse.
* Use new eet API: eet_data_image_read_to_surface.
SVN revision: 34728
2008-06-03 09:09:39 +00:00
doursse
03109fff6c
add cvsignore
...
SVN revision: 34724
2008-06-02 06:40:26 +00:00
Carsten Haitzler
c510afbd8e
end_opt not needed there.
...
SVN revision: 34715
2008-06-01 00:40:58 +00:00
Carsten Haitzler
7752c8a3e5
and fix the gradient bug - yes. it is a GRADIENT BUG. you emms() when u are
...
totally done and may hand control back to a non rendering codepath - or
before u do any fp ops u are unsure of the cpu state beforehand. see the big
fat comment.
i was right. it was a missing emms.
SVN revision: 34707
2008-05-31 04:16:39 +00:00
Cedric BAIL
0c85857e57
Fix a typo.
...
SVN revision: 34701
2008-05-30 13:55:51 +00:00
Cedric BAIL
0ca6c0a0bb
Add a private data member to cache image structure.
...
SVN revision: 34700
2008-05-30 13:33:40 +00:00
doursse
7f47953b78
missing EAPI in front of evas_common_gradient_geometer_get()
...
other gradient related functions (lines 1138 - 1143) seem to
be used only internally. Maybe we should move them elsewhere.
SVN revision: 34694
2008-05-30 05:56:53 +00:00
doursse
37eed61ee8
put unistd.h after sys/types.h. Seems to be needed for vc++. Thanks to Dmitriy Mazovka
...
SVN revision: 34691
2008-05-29 05:48:16 +00:00
doursse
ff73a369c4
reorganise a bit the output of configure for the engines: display
...
the buffer one at first (always compiled), then Xlib ones, XCB ones,
Windows ones, followed by others less used (SDL, FB, Qtopia). I
let the 16 bits ones at the end in the same order (Xlib, Windows, SDL).
SVN revision: 34690
2008-05-29 05:43:12 +00:00
Carsten Haitzler
43821d36e4
* add efreet garbage data check
...
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now
SVN revision: 34689
2008-05-29 02:00:04 +00:00
Gustavo Sverzut Barbieri
41e5ba66b6
Mark as dirty, fixes emotion usage.
...
SVN revision: 34687
2008-05-28 19:27:41 +00:00
Gustavo Sverzut Barbieri
40a63c7965
Fix typo!
...
SVN revision: 34686
2008-05-28 18:00:04 +00:00
Cedric BAIL
eaa23bebce
Replace evas_list used by evas_render by a cache of evas_array.
...
README: This should not break any EFL applications, but please check and report any breakage to me.
SVN revision: 34677
2008-05-26 13:24:24 +00:00
Cedric BAIL
c766fe91db
Add array type to evas.
...
SVN revision: 34676
2008-05-26 13:17:12 +00:00
Cedric BAIL
777410eac2
Make the most used functions inline functions.
...
SVN revision: 34675
2008-05-26 13:08:54 +00:00
doursse
9e83f3f72a
remove space
...
SVN revision: 34669
2008-05-25 18:22:00 +00:00
doursse
b9ac050dd2
add DirectDraw backend. Seems faster on pda's that have it
...
SVN revision: 34668
2008-05-25 17:39:48 +00:00
doursse
5ce3b6752b
fix compilation with a c++ compiler, add EAPI in front of all cache function declarations
...
SVN revision: 34659
2008-05-24 18:26:51 +00:00
doursse
51e193610d
remove debug printf
...
SVN revision: 34652
2008-05-23 18:57:40 +00:00
doursse
0f071fe71d
* put key management outside the engine. It's not its place in it
...
* make Ipaq H38xx and H39xx work with the framebuffer
SVN revision: 34650
2008-05-23 18:26:41 +00:00
doursse
a1e64a5e9c
fix framebuffer address on Ipaq H38xx and H39xx. GAPI is really really broken on these devices
...
SVN revision: 34642
2008-05-22 11:00:01 +00:00
doursse
4d7eac659d
fix keys on Ipaq H38xx and H39xx
...
SVN revision: 34641
2008-05-22 10:40:40 +00:00
Cedric BAIL
0e253aaca6
Their is no more allocation with evas_object_list. Remove useless test.
...
SVN revision: 34633
2008-05-21 12:23:47 +00:00
Gustavo Sverzut Barbieri
a4ed92a1a5
Remove bugs with bitfield usage, make boolean usage clear.
...
This patch fixes the problem with bitfield of signed types (ie: char),
where the bit would be used for the signal, so 1 is considered -0 and
thus 0.
Move all the single bit fields to Evas_Bool, making it clear and also
avoiding these problems since Evas_Bool is unsigned char.
SVN revision: 34631
2008-05-20 20:56:39 +00:00
Carsten Haitzler
906040dab0
add a cancel to all mouse butotn presses
...
SVN revision: 34607
2008-05-19 04:15:22 +00:00
Carsten Haitzler
cd0fd38a9c
add file
...
SVN revision: 34606
2008-05-19 03:37:37 +00:00
Carsten Haitzler
0d42705593
adapt to newer valgrind goop
...
SVN revision: 34605
2008-05-19 03:29:54 +00:00
Carsten Haitzler
5887bde860
colorspace stuff in cvs.
...
SVN revision: 34604
2008-05-19 03:13:16 +00:00
Carsten Haitzler
6982d7fb37
pass make distcheck and a snapshot asparagus release - been a while
...
SVN revision: 34600
2008-05-19 00:07:12 +00:00
doursse
37607b5e8e
config.h is already included in evas_common.h
...
SVN revision: 34599
2008-05-18 22:28:10 +00:00
doursse
fb826a2200
remove trailing spaces
...
SVN revision: 34586
2008-05-16 04:55:31 +00:00
Cedric BAIL
b85c0672c4
Update the stride when needed.
...
SVN revision: 34566
2008-05-14 16:38:36 +00:00
Peter Wehrfritz
bb1f257f5f
build again
...
SVN revision: 34565
2008-05-14 11:26:29 +00:00
doursse
db311f0b05
wrong inclusion of Evas.h
...
SVN revision: 34561
2008-05-13 20:58:15 +00:00
Gustavo Sverzut Barbieri
782e77d9ae
Remove DirectFB, will add a new one based on SDL code.
...
Remove DirectFB, will create a new one based on SDL.
SVN revision: 34559
2008-05-13 19:32:00 +00:00
doursse
d7e2cb5163
Ipaq H38** and H39** are considered as landscape device because of their uglyness
...
SVN revision: 34517
2008-05-09 23:12:00 +00:00
Christopher Michael
355b22f3a7
Add missing prototype for _evas_cache_image_entry_delete because it was
...
being used before the function was defined.
SVN revision: 34516
2008-05-09 19:04:49 +00:00
Cedric BAIL
d31b0db3ca
Fix a bug when a file change when it's still in use. Thanks to Adriano Rezende for helping tracking the bug.
...
SVN revision: 34513
2008-05-09 16:18:18 +00:00
Carsten Haitzler
6c439dbd46
stringshare buckets -> 1024 + debugging for testing.
...
SVN revision: 34509
2008-05-08 08:34:55 +00:00
doursse
340d0ed554
remove a possible seg fault when DestroyWindow() is called
...
SVN revision: 34507
2008-05-08 06:46:26 +00:00
Cedric BAIL
5f41def624
Only call the allocation surface when required and correctly handle no_free.
...
SVN revision: 34480
2008-05-06 11:20:29 +00:00
Cedric BAIL
abf7191322
Add some message when testing configure parameter.
...
SVN revision: 34478
2008-05-06 09:33:06 +00:00
kaethorn
39689b953b
fix Debian packaging.
...
SVN revision: 34475
2008-05-06 08:37:29 +00:00
kaethorn
a7d00c7674
Debian package dependency from libeet0 -> libeet1.
...
SVN revision: 34469
2008-05-06 02:10:50 +00:00
Carsten Haitzler
866666fe33
lutin patch to make pthread strictable
...
SVN revision: 34462
2008-05-05 09:21:15 +00:00
Carsten Haitzler
0688234e2f
notes - cedric... i think i may have found a problem here...
...
SVN revision: 34443
2008-05-03 08:31:26 +00:00
Carsten Haitzler
42facfffe6
1. dont free/realoc if no_free is set.
...
2. free then malloc otherwise realloc might ALSO have to memcpy if it cant
resize the segment whihc means overhead we dont need/want.
SVN revision: 34441
2008-05-03 06:38:45 +00:00
Carsten Haitzler
14e2187305
get rid of 0 byte alloc
...
SVN revision: 34440
2008-05-03 05:33:26 +00:00
Gustavo Sverzut Barbieri
f89e8850c2
Fix users of evas_object_layer_set() outside the "short" range.
...
This also introduces EVAS_LAYER_MIN and EVAS_LAYER_MAX for ease of use.
SVN revision: 34421
2008-05-01 06:39:27 +00:00
Gustavo Sverzut Barbieri
27437c83cf
Make layer number a short and Save 8 bytes.
...
By having a layer as a short (16 bits) we can pack it together with
the bitfields, saving 4 bytes per sub-struct, 8 bytes in total, also
bringing the struct down from 4 to 3 cachelines on my laptop.
Rationale: layers are mostly used to differentiate groups of objects
and they stacking, usually we have few layers and we use very large or
very small numbers to make a layer be at the top or at the bottom, but
usually we don't need so many layers.
Caution: code that use values like 999999 will break, so fix your
code! I'll provide another patch to fix all the CVS using these large
values.
SVN revision: 34420
2008-05-01 06:18:21 +00:00
Gustavo Sverzut Barbieri
7a82a3e43d
Save 20 bytes moving smart data to its specific object struct.
...
This saves 20 bytes, bringing Evas_Object to 200 bytes, by moving data
specific to smart objects to their own struct (Evas_Object_Smart).
There is still one remaining member that could be removed:
smart.smart, this is used mainly to identify if one object is a smart
object or not. One possibility would be to add a bitfield to state
that, but another possibility is to check Evas_Object::object_data
and see if it's a smart or not.
SVN revision: 34419
2008-05-01 05:48:03 +00:00
Gustavo Sverzut Barbieri
4bc8043a10
Save 8 bytes from Evas_Object by packing interpolation.color_space.
...
Interpolation color_space (now ASHV or ARGB) was being used inside a
struct with 4 byte alignment. Remove it from the struct and make it a
bitfield so can be packed with the other fields. This saves 2
integers, so 8 bytes.
SVN revision: 34418
2008-05-01 04:14:08 +00:00
Gustavo Sverzut Barbieri
625e124f05
Reorganize Evas_Object to save 20 bytes.
...
This is a repack of bitfield members, was tested on GNU/Linux + GCC 4.1.2
and works fine. Needs further testing on other compilers.
SVN revision: 34417
2008-05-01 03:52:20 +00:00
Gustavo Sverzut Barbieri
80f8e23d77
Use more specific types in Evas_Object.
...
SVN revision: 34416
2008-05-01 03:42:21 +00:00
Gustavo Sverzut Barbieri
14cf29eede
Use Evas_Coord_Rectangle in evas_object_image.c
...
SVN revision: 34415
2008-05-01 00:09:39 +00:00
Gustavo Sverzut Barbieri
29549249c4
Cosmetic: add name to structs: Evas_Coord_Rectangle.
...
Non-intrusive change to name structs of Evas_Coord x, y, w, h.
TODO: intrusive changes to use this struct, will need to fix ".c"
SVN revision: 34414
2008-04-30 23:58:43 +00:00
Gustavo Sverzut Barbieri
dbf35460a6
Cosmetic: Visual alignment of member name.
...
SVN revision: 34413
2008-04-30 23:44:03 +00:00
Gustavo Sverzut Barbieri
b46fc2a2f4
Save memory related to size hints.
...
Size hints are useful, but wasting 36 bytes for it on every object is a bit
too much: clippers and lots of other objects will have no need for it.
Now it's a pointer to a struct that will be allocated just when some value
is set, wasting 4/8 bytes more for the pointer when it is used, but saving
32/28 bytes when it is not.
This will also help to have alignment properties in future, that can come
as hints, without too much impact on memory consumption.
SVN revision: 34412
2008-04-30 22:51:08 +00:00