Commit Graph

84 Commits

Author SHA1 Message Date
Cedric BAIL c99824328f Move from Evas_Object_List to Eina_Inlist and completly remove Evas_Object_List.
SVN revision: 36750
2008-10-17 11:23:18 +00:00
Carsten Haitzler 29a4c2a8c2 formatting
SVN revision: 36440
2008-10-05 03:47:52 +00:00
Carsten Haitzler 84218c5694 fix missed assignment
SVN revision: 36435
2008-10-04 17:28:43 +00:00
Carsten Haitzler b2fe56136a fix typo and dont call chnages if no change on size hints.
SVN revision: 36434
2008-10-04 17:10:44 +00:00
Carsten Haitzler a5a9004c5a and init size_hints struct with defaults on alloc.
SVN revision: 36433
2008-10-04 16:57:02 +00:00
Carsten Haitzler 34e595f87a return a "default" max of -1 x -1 - 0x0 max isnt that sensible! (-1 ==
unlimited)



SVN revision: 36432
2008-10-04 16:53:47 +00:00
Carsten Haitzler 204993a635 ok weight default 0
SVN revision: 36431
2008-10-04 16:42:04 +00:00
Carsten Haitzler 09cfefd9dc and have sane default values for weight and align.
SVN revision: 36430
2008-10-04 16:12:48 +00:00
Carsten Haitzler 07447cf079 add align, weight and padding hints for evas objects.
SVN revision: 36429
2008-10-04 16:11:23 +00:00
Carsten Haitzler d06c5e9efb and add a scale factor per object. right now text and textblock use it.
that's about it. a bit hacky - but works and frankly.. the idea is that u'd
set a scale factor once really and not change it per obj... most likely.




SVN revision: 35896
2008-09-09 14:14:26 +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 3242217c16 cedric rect + arrays patch for reducing allocs
SVN revision: 35024
2008-07-07 21:29:29 +00:00
Carsten Haitzler d8288d5531 bad *alloc! bad sizeof usage. bad! :)
SVN revision: 34856
2008-06-19 04:09:33 +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 e95f38aed8 Remove now useless code to force evas_render cache invalidation.
SVN revision: 34738
2008-06-04 16:44:05 +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 777410eac2 Make the most used functions inline functions.
SVN revision: 34675
2008-05-26 13:08:54 +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 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
Carsten Haitzler 27f1963fcb gustavo's size hint patch.
SVN revision: 34248
2008-04-11 23:12:20 +00:00
Gustavo Sverzut Barbieri 5d571051b9 Add const to Evas api: objects and remaining bits.
SVN revision: 33716
2008-02-08 22:35:19 +00:00
Gustavo Sverzut Barbieri 2756696bbe Add const to Evas aoi (part 3), still lacks objects.
SVN revision: 33715
2008-02-08 21:42:01 +00:00
Carsten Haitzler a5d3f7ddc0 1. default object size to 0x0
2. remove some float numbers (were cast anyway)
3. make smart object mmove/resize only called if the obj changes


SVN revision: 31968
2007-10-05 04:52:10 +00:00
Carsten Haitzler e6aa181b56 add a DEL callback - called at the very start of object deleteion.
SVN revision: 31942
2007-10-03 04:09:36 +00:00
Gustavo Sverzut Barbieri cba48d38b5 Reorder emission of EVAS_CALLBACK_FREE event.
Now EVAS_CALLBACK_FREE is emitted after smart object's "del"
implementation, this way bindings/wrappers can observe this event in
order to release its wrappers and be sure that they'll not be used
anymore.

Please check your existing code to see if you don't rely on the old
behavior.


SVN revision: 31800
2007-09-25 13:33:12 +00:00
moom c9264664d9 * Add interceptors for color_set(), clip_set() and clip_unset()
SVN revision: 31460
2007-08-22 16:45:37 +00:00
Carsten Haitzler d6f9cc797e adrunko's precise event patch
SVN revision: 30939
2007-07-23 14:22:57 +00:00
Carsten Haitzler 9ae24eeaeb ooh - and remove leak from callbacks not being freed! fixed!
SVN revision: 28426
2007-02-21 21:43:45 +00:00
Christopher Michael af9e05f2ef Fix formatting of a function.
SVN revision: 28324
2007-02-12 17:02:15 +00:00
Carsten Haitzler f80a02f999 a few things.
1. disable viewports other than 1:1 at 0,0
2. remove output space coorsds for pointer.
3. remove geom caching
4. make threaded pipelined engine a runtime detect if u have > 1 cpu.
5. pthread build default if u have pthread.h and sched.h


SVN revision: 27131
2006-11-16 03:20:24 +00:00
Carsten Haitzler 9604530f2f slight cleanups
SVN revision: 26615
2006-10-15 14:39:16 +00:00
Carsten Haitzler 3c6495b122 hmm - broke e17's mouse pointer
SVN revision: 26403
2006-10-08 00:32:50 +00:00
tilman 3074654eaf don't forward noop move/resize calls to smart objects anymore. code wrapped in ifdefs so you can easily restore the old behaviour if needed.
SVN revision: 26399
2006-10-07 17:35:14 +00:00
Carsten Haitzler 7f41aeb177 fix some warnings!
SVN revision: 24599
2006-08-12 14:46:15 +00:00
Carsten Haitzler 996645a4d6 add abort so u can trap etk badness
SVN revision: 24316
2006-07-30 14:30:24 +00:00
rephorm ab7d018a71 set the name to NULL on _del instead of _free
Since free can be delayed, if you deleted a named object, created a new one and set it to the same name, the hash could still point to the old object.


SVN revision: 23865
2006-07-13 00:26:25 +00:00
Carsten Haitzler db9561ff11 fixup for over-grab-count
SVN revision: 22730
2006-05-19 07:56:53 +00:00
Carsten Haitzler 77e35d60a3 jose's software rendering work - slight improvements (about 5-10%). i had to
disable destination alha mmx support for text rendering (mask + color) as it
was broken in tests.


SVN revision: 22440
2006-05-02 07:28:49 +00:00
Carsten Haitzler 05ea1163f3 fix over/under grab problems
SVN revision: 22234
2006-04-19 14:37:49 +00:00
Ben Martin c7788c6bd8 gaurd access to layer->objects->last to check if layer->objects == 0
SVN revision: 19982
2006-01-23 06:54:04 +00:00
sebastid 3e41ec2fbd Remove EAPI warnings.
Remove duplicate defines.


SVN revision: 19579
2006-01-06 23:05:17 +00:00
Carsten Haitzler 1b272aec90 joses's gradient work - gradient look nice. one problem jose.. USE BRACKETS!
do NOT depend on order operation precedence. it broke scaling. laos other
completely bizarre mmx things were going wrong with mm7 ending up not 0 so
i've had to force it to be 0.


SVN revision: 18811
2005-12-03 09:27:53 +00:00
Carsten Haitzler aaf6e303bd use stringshare. saves a few hundred allocs... if we start doing lots of text
:)


SVN revision: 18679
2005-11-28 15:18:01 +00:00
sebastid f43c421ebe Remove double free
SVN revision: 18301
2005-11-04 22:53:54 +00:00
Carsten Haitzler 5650f1a234 fix renders now
SVN revision: 18009
2005-10-27 06:40:28 +00:00
Carsten Haitzler bc6ba3ab34 fix restack draw bug
SVN revision: 18005
2005-10-27 04:25:30 +00:00
Carsten Haitzler 208de4897a the first wave of evas smart object modes. commit hell #1. :) other things
still need updating in cvs - but i am sure others can do that :)


SVN revision: 18001
2005-10-27 02:44:36 +00:00
Carsten Haitzler ee83131e83 jose patch! :)
SVN revision: 16866
2005-09-23 14:41:10 +00:00
Carsten Haitzler 54af68f9c7 oops - fix freeze stuff.
SVN revision: 16836
2005-09-22 02:52:53 +00:00