framework/uifw/evas.git
12 years agoevas/evas_events - repeat events should not be affected by children.
hermet [Wed, 21 Dec 2011 07:55:22 +0000 (07:55 +0000)]
evas/evas_events - repeat events should not be affected by children.

Fixed to object passes events to the next object in the same layer if the repeat_events is enabled

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66416 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas - proper coding convention.
hermet [Tue, 20 Dec 2011 07:06:53 +0000 (07:06 +0000)]
evas - proper coding convention.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66364 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agomissing chlog for sse3 fix.
raster [Tue, 20 Dec 2011 04:44:28 +0000 (04:44 +0000)]
missing chlog for sse3 fix.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66354 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agomissing chlog for clip fix.
raster [Tue, 20 Dec 2011 04:42:54 +0000 (04:42 +0000)]
missing chlog for clip fix.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66353 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoadd @since on single liners.
raster [Mon, 19 Dec 2011 07:26:34 +0000 (07:26 +0000)]
add @since on single liners.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66324 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoadd new events for pre/post rendering
raster [Mon, 19 Dec 2011 05:50:06 +0000 (05:50 +0000)]
add new events for pre/post rendering

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66318 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoand remove changelog accordingly.
raster [Sun, 18 Dec 2011 05:04:33 +0000 (05:04 +0000)]
and remove changelog accordingly.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66309 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agosorry sungwoo - going to have to back this dlopen/dlsym styuff out.
raster [Sun, 18 Dec 2011 05:03:24 +0000 (05:03 +0000)]
sorry sungwoo - going to have to back this dlopen/dlsym styuff out.
intel drivers don;'t like it for some odd reason - i'm trying to track
it down but i can't sanely try middlegrounds right now (eg dont
dlopen/dlsym but actually directly assign symbols etc.), so back out
and let's figure this out before it goes back in :(

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66308 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: Handle framespace changes also during 'render'.
devilhorns [Sat, 17 Dec 2011 18:45:09 +0000 (18:45 +0000)]
Evas: Handle framespace changes also during 'render'.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66306 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoAdd new api to set and get default event flags.
raster [Fri, 16 Dec 2011 09:24:18 +0000 (09:24 +0000)]
Add new api to set and get default event flags.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66275 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agofix buggy sse3 solid color + text bak blend when dest alpha exists.
raster [Fri, 16 Dec 2011 07:47:07 +0000 (07:47 +0000)]
fix buggy sse3 solid color + text bak blend when dest alpha exists.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66273 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas/main - removed unnecessary casting.
hermet [Fri, 16 Dec 2011 07:22:09 +0000 (07:22 +0000)]
evas/main - removed unnecessary casting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66272 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agouseless clip setting in ctx as it's reset a few lines later.
raster [Fri, 16 Dec 2011 07:20:12 +0000 (07:20 +0000)]
useless clip setting in ctx as it's reset a few lines later.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66271 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agofix map clip issue that shows up in buffer engine.
raster [Fri, 16 Dec 2011 07:04:00 +0000 (07:04 +0000)]
fix map clip issue that shows up in buffer engine.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66270 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas liblineabreak: Include the wordbreak headers.
tasn [Thu, 15 Dec 2011 22:27:59 +0000 (22:27 +0000)]
Evas liblineabreak: Include the wordbreak headers.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66264 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Use macros for the unicode chars/strings.
tasn [Thu, 15 Dec 2011 13:03:43 +0000 (13:03 +0000)]
Evas textblock: Use macros for the unicode chars/strings.

1. Make Obj replacement and Par Sep less confusing.
2. We'll may, at some point, use the Unicode NewLine char instead of \n.
so it's now easily replaceable.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66255 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Improved the implementation of *_text_markup_to_utf8.
tasn [Thu, 15 Dec 2011 12:40:29 +0000 (12:40 +0000)]
Evas textblock: Improved the implementation of *_text_markup_to_utf8.

Also support passing NULL instead of a real textblock object.
Added appropriate tests + improved previous tests.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66254 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas - simplified instructions
hermet [Thu, 15 Dec 2011 09:56:25 +0000 (09:56 +0000)]
evas - simplified instructions

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66248 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas - removed unnecessary comments
hermet [Thu, 15 Dec 2011 09:40:07 +0000 (09:40 +0000)]
evas - removed unnecessary comments

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66246 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas - use EINA_TRUE/FALSE
hermet [Thu, 15 Dec 2011 09:36:51 +0000 (09:36 +0000)]
evas - use EINA_TRUE/FALSE

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66244 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agobug fix related with evas event counter
jypark [Thu, 15 Dec 2011 06:23:53 +0000 (06:23 +0000)]
bug fix related with evas event counter

currently evas_object_event_callback_call checks _evas_event_counter
for preventing object's callback called several times in one evas event.

but it use global variable(_evas_event_counter), it can be changed while
procssing same event.

for example , evas_event_feed_mouse_up.
If there are several object in e->pointer.object.in and object 1's callback
create new evas event, object 2 cannot now event id.
so I change callback call api, and object callbacks can decide wheather it deal with that event.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66234 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoremove white space
jypark [Thu, 15 Dec 2011 05:56:19 +0000 (05:56 +0000)]
remove white space

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66233 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoremove white space
jypark [Thu, 15 Dec 2011 05:25:37 +0000 (05:25 +0000)]
remove white space

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66232 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: Gl_X11: Fix typo? for __UNUSED__ param.
devilhorns [Wed, 14 Dec 2011 18:52:42 +0000 (18:52 +0000)]
Evas: Gl_X11: Fix typo? for __UNUSED__ param.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66224 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: Add a Wayland Shared Memory engine (similar to the buffer &
devilhorns [Wed, 14 Dec 2011 18:44:20 +0000 (18:44 +0000)]
Evas: Add a Wayland Shared Memory engine (similar to the buffer &
framebuffer engines). Add Evas framespace set/get functions.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66223 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: Software_Generic: Fix typo? for __UNUSED__.
devilhorns [Wed, 14 Dec 2011 18:27:29 +0000 (18:27 +0000)]
Evas: Software_Generic: Fix typo? for __UNUSED__.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66222 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Added evas_textblock_text_utf8_to_markup.
tasn [Wed, 14 Dec 2011 15:04:03 +0000 (15:04 +0000)]
Evas textblock: Added evas_textblock_text_utf8_to_markup.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66197 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Fixed a couple of issues caused by previous commits.
tasn [Wed, 14 Dec 2011 13:43:13 +0000 (13:43 +0000)]
Evas textblock: Fixed a couple of issues caused by previous commits.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66194 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Updated changelog.
tasn [Wed, 14 Dec 2011 13:27:18 +0000 (13:27 +0000)]
Evas textblock: Updated changelog.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66192 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Made 'br' and 'tab' default tags.
tasn [Wed, 14 Dec 2011 13:27:15 +0000 (13:27 +0000)]
Evas textblock: Made 'br' and 'tab' default tags.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66191 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Added support for default tags.
tasn [Wed, 14 Dec 2011 13:27:12 +0000 (13:27 +0000)]
Evas textblock: Added support for default tags.

This is useful for defining default tags that can be overridden by style.
For example <b> and <i>.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66190 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas tests: Fix textblock text according to function change.
tasn [Wed, 14 Dec 2011 13:27:08 +0000 (13:27 +0000)]
Evas tests: Fix textblock text according to function change.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66189 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: use Eina_File for wbmp code and fix a potential race condition at the same...
cedric [Wed, 14 Dec 2011 11:17:09 +0000 (11:17 +0000)]
evas: use Eina_File for wbmp code and fix a potential race condition at the same time.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66187 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: move space around.
cedric [Wed, 14 Dec 2011 10:15:57 +0000 (10:15 +0000)]
evas: move space around.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66185 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: update ChangeLog and NEWS.
cedric [Wed, 14 Dec 2011 10:03:45 +0000 (10:03 +0000)]
evas: update ChangeLog and NEWS.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66184 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: use Eina_File for pmaps.
cedric [Wed, 14 Dec 2011 09:53:25 +0000 (09:53 +0000)]
evas: use Eina_File for pmaps.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66183 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Renamed *markup_to_plain to *text_markup_to_utf8.
tasn [Wed, 14 Dec 2011 09:52:02 +0000 (09:52 +0000)]
Evas textblock: Renamed *markup_to_plain to *text_markup_to_utf8.

This should conform better to evas and what the function does.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66182 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: fix ico loader use of Eina_File.
cedric [Wed, 14 Dec 2011 09:14:27 +0000 (09:14 +0000)]
evas: fix ico loader use of Eina_File.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66181 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: ooops
yoz [Tue, 13 Dec 2011 17:00:43 +0000 (17:00 +0000)]
evas: ooops

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66171 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: Add api to know if an evas_object_image could support region
yoz [Tue, 13 Dec 2011 16:58:20 +0000 (16:58 +0000)]
evas: Add api to know if an evas_object_image could support region

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66170 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: Fixed svn detection for svn1.7
tasn [Tue, 13 Dec 2011 08:53:37 +0000 (08:53 +0000)]
evas: Fixed svn detection for svn1.7

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66147 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas linebreak: Fix wordbreak bug when there are chars < 0x0A.
tasn [Tue, 13 Dec 2011 07:32:56 +0000 (07:32 +0000)]
Evas linebreak: Fix wordbreak bug when there are chars < 0x0A.

The binary search used unsigned indexes which didn't work well in
that scenario (would have gotten to -1).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66137 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years ago * Fix grab count negative values if you do weird combinations of
raster [Tue, 13 Dec 2011 05:59:36 +0000 (05:59 +0000)]
    * Fix grab count negative values if you do weird combinations of
        press and release with multiple fingers or multiple mouse
        buttons.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: use Eina_File for ico loader.
cedric [Mon, 12 Dec 2011 17:48:53 +0000 (17:48 +0000)]
evas: use Eina_File for ico loader.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66120 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Implemented cursor_word_start/end
tasn [Mon, 12 Dec 2011 15:25:46 +0000 (15:25 +0000)]
Evas textblock: Implemented cursor_word_start/end

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66119 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas liblinebreak: Added the wordbreak support.
tasn [Mon, 12 Dec 2011 15:25:39 +0000 (15:25 +0000)]
Evas liblinebreak: Added the wordbreak support.

Will send it upstream soon. My tests worked, but they are far from
complete. Probably needs more complete testing.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66118 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: less warning.
cedric [Mon, 12 Dec 2011 13:42:24 +0000 (13:42 +0000)]
evas: less warning.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66115 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: use Eina_File for accessing BMP file.
cedric [Mon, 12 Dec 2011 13:39:35 +0000 (13:39 +0000)]
evas: use Eina_File for accessing BMP file.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66114 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoFix rounding error in map clip bounds calculation
raster [Mon, 12 Dec 2011 08:23:24 +0000 (08:23 +0000)]
Fix rounding error in map clip bounds calculation

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66111 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoonly lround 2 times instead of 4 for map - minor bit of cleaner code.
raster [Mon, 12 Dec 2011 06:25:14 +0000 (06:25 +0000)]
only lround 2 times instead of 4 for map - minor bit of cleaner code.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66108 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agofix annoying spankies
discomfitor [Sat, 10 Dec 2011 07:21:53 +0000 (07:21 +0000)]
fix annoying spankies

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66077 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoadd EAPI. Maybe it is missed.
jaehwan [Fri, 9 Dec 2011 07:55:31 +0000 (07:55 +0000)]
add EAPI. Maybe it is missed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66061 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Added evas_textblock_markup_to_plain.
tasn [Thu, 8 Dec 2011 15:12:25 +0000 (15:12 +0000)]
Evas textblock: Added evas_textblock_markup_to_plain.

This function converts a textblock markup to plain text.
It converts for example <br/> to \n and a lot more.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66034 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: Updated NEWS file.
tasn [Thu, 8 Dec 2011 13:45:09 +0000 (13:45 +0000)]
Evas: Updated NEWS file.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66032 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: Updated changelog to include latest textblock changes.
tasn [Thu, 8 Dec 2011 13:39:31 +0000 (13:39 +0000)]
Evas: Updated changelog to include latest textblock changes.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66031 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: use the right message command when usefull.
cedric [Thu, 8 Dec 2011 13:29:02 +0000 (13:29 +0000)]
evas: use the right message command when usefull.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66030 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Support self-closing formats, i.e <br/>.
tasn [Thu, 8 Dec 2011 12:05:56 +0000 (12:05 +0000)]
Evas textblock: Support self-closing formats, i.e <br/>.

Also updated tests to follow this. Using <br>, although will work, is
discouraged, please use <br/> instead.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66023 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas textblock: Improve internal handling of formats.
tasn [Thu, 8 Dec 2011 12:05:47 +0000 (12:05 +0000)]
Evas textblock: Improve internal handling of formats.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66022 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agodisable sse3 if immintrin.h not found.
raster [Wed, 7 Dec 2011 00:10:36 +0000 (00:10 +0000)]
disable sse3 if immintrin.h not found.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65980 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: less unused warning.
cedric [Tue, 6 Dec 2011 16:08:30 +0000 (16:08 +0000)]
evas: less unused warning.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65963 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: include stdlib.h as required.
cedric [Tue, 6 Dec 2011 16:07:59 +0000 (16:07 +0000)]
evas: include stdlib.h as required.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65962 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas (gl engine): Remove incorrect __UNUSED__ on paramaters that are
devilhorns [Tue, 6 Dec 2011 00:44:25 +0000 (00:44 +0000)]
Evas (gl engine): Remove incorrect __UNUSED__ on paramaters that are
actually used.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65928 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: don't randomly move code around !
cedric [Mon, 5 Dec 2011 16:50:40 +0000 (16:50 +0000)]
evas: don't randomly move code around !

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65916 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agosame for these
discomfitor [Mon, 5 Dec 2011 15:39:04 +0000 (15:39 +0000)]
same for these

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65913 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoalways have the file which includes config.h first!
discomfitor [Mon, 5 Dec 2011 15:38:55 +0000 (15:38 +0000)]
always have the file which includes config.h first!
SPANK SPANK SPANK cedric!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65912 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: use already existing macro.
cedric [Mon, 5 Dec 2011 14:32:10 +0000 (14:32 +0000)]
evas: use already existing macro.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65906 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: use eina_lock a little bit more.
cedric [Mon, 5 Dec 2011 14:01:42 +0000 (14:01 +0000)]
evas: use eina_lock a little bit more.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65904 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: more fine grained system detection.
cedric [Mon, 5 Dec 2011 14:00:53 +0000 (14:00 +0000)]
evas: more fine grained system detection.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65903 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: cast as we did in eina.
cedric [Mon, 5 Dec 2011 13:59:44 +0000 (13:59 +0000)]
evas: cast as we did in eina.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65902 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agochlog++
raster [Mon, 5 Dec 2011 09:47:49 +0000 (09:47 +0000)]
chlog++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65897 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoremove warnings!
raster [Mon, 5 Dec 2011 09:26:04 +0000 (09:26 +0000)]
remove warnings!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65896 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoremove warning - bug ready to happen with fastpath. didnt pass
raster [Mon, 5 Dec 2011 09:18:05 +0000 (09:18 +0000)]
remove warning - bug ready to happen with fastpath. didnt pass
sharedlist or direct down.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65895 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agofix gles/egl bugs/issues in sungwoo's new patch
raster [Mon, 5 Dec 2011 09:05:04 +0000 (09:05 +0000)]
fix gles/egl bugs/issues in sungwoo's new patch

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65894 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoI'm attaching a patch for the initial version of the GL Fastpath
raster [Mon, 5 Dec 2011 08:54:14 +0000 (08:54 +0000)]
I'm attaching a patch for the initial version of the GL Fastpath
addition to evas gl backend.

Working on different mobile devices, we've noticed that the cost of context
switch (MakeCurrent) in GL can be very expensive depending on the driver
implementation.  To minimize the poorly written driver's context switch
overhead, I've implemented a state tracking layer on top of the driver
implemented GL.

Essentially, this layer wraps all the GL/Glue(GLX/EGL) APIs and manages its own
state changes.  Internally, only one real GL context is created and logical
contexts are created every time a user requests context creation.  The logical
contexts keep track of its states and sets only the necessary states
(the ones that are different than the current ones)
when there is a MakeCurrent request.  The real MakeCurrent gets called when
there is a Surface/Window change request.

The GL library is dlopened and all the APIs are dlsym'ed and wrapped
accordingly.  All the GL functions are in evas_gl_core.{h,c}.

Here's a very simply flow of the code.
   - all the APIs are exported as function pointers (*glsym_glBegin),
     (*glsm_eglCreatContext), and etc.
   - all the native GL/Glue(GLX/EGL) APIs are dlsym'ed as _sym_glBegin,
     _sym_eglCreateContext, and etc.
   - all the fastpath APIs are implmemnted as fpgl_glBegin,
     fpgl_eglCreateContext, and etc.
   - if faspath is seletected, the exported APIs are set accordingly
     ie. glsym_glBegin = fpgl_glBegin;
   - default mode is the regular gl symbols are directly set.
     ie. glsym_glBegin = _sym_glBegin;

I have an Environment variable where you can set it to three different Modes

EVAS_GL_FASTPATH = 0    // Default mode. Regular GL symbols are directly loaded
EVAS_GL_FASTPATH = 1    // Fastpath mode. Takes the path described above.
EVAS_GL_FASTPATH = 2    // Wrapped mode.  All the regular GL functions are
                           wrapped once.  This can be used for various
purposes

Since all the GL symbols are now loaded in this library, I took out all
the gl symbol loading parts in the evas gl backend as you'll see in the patch.
The changes to the engine and the backend itself is pretty minor.

There are still some known issues to hammer out but I thought we're at a good
place for an initial version so that my source doesn't diverge too much.

Known Issues and To Do's
* Current GL Fastpath version doesn't support multiple threads. Instead of
  having one global real context, I would need to do it for each thread. I'll
  get on this soon.

  * Issues running Evas GL on certain conditions.  When running the elementary
  test (with gl engine), if you run ELMGLview test that runs in ON_DEMAND mode,
  everything works fine. BUT, when you run the ELMGLView test in ALWAYS
    mode, the subsequent elm tests shows blank screen. When you destroy the
  GLView window, everything else comes on fine.

  * Resource protection code.  This actually applies to Evas GL code in general
  as well. Since all the resources are shared among all the contexts that get
  created, I would like to eventually have a resource protecting mechanism that
  prevents access to resources outside of its context unless specifically
  specified.

  I'm attaching three files
     - evas_gl_core.h, evas_gl_core.c, fastpath.patch

  To get the code running...
     - copy evas_gl_core.{c,h} to src/modules/engine/gl_common/
     - apply the fastpath.patch
     - compile/install evas
     - to run with fastpath GL (ie. % EVAS_GL_FASTPATH=1 ./evasgl_sample1)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65891 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoadd a newline before api link
discomfitor [Sun, 4 Dec 2011 04:29:55 +0000 (04:29 +0000)]
add a newline before api link

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65865 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agofix changelogs to mention release.
raster [Sun, 4 Dec 2011 01:56:31 +0000 (01:56 +0000)]
fix changelogs to mention  release.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65860 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agore-enable evas_gl for trunk dev
raster [Sat, 3 Dec 2011 14:15:14 +0000 (14:15 +0000)]
re-enable evas_gl for trunk dev

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65841 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoand now go to normal-like svn revs
raster [Fri, 2 Dec 2011 09:45:25 +0000 (09:45 +0000)]
and now go to normal-like svn revs

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65806 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agorevert my 1.x.99 stuff so i can branch.
raster [Fri, 2 Dec 2011 09:32:11 +0000 (09:32 +0000)]
revert my 1.x.99 stuff so i can branch.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65803 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoand lets bump on to 1.x.99 (or so) for svn... and back to adding snap
raster [Fri, 2 Dec 2011 09:10:56 +0000 (09:10 +0000)]
and lets bump on to 1.x.99 (or so) for svn... and back to adding snap
rev.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65802 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoFrom: Rafal Krypa <r.krypa@samsung.com>
raster [Thu, 1 Dec 2011 10:00:44 +0000 (10:00 +0000)]
From: Rafal Krypa <r.krypa@samsung.com>
Subject: Fix Neon build with Thumb-2

    In assembly part of function evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90:
    Don't use 3-operand add instructions (e.g. add r2, r5, #2) as this is
    not supported in unified syntax.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65768 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years ago2 functions had pure specified when it shouldn't be for those.
raster [Mon, 28 Nov 2011 05:37:41 +0000 (05:37 +0000)]
2 functions had pure specified when it shouldn't be for those.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65635 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: Add missing __UNUSED__ in buffer engine.
devilhorns [Sun, 27 Nov 2011 16:27:02 +0000 (16:27 +0000)]
Evas: Add missing __UNUSED__ in buffer engine.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65614 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoFix repeat event inheritance from parent smart just like
raster [Thu, 24 Nov 2011 13:01:15 +0000 (13:01 +0000)]
Fix repeat event inheritance from parent smart just like
pass events are inherited. This was inconsistent.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65574 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agosvn:ignore
discomfitor [Wed, 23 Nov 2011 08:33:20 +0000 (08:33 +0000)]
svn:ignore

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65529 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoimprove the tga fix by not blacklisiting some incorrect tga files that
raster [Tue, 22 Nov 2011 09:20:44 +0000 (09:20 +0000)]
improve the tga fix by not blacklisiting some incorrect tga files that
actually do work normally due to junk in the headers in unused areas.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65511 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas/evas_object_smart - revert 65482 but more bracket added
hermet [Mon, 21 Nov 2011 14:28:54 +0000 (14:28 +0000)]
evas/evas_object_smart - revert 65482 but more bracket added

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65485 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas/evas_object_smart - don't need compare each layer
hermet [Mon, 21 Nov 2011 10:16:25 +0000 (10:16 +0000)]
evas/evas_object_smart - don't need compare each layer

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65482 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoadd direct link to header file in api docs
discomfitor [Mon, 21 Nov 2011 05:01:23 +0000 (05:01 +0000)]
add direct link to header file in api docs
tweet: hey, SeoZ here, I really like Microsoft. I mean REALLY like them. I think they're a fantastic company and I hope everyone uses winmo!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65469 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: remove extra parenthesis
caro [Sun, 20 Nov 2011 16:59:01 +0000 (16:59 +0000)]
Evas: remove extra parenthesis

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65456 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas define BUILD_ASYNC_EVENTS...
caro [Sun, 20 Nov 2011 16:48:02 +0000 (16:48 +0000)]
Evas define BUILD_ASYNC_EVENTS...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65454 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: correct header order.
cedric [Sun, 20 Nov 2011 15:17:29 +0000 (15:17 +0000)]
evas: correct header order.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65452 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: use Eina_File for a more porable and cleaner code.
cedric [Sun, 20 Nov 2011 15:10:05 +0000 (15:10 +0000)]
evas: use Eina_File for a more porable and cleaner code.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65450 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: remove warning when fontconfig is disabled.
cedric [Sun, 20 Nov 2011 13:55:17 +0000 (13:55 +0000)]
evas: remove warning when fontconfig is disabled.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65434 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: shutup warning with some configuration option.
cedric [Sun, 20 Nov 2011 13:54:03 +0000 (13:54 +0000)]
evas: shutup warning with some configuration option.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65433 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: warning--
cedric [Sun, 20 Nov 2011 13:52:18 +0000 (13:52 +0000)]
evas: warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65432 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: remove wrong non null definition.
cedric [Sun, 20 Nov 2011 13:50:27 +0000 (13:50 +0000)]
evas: remove wrong non null definition.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65431 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoTGA loader gets fixed alpha decode - real life tga's have
raster [Sat, 19 Nov 2011 15:09:27 +0000 (15:09 +0000)]
TGA loader gets fixed alpha decode - real life tga's have
proper alpha values. also reduce false positive tga file
detection

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65411 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEvas: fix nonnull argument with out-of-range operand number
caro [Fri, 18 Nov 2011 09:23:22 +0000 (09:23 +0000)]
Evas: fix nonnull argument with out-of-range operand number

Patch by Fabien Romano via Jonathan Armani

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65381 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: video surface can be NULL.
cedric [Fri, 18 Nov 2011 08:49:59 +0000 (08:49 +0000)]
evas: video surface can be NULL.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65379 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33