profile/ivi/evas.git
15 years agoadd - in theory rgb24+32 666 support (ezx).
raster [Fri, 3 Apr 2009 01:00:54 +0000 (01:00 +0000)]
add - in theory rgb24+32 666 support (ezx).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39836 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agohmm some more generous params for sc.
raster [Tue, 31 Mar 2009 04:12:09 +0000 (04:12 +0000)]
hmm some more generous params for sc.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39808 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove accounting info not used atm.
raster [Sat, 28 Mar 2009 02:50:19 +0000 (02:50 +0000)]
remove accounting info not used atm.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39766 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agowtf was it freeing right after setup? comment out lines.
raster [Sat, 28 Mar 2009 01:45:59 +0000 (01:45 +0000)]
wtf was it freeing right after setup? comment out lines.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39765 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agooops and fix the flags!
raster [Fri, 27 Mar 2009 14:11:27 +0000 (14:11 +0000)]
oops and fix the flags!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39762 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agocover not good speedup case.
raster [Fri, 27 Mar 2009 13:46:53 +0000 (13:46 +0000)]
cover not good speedup case.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39760 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoenable cache again
raster [Fri, 27 Mar 2009 07:34:45 +0000 (07:34 +0000)]
enable cache again

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39745 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix non-scalecache mode
raster [Fri, 27 Mar 2009 07:22:46 +0000 (07:22 +0000)]
fix non-scalecache mode

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39744 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoalso be able to free orig data now (and reload)
raster [Fri, 27 Mar 2009 06:06:45 +0000 (06:06 +0000)]
also be able to free orig data now (and reload)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agonow enough logic to know when to unload original... now just need to make
raster [Fri, 27 Mar 2009 03:50:03 +0000 (03:50 +0000)]
now enough logic to know when to unload original... now just need to make
unloaidng possible without instant-reload.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomake pipe renderer separate to thread support - off by default.
raster [Fri, 27 Mar 2009 01:48:58 +0000 (01:48 +0000)]
make pipe renderer separate to thread support - off by default.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39740 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofound it! i was building without threading for realistic testing. lock issue.
raster [Fri, 27 Mar 2009 00:30:41 +0000 (00:30 +0000)]
found it! i was building without threading for realistic testing. lock issue.
fixed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39739 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agobrokes e17, canola and most things?
barbieri [Thu, 26 Mar 2009 21:48:24 +0000 (21:48 +0000)]
brokes e17, canola and most things?

dunno why, but at least it does for me and some users at #e/#edevelop,
e17 freezes at start, so does canola and other evas apps, maybe due
64-bits? No time to investigate right now (at a conference).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39738 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofor now... enable scalecache. i havent seen it crash e or expedite or
raster [Thu, 26 Mar 2009 12:47:44 +0000 (12:47 +0000)]
for now... enable scalecache. i havent seen it crash e or expedite or
elementary nor leak... so .. let's see. not 100% done yet. but good.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39724 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago1. a bunch of neon asm infra and some asm, but only the neon that works is
raster [Thu, 26 Mar 2009 07:14:08 +0000 (07:14 +0000)]
1. a bunch of neon asm infra and some asm, but only the neon that works is
enabled. the blending is not working/complete. the neon for fills and copies
isnt actually faster though currently :(
2. scalecache infra - disabled for now. working on it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39723 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoi found it is useless and cdbs is setting up prefix automatically.
quaker [Tue, 24 Mar 2009 19:56:43 +0000 (19:56 +0000)]
i found it is useless and cdbs is setting up prefix automatically.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39695 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoforgot to add --prefix=/usr
quaker [Tue, 24 Mar 2009 19:51:00 +0000 (19:51 +0000)]
forgot to add --prefix=/usr

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39694 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdated debian stuff everywhere.
quaker [Tue, 24 Mar 2009 19:44:57 +0000 (19:44 +0000)]
Updated debian stuff everywhere.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39693 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoupdate configure output wrt the xrender merge
caro [Tue, 24 Mar 2009 14:48:59 +0000 (14:48 +0000)]
update configure output wrt the xrender merge

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39681 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agouse unsigned int for bit fields, as suggested by Gustavo
caro [Tue, 24 Mar 2009 11:44:19 +0000 (11:44 +0000)]
use unsigned int for bit fields, as suggested by Gustavo

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39677 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agodisable cairo and qtopia engines for the release.
caro [Tue, 24 Mar 2009 10:47:39 +0000 (10:47 +0000)]
disable cairo and qtopia engines for the release.
the code is not removed, only commented

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39676 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoguard the xcb function declarations
caro [Tue, 24 Mar 2009 10:26:14 +0000 (10:26 +0000)]
guard the xcb function declarations

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39673 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove the gliz engine:
caro [Tue, 24 Mar 2009 10:21:34 +0000 (10:21 +0000)]
remove the gliz engine:

 * it never really worked
 * glitz is not maintained anymore (latest snapshot in january 2005)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39672 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAPI break (well, kind of...)
caro [Tue, 24 Mar 2009 09:05:32 +0000 (09:05 +0000)]
API break (well, kind of...)

 * evas_engine_info_set() returns now an int, to inform if
   an error occured or not when setting the info of the engine.
 * in the Evas_Func structure, the setup() method returns an int
 * all the engines are updated

I'll fix ecore_evas and ewl later (the compilation is still fine).

Gustavo: should I add EINA_WARN_UNUSED_RESULT at the end of the
evas_engine_info_set() function ?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39670 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove xrender xcb directory (useless since the merge)
caro [Tue, 24 Mar 2009 08:11:25 +0000 (08:11 +0000)]
remove xrender xcb directory (useless since the merge)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39669 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomerge of the xrender Xlib and XCB engines
caro [Tue, 24 Mar 2009 07:44:54 +0000 (07:44 +0000)]
merge of the xrender Xlib and XCB engines

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39665 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUse an enum for the backend
caro [Tue, 24 Mar 2009 07:36:46 +0000 (07:36 +0000)]
Use an enum for the backend

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39664 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoleak--!
raster [Mon, 23 Mar 2009 10:02:26 +0000 (10:02 +0000)]
leak--!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39645 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agooops, fix wrong attributes.
barbieri [Sun, 22 Mar 2009 21:40:52 +0000 (21:40 +0000)]
oops, fix wrong attributes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39637 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * Re-add EAPI. These macros must be defined specifically for each EFL
caro [Fri, 20 Mar 2009 06:43:44 +0000 (06:43 +0000)]
 * Re-add EAPI. These macros must be defined specifically for each EFL
   for Windows (XP and CE).
 * include Eina.h before EAPI so that this latter is defined correctly for Evas

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39599 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoevas now use eina attribute macros.
barbieri [Fri, 20 Mar 2009 01:03:15 +0000 (01:03 +0000)]
evas now use eina attribute macros.

let's stop replicating these macros over and over again, also flag
evas functions with attributes to help with optimizations.

TODO:

 * move functions returning "int" as boolean to Eina_Bool

 * move api entry to EINA_SAFETY_*

 * document api

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39598 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agowarnings--
barbieri [Thu, 19 Mar 2009 19:29:05 +0000 (19:29 +0000)]
warnings--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39593 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas: Add forgottent file needed for make dist.
cedric [Thu, 19 Mar 2009 16:21:09 +0000 (16:21 +0000)]
* evas: Add forgottent file needed for make dist.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39583 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoinitialize correctly psize, so that the cache is used.
caro [Wed, 18 Mar 2009 17:05:30 +0000 (17:05 +0000)]
initialize correctly psize, so that the cache is used.
small speed up.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39554 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix image_data_put on software 16 bits engine.
barbieri [Tue, 17 Mar 2009 20:57:02 +0000 (20:57 +0000)]
fix image_data_put on software 16 bits engine.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39537 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoignore
englebass [Tue, 17 Mar 2009 18:20:57 +0000 (18:20 +0000)]
ignore

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39531 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas_object_smart: Oops, the right test.
cedric [Tue, 17 Mar 2009 17:56:06 +0000 (17:56 +0000)]
* evas_object_smart: Oops, the right test.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39529 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas_object_smart: Prevent adding a child from another Evas.
cedric [Tue, 17 Mar 2009 17:45:37 +0000 (17:45 +0000)]
* evas_object_smart: Prevent adding a child from another Evas.

**** WARNING ****
  E is bugged in some place, it does swallow object from another Evas in some place.
With this patch, it will abort sooner. If you find situation where it abort, please
report. This are nasty bug hidden in our code base. And yes, you will the white box
of death, this is expected.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39528 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoignore++
englebass [Tue, 17 Mar 2009 13:39:52 +0000 (13:39 +0000)]
ignore++

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39522 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoCheck whether functions exist before executing them.
englebass [Tue, 17 Mar 2009 13:39:23 +0000 (13:39 +0000)]
Check whether functions exist before executing them.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39521 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomore neon infra - just for "copies" right now. only 1 func filled in.
raster [Mon, 16 Mar 2009 10:50:37 +0000 (10:50 +0000)]
more neon infra - just for "copies" right now. only 1 func filled in.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39502 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAC_CHECK_HEADERS is not correctly used in evas_check_engine.m4.
caro [Sat, 14 Mar 2009 17:24:53 +0000 (17:24 +0000)]
AC_CHECK_HEADERS is not correctly used in evas_check_engine.m4.

The behavior of AC_CHECK_HEADERS is a bit strange: If one has
2 header files foo.h and bar.h and foo.h exists while bar.h
does not, then:

1) with

have headers="no"
AC_CHECK_HEADERS([foo.h bar.h], [have_headers="yes"])

the value of have_headers is "yes"

2) with

AC_CHECK_HEADERS([foo.h bar.h], [have_headers="yes"], [have_headers="no"])

the value of have_headers is "no"

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39479 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotypo in header file name
caro [Sat, 14 Mar 2009 16:42:52 +0000 (16:42 +0000)]
typo in header file name

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39476 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agopreliminary neon asm support. do NOT use!
raster [Sat, 14 Mar 2009 06:48:25 +0000 (06:48 +0000)]
preliminary neon asm support. do NOT use!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39474 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agouse macros for lock/unlock in .c file
raster [Sat, 14 Mar 2009 05:08:08 +0000 (05:08 +0000)]
use macros for lock/unlock in .c file

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39473 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agopatch from Tiago Falcão - unroll loops in evas a bit.
raster [Fri, 13 Mar 2009 15:18:39 +0000 (15:18 +0000)]
patch from Tiago Falcão - unroll loops in evas a bit.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39467 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agooops - use macro for .h too
raster [Fri, 13 Mar 2009 09:34:46 +0000 (09:34 +0000)]
oops - use macro for .h too

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39459 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agouse mutex instead of spinlock. older pthreads dont have spinlocks. also this
raster [Fri, 13 Mar 2009 09:32:42 +0000 (09:32 +0000)]
use mutex instead of spinlock. older pthreads dont have spinlocks. also this
uses the same mutex macros used by the mutex on font objects, so it makes it
a bit simpler. old code is commented out for reference.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39458 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agorelease the clipper only it has been created, that is in windowed mode
caro [Tue, 10 Mar 2009 17:55:43 +0000 (17:55 +0000)]
release the clipper only it has been created, that is in windowed mode

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39434 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomask is a pixmap, not a drawable
caro [Sat, 7 Mar 2009 07:45:05 +0000 (07:45 +0000)]
mask is a pixmap, not a drawable

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39404 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove trailing spaces
caro [Sat, 7 Mar 2009 07:00:29 +0000 (07:00 +0000)]
remove trailing spaces

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39403 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove hack about unused parameter and use __UNUSED__ instead
caro [Sat, 7 Mar 2009 06:56:42 +0000 (06:56 +0000)]
remove hack about unused parameter and use __UNUSED__ instead

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39402 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas: Add some const.
cedric [Tue, 3 Mar 2009 14:38:24 +0000 (14:38 +0000)]
* evas: Add some const.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39345 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix warning when using some extensions defined in glext.h
caro [Tue, 3 Mar 2009 06:07:08 +0000 (06:07 +0000)]
fix warning when using some extensions defined in glext.h

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39341 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago--oopsie in the min size calc of the flow layouts
urandom [Mon, 2 Mar 2009 13:47:50 +0000 (13:47 +0000)]
--oopsie in the min size calc of the flow layouts

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39330 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agooptimize ddraw engine : when locking a surface, don't allow Windows
caro [Sun, 1 Mar 2009 21:09:39 +0000 (21:09 +0000)]
optimize ddraw engine : when locking a surface, don't allow Windows
to suspend operations. expedite runs with around 7 points more than
without those flags on my computer

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39316 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomore accurate min size calculation for flow layouts
urandom [Sun, 1 Mar 2009 16:27:03 +0000 (16:27 +0000)]
more accurate min size calculation for flow layouts

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39310 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMark as changed when smooth scale flag changes.
barbieri [Sat, 28 Feb 2009 20:09:03 +0000 (20:09 +0000)]
Mark as changed when smooth scale flag changes.

This allows us to change to non-smooth on animations and then back to
smooth after animation is done.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39300 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agominor optimizations to box recalculation.
barbieri [Sat, 28 Feb 2009 20:04:55 +0000 (20:04 +0000)]
minor optimizations to box recalculation.

just recalculate when required, and just mark as required when layout
really changes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39299 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agosize min hints for the flow layouts
urandom [Sat, 28 Feb 2009 19:33:30 +0000 (19:33 +0000)]
size min hints for the flow layouts

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39297 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoSplit files so we can avoid "defined but not used" warnings.
barbieri [Sat, 28 Feb 2009 18:47:17 +0000 (18:47 +0000)]
Split files so we can avoid "defined but not used" warnings.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39295 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoshutdown cache, hope it works like in common/32 engine.
barbieri [Sat, 28 Feb 2009 18:36:18 +0000 (18:36 +0000)]
shutdown cache, hope it works like in common/32 engine.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39294 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoit actually makes sense to have them overlap on justify, so go back
urandom [Sat, 28 Feb 2009 18:06:37 +0000 (18:06 +0000)]
it actually makes sense to have them overlap on justify, so go back

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39293 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoand also for the vertical layout
urandom [Sat, 28 Feb 2009 17:56:06 +0000 (17:56 +0000)]
and also for the vertical layout

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39291 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix smaller-box-than-items problem for horizontal layout
urandom [Sat, 28 Feb 2009 17:50:15 +0000 (17:50 +0000)]
fix smaller-box-than-items problem for horizontal layout

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39289 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix flow layout if box size is smaller than required.
barbieri [Sat, 28 Feb 2009 17:10:03 +0000 (17:10 +0000)]
Fix flow layout if box size is smaller than required.

Reported and fix suggestion by Viktor Kojouharov.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39286 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agobox: remove unused parameters
barbieri [Sat, 28 Feb 2009 17:07:10 +0000 (17:07 +0000)]
box: remove unused parameters

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39285 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix comment
caro [Sat, 28 Feb 2009 13:02:17 +0000 (13:02 +0000)]
fix comment

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39280 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoautomatic detection according to the host
caro [Sat, 28 Feb 2009 11:47:43 +0000 (11:47 +0000)]
automatic detection according to the host

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39279 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * remove 'unused parameter' warnings
caro [Sat, 28 Feb 2009 10:08:45 +0000 (10:08 +0000)]
 * remove 'unused parameter' warnings
 * i didn't touch glitz engine as it will certainly be disabled later
 * i'll update windows engines later

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39274 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRemove last standing warnings.
barbieri [Fri, 27 Feb 2009 16:35:32 +0000 (16:35 +0000)]
Remove last standing warnings.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39269 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoOops, missing file.
barbieri [Fri, 27 Feb 2009 16:33:50 +0000 (16:33 +0000)]
Oops, missing file.

GIT would help me avoid this mess.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39268 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoCreate macros to help initialize class structures.
barbieri [Fri, 27 Feb 2009 15:30:32 +0000 (15:30 +0000)]
Create macros to help initialize class structures.

also defined evas_smart_new() as deprecated.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39266 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agodoes not return a value in function returning void
caro [Wed, 25 Feb 2009 23:39:59 +0000 (23:39 +0000)]
does not return a value in function returning void

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39224 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove more 'unused parameter' warnings
caro [Wed, 25 Feb 2009 23:39:19 +0000 (23:39 +0000)]
remove more 'unused parameter' warnings

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39223 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove 'unused parameter' warning
caro [Wed, 25 Feb 2009 23:18:15 +0000 (23:18 +0000)]
remove 'unused parameter' warning

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39222 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agouse pm instead of PAL_MODE_RGB666 when allocating colors
caro [Wed, 25 Feb 2009 07:24:53 +0000 (07:24 +0000)]
use pm instead of PAL_MODE_RGB666 when allocating colors

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39188 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agodirectfb: Oops, don't give bogus data to image_data.
barbieri [Tue, 24 Feb 2009 22:46:45 +0000 (22:46 +0000)]
directfb: Oops, don't give bogus data to image_data.

This fixes changing image subareas with directfb engine and
eve/webkit-efl works fine.

Thanks to Gustavo Lima Chaves.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39185 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix some warnings reported by llvm (see http://local.profusion.mobi:8081/~lfelipe...
caro [Tue, 24 Feb 2009 08:31:31 +0000 (08:31 +0000)]
fix some warnings reported by llvm (see local.profusion.mobi:8081/~lfelipe/output-efl/)

 * mainly unused parameters
 * in src/lib/imaging/evas_imaging.c, set font to NULL
 * in src/lib/canvas/evas_object_gradient.c, add unititialized member

there are a *lot* of reported warnings by llvm, i'll fix them later

there are also *lots* of unused parameters (compile evas with -W). I'll
fix them later too

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39172 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agosync when needed
caro [Tue, 24 Feb 2009 07:06:14 +0000 (07:06 +0000)]
sync when needed

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39171 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoupdate debug code.
raster [Mon, 23 Feb 2009 07:21:37 +0000 (07:21 +0000)]
update debug code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39154 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix font cutout clip bug.
raster [Mon, 23 Feb 2009 07:20:21 +0000 (07:20 +0000)]
fix font cutout clip bug.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39153 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix xrender xcb engine
caro [Sun, 22 Feb 2009 11:24:08 +0000 (11:24 +0000)]
fix xrender xcb engine

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39135 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix premul default value for tiff loader
raster [Sun, 22 Feb 2009 09:19:11 +0000 (09:19 +0000)]
fix premul default value for tiff loader

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove trailing spaces
caro [Sat, 21 Feb 2009 08:19:58 +0000 (08:19 +0000)]
remove trailing spaces

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39117 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomake gl engine able to use cutouts - in some cases its faster, some
caro [Sat, 21 Feb 2009 08:18:53 +0000 (08:18 +0000)]
make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm. (synchronize with gl_x11 code)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39116 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago1. make software font draw code actually use cutouts.
raster [Sat, 21 Feb 2009 03:13:49 +0000 (03:13 +0000)]
1. make software font draw code actually use cutouts.
2. make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39114 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas_object_image.c: Remove a warning and return 1 as a success.
cedric [Tue, 17 Feb 2009 17:36:29 +0000 (17:36 +0000)]
    * evas_object_image.c: Remove a warning and return 1 as a success.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39060 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoand support obscured rects for clip-out if middle of bordered image set to
raster [Tue, 17 Feb 2009 04:53:03 +0000 (04:53 +0000)]
and support obscured rects for clip-out if middle of bordered image set to
solid. speedup.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39051 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofree correctly each buffer in XCB engine
caro [Sun, 15 Feb 2009 11:14:12 +0000 (11:14 +0000)]
free correctly each buffer in XCB engine

The xcb_image dependency should be removed and replaced
by direct calls of the request XPutImage

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39024 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix minor bug in fill mode.
raster [Sun, 15 Feb 2009 02:53:24 +0000 (02:53 +0000)]
fix minor bug in fill mode.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39020 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agodon't return NaN for hue if r=g=b
rephorm [Sun, 15 Feb 2009 01:53:02 +0000 (01:53 +0000)]
don't return NaN for hue if r=g=b

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39019 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas/lib/canvas/evas_async_events.c: Use memset instead of PACKED.
cedric [Thu, 12 Feb 2009 17:05:17 +0000 (17:05 +0000)]
* evas/lib/canvas/evas_async_events.c: Use memset instead of PACKED.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39003 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoin theory - (not tested yet) allow hitns to set middle to solid of
raster [Thu, 12 Feb 2009 13:38:33 +0000 (13:38 +0000)]
in theory - (not tested yet) allow hitns to set middle to solid of
borderscaling.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39000 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas/m4/ac_attribute.m4,
cedric [Wed, 11 Feb 2009 17:56:03 +0000 (17:56 +0000)]
* evas/m4/ac_attribute.m4,
* evas/src/lib/canvas/evas_async_events.c: Fix long standing warning from valgrind.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38996 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas/src/lib/include/evas_common.h,
cedric [Tue, 10 Feb 2009 15:53:17 +0000 (15:53 +0000)]
* evas/src/lib/include/evas_common.h,
* evas/src/lib/engines/common/evas_font.h,
* evas/src/lib/engines/common/evas_font_draw.c,
* evas/src/lib/engines/common/evas_font_load.c,
* evas/src/lib/engines/common/evas_font_query.c: Add cache for font kerning.

This patch give something around 2% for all tests around text in expedite,
except for Textblock Intl where it give a 3 times boost.

Regarding text rendering speed, something is strange when used by evas_pipe.
All tests using Styles are around 40% faster without evas_pipe. 30% faster
for Text Change. But Text Basic 7% slower. So it should be possible to have
faster rendering when using evas_pipe for font rendering.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38993 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoDo not inform callbacks that did not changed the state of object.
barbieri [Thu, 5 Feb 2009 14:37:58 +0000 (14:37 +0000)]
Do not inform callbacks that did not changed the state of object.

For some unknown reason evas was informing EVAS_CALLBACK_* even if the
original call did not changed the internal object state, that is, new
value is already equal to current value.

This is specially costly since Edje, Box, Table and possible other
layout engines will call evas_object_resize(), move(), show(), hide()
even if the state has not changed, assuming evas will ignore the call
(as it does). The real overhead might come if there are listeners
attached to these events, that in turn might do lots of other stuff,
leading to a torrent of useless calls.

I marked it for removal, please test it and uncomment '#define
CALLBACK_NOOPS' to get the old behavior back. It does seems to work
with e17 and edje_editor. If problems appear, let's try to fix the
real problem instead of getting this code back, it's a performance
penalty.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38955 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoDo not recalculate table/box if size does not really changed.
barbieri [Thu, 5 Feb 2009 12:38:04 +0000 (12:38 +0000)]
Do not recalculate table/box if size does not really changed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38950 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMissing modification of the variable DOXYGEN to
caro [Sun, 1 Feb 2009 20:25:19 +0000 (20:25 +0000)]
Missing modification of the variable DOXYGEN to
efl_doxygen. Spotted by Albin Tonnerre (Lutin).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38893 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix logic in efl_doxygen.m4
caro [Sun, 1 Feb 2009 06:52:11 +0000 (06:52 +0000)]
fix logic in efl_doxygen.m4

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38876 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33