framework/uifw/evas.git
13 years agoEvas textblock: Fix segfault with evas_textblock_cursor_content_get.
tasn [Thu, 12 May 2011 15:12:10 +0000 (15:12 +0000)]
Evas textblock: Fix segfault with evas_textblock_cursor_content_get.

Patch by Brian Wang.

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

13 years agoEvas font-engine: Fix usage of font cache (= -> ==).
tasn [Thu, 12 May 2011 08:38:24 +0000 (08:38 +0000)]
Evas font-engine: Fix usage of font cache (= -> ==).

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

13 years agoEvas font-engine: abort font load even sooner if name is NULL.
tasn [Thu, 12 May 2011 08:38:21 +0000 (08:38 +0000)]
Evas font-engine: abort font load even sooner if name is NULL.

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

13 years agowrn--!
raster [Thu, 12 May 2011 08:30:49 +0000 (08:30 +0000)]
wrn--!

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

13 years agoEvas Smart: add ability to get usage count
raster [Thu, 12 May 2011 08:28:25 +0000 (08:28 +0000)]
Evas Smart: add ability to get usage count

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

13 years agochlog++
raster [Wed, 11 May 2011 11:29:21 +0000 (11:29 +0000)]
chlog++

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

13 years agofix svg load WITH scaling - scale down size request broken. 2
raster [Wed, 11 May 2011 11:26:51 +0000 (11:26 +0000)]
fix svg load WITH scaling - scale down size request broken. 2
different sizing methods.

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

13 years agoEvas textblock: Added _format_list_get for fast retrieval of anchors.
tasn [Wed, 11 May 2011 10:18:24 +0000 (10:18 +0000)]
Evas textblock: Added _format_list_get for fast retrieval of anchors.

This is very useful in edje_entry that keeps a list of anchors.
Currently only "a" and "item" are supported, and unless something
drastic will happen, it will stay this way.

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

13 years agochlog++
raster [Wed, 11 May 2011 09:55:08 +0000 (09:55 +0000)]
chlog++

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

13 years agoFix: egl mode in engine forgot to call pre/post swap callback. thanks
raster [Wed, 11 May 2011 09:14:59 +0000 (09:14 +0000)]
Fix: egl mode in engine forgot to call pre/post swap callback. thanks
guanglim!

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

13 years agoEvas textblock: Don't allow overwriting the format stack.
tasn [Wed, 11 May 2011 08:35:09 +0000 (08:35 +0000)]
Evas textblock: Don't allow overwriting the format stack.

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

13 years agoEvas textblock: Only parse formats that can change the format stack.
tasn [Wed, 11 May 2011 08:34:57 +0000 (08:34 +0000)]
Evas textblock: Only parse formats that can change the format stack.

No need to parse all the newlines when all we want is just to modify the
format stack.

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

13 years agoevas: fix typos.
cedric [Tue, 10 May 2011 07:55:22 +0000 (07:55 +0000)]
evas: fix typos.

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

13 years agoevas: fix xcb build.
cedric [Mon, 9 May 2011 15:18:03 +0000 (15:18 +0000)]
evas: fix xcb build.

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

13 years agoevas: don't use dead condition.
cedric [Mon, 9 May 2011 14:42:12 +0000 (14:42 +0000)]
evas: don't use dead condition.

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

13 years agoevas: we should not rely on mutex recursive stuff. fix potential source of bug.
cedric [Mon, 9 May 2011 12:55:57 +0000 (12:55 +0000)]
evas: we should not rely on mutex recursive stuff. fix potential source of bug.

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

13 years agoevas: fix evas_pipe and use eina_condition.
cedric [Mon, 9 May 2011 11:05:04 +0000 (11:05 +0000)]
evas: fix evas_pipe and use eina_condition.

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

13 years agoevas: fix software 16 sdl.
cedric [Mon, 9 May 2011 10:56:32 +0000 (10:56 +0000)]
evas: fix software 16 sdl.

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

13 years agoevas: use Eina_Condition.
cedric [Mon, 9 May 2011 10:33:21 +0000 (10:33 +0000)]
evas: use Eina_Condition.

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

13 years agoEvas text: clean up evas_text_style_pad_get a bit further.
tasn [Mon, 9 May 2011 07:40:14 +0000 (07:40 +0000)]
Evas text: clean up evas_text_style_pad_get a bit further.

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

13 years agoEvas text: Made evas_text_style_pad_get faster.
tasn [Sun, 8 May 2011 15:43:44 +0000 (15:43 +0000)]
Evas text: Made evas_text_style_pad_get faster.

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

13 years agoEvas textblock: Do a bit of uchar -> Eina_Bool and setting as bitfield.
tasn [Sun, 8 May 2011 15:33:23 +0000 (15:33 +0000)]
Evas textblock: Do a bit of uchar -> Eina_Bool and setting as bitfield.

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

13 years agoEvas textblock: Remove unused alloca.
tasn [Sun, 8 May 2011 15:33:20 +0000 (15:33 +0000)]
Evas textblock: Remove unused alloca.

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

13 years agoEvas textblock: Clean up clipping and render a bit.
tasn [Sun, 8 May 2011 14:54:27 +0000 (14:54 +0000)]
Evas textblock: Clean up clipping and render a bit.

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

13 years agoEvas table: fix ui-mirroring with homogeneous tables.
tasn [Sun, 8 May 2011 12:26:44 +0000 (12:26 +0000)]
Evas table: fix ui-mirroring with homogeneous tables.

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

13 years agoEvas textblock: Break on mandatory and allowed break options.
tasn [Sun, 8 May 2011 11:20:19 +0000 (11:20 +0000)]
Evas textblock: Break on mandatory and allowed break options.

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

13 years agoEvas textblock: Moved format text_node invalidation to it's own function.
tasn [Sun, 8 May 2011 11:20:16 +0000 (11:20 +0000)]
Evas textblock: Moved format text_node invalidation to it's own function.

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

13 years agoEvas textblock: Move ellipsis handling to a different function.
tasn [Sun, 8 May 2011 11:20:13 +0000 (11:20 +0000)]
Evas textblock: Move ellipsis handling to a different function.

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

13 years agoEvas textblock: clean up mixed/word wrap a bit.
tasn [Sun, 8 May 2011 09:13:59 +0000 (09:13 +0000)]
Evas textblock: clean up mixed/word wrap a bit.

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

13 years agoEvas textblock: Fix possible issues with charwrap not wrapping correctly.
tasn [Sun, 8 May 2011 09:13:56 +0000 (09:13 +0000)]
Evas textblock: Fix possible issues with charwrap not wrapping correctly.

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

13 years agoEvas evas_object_smart.c: Fixed indentation.
seoz [Sat, 7 May 2011 08:01:42 +0000 (08:01 +0000)]
Evas evas_object_smart.c: Fixed indentation.

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

13 years agoevas / evas_object_smart - mistook! spank my ass!
hermet [Fri, 6 May 2011 11:04:32 +0000 (11:04 +0000)]
evas / evas_object_smart - mistook! spank my ass!

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

13 years agoevas/evas_object_smart - fixed parent cache invalidation logic error.
hermet [Fri, 6 May 2011 10:55:24 +0000 (10:55 +0000)]
evas/evas_object_smart - fixed parent cache invalidation logic error.

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

13 years agoEvas textblock: Fix seg with empty textblocks that cause wrapping.
tasn [Fri, 6 May 2011 10:00:21 +0000 (10:00 +0000)]
Evas textblock: Fix seg with empty textblocks that cause wrapping.

Revert "evas: don't assume anymore that text_node is != NULL."
This reverts commit 59231

Thanks to cedric for the report + initial fix.

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

13 years agoevas: don't try all loader on directory.
cedric [Fri, 6 May 2011 09:36:24 +0000 (09:36 +0000)]
evas: don't try all loader on directory.

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

13 years agoevas: actually check if loading header was fine.
cedric [Fri, 6 May 2011 09:01:18 +0000 (09:01 +0000)]
evas: actually check if loading header was fine.

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

13 years agoevas: don't assume anymore that text_node is != NULL.
cedric [Fri, 6 May 2011 09:00:44 +0000 (09:00 +0000)]
evas: don't assume anymore that text_node is != NULL.

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

13 years agoEvas liblinebreak: Don't ship it's headers. Oops, missed that one.
tasn [Thu, 5 May 2011 17:57:31 +0000 (17:57 +0000)]
Evas liblinebreak: Don't ship it's headers. Oops, missed that one.

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

13 years agoEvas textblock: Fix linewrap to only wrap if there's a wrap point.
tasn [Thu, 5 May 2011 16:35:39 +0000 (16:35 +0000)]
Evas textblock: Fix linewrap to only wrap if there's a wrap point.

For example before the fix, "aaa<b>cccc</>aaa" would have 2 possible
wrap points, <b> and </>, after the fix, those are no longer valid.
Also fixed another issue with wrapping not working.

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

13 years agoEvas textblock: Updated a FIXME.
tasn [Thu, 5 May 2011 16:35:36 +0000 (16:35 +0000)]
Evas textblock: Updated a FIXME.

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

13 years agoEvas textblock: Until we actually use it in charwrap, don't malloc line_breaks.
tasn [Thu, 5 May 2011 16:35:32 +0000 (16:35 +0000)]
Evas textblock: Until we actually use it in charwrap, don't malloc line_breaks.

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

13 years agoEvas textblock: Wrapping is now absolute to the paragraph.
tasn [Thu, 5 May 2011 13:38:09 +0000 (13:38 +0000)]
Evas textblock: Wrapping is now absolute to the paragraph.

This is not yet noticable, still need to use the new info.

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

13 years agoEvas textblock: Use more relevant replacement chars for formats.
tasn [Thu, 5 May 2011 13:38:04 +0000 (13:38 +0000)]
Evas textblock: Use more relevant replacement chars for formats.

For example we use 0x2029 (PS char) for paragraph separator, \n for newline
and \t for tab. This lets us handle their bidi and line break properties
in a more correct manner.

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

13 years agofix it so it's extensible and we'll avoid errors in future.
barbieri [Thu, 5 May 2011 13:33:12 +0000 (13:33 +0000)]
fix it so it's extensible and we'll avoid errors in future.

Often people will copy, paste and modify the "if" block, so let's do
it right from beginning.  What was wrong was the "" (empty string) as
initial SUBDIR.

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

13 years agoEvas static_deps: And now fix the Makefile.am.
tasn [Thu, 5 May 2011 12:50:36 +0000 (12:50 +0000)]
Evas static_deps: And now fix the Makefile.am.

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

13 years agoEvas: Actually add the static_deps make file.
tasn [Thu, 5 May 2011 12:42:46 +0000 (12:42 +0000)]
Evas: Actually add the static_deps make file.

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

13 years agoEvas: Updated changelog.
tasn [Thu, 5 May 2011 11:06:09 +0000 (11:06 +0000)]
Evas: Updated changelog.

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

13 years agoEvas textblock: Clean up word/mixed wrap and add liblinebreak support.
tasn [Thu, 5 May 2011 11:06:06 +0000 (11:06 +0000)]
Evas textblock: Clean up word/mixed wrap and add liblinebreak support.

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

13 years agoEvas font-engine: Made the cutoff error more verbose.
tasn [Thu, 5 May 2011 11:06:03 +0000 (11:06 +0000)]
Evas font-engine: Made the cutoff error more verbose.

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

13 years agoEvas font-query: Fixed documentation error.
tasn [Thu, 5 May 2011 11:05:59 +0000 (11:05 +0000)]
Evas font-query: Fixed documentation error.

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

13 years agoEvas canvas: use liblinebreak when available.
tasn [Thu, 5 May 2011 11:05:54 +0000 (11:05 +0000)]
Evas canvas: use liblinebreak when available.

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

13 years agoEvas linebraek: Fix liblinebreak's CB class at sot handling.
tasn [Thu, 5 May 2011 11:05:50 +0000 (11:05 +0000)]
Evas linebraek: Fix liblinebreak's CB class at sot handling.

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

13 years agoEvas: Added liblinebreak (static dep) to the build process.
tasn [Thu, 5 May 2011 11:05:44 +0000 (11:05 +0000)]
Evas: Added liblinebreak (static dep) to the build process.

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

13 years agoEvas text_utils: Added evas_common_text_props_can_split
tasn [Thu, 5 May 2011 11:05:37 +0000 (11:05 +0000)]
Evas text_utils: Added evas_common_text_props_can_split

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

13 years agoevas / canvas - removed useless line.
hermet [Wed, 4 May 2011 11:19:49 +0000 (11:19 +0000)]
evas / canvas - removed useless line.

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

13 years agoEvas font: only "bidi-shape" RTL strings.
tasn [Wed, 4 May 2011 08:46:17 +0000 (08:46 +0000)]
Evas font: only "bidi-shape" RTL strings.

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

13 years agoEvas font-engine: Moved non-draw related from font_draw.c to font_main.c
tasn [Wed, 4 May 2011 08:27:19 +0000 (08:27 +0000)]
Evas font-engine: Moved non-draw related from font_draw.c to font_main.c

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

13 years agoEvas font-engine: Use Eina_Unicode instead of int for unicode codepoints
tasn [Wed, 4 May 2011 08:27:13 +0000 (08:27 +0000)]
Evas font-engine: Use Eina_Unicode instead of int for unicode codepoints

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

13 years agomake get program binary able to be disabled via env var and display if
raster [Wed, 4 May 2011 08:05:46 +0000 (08:05 +0000)]
make get program binary able to be disabled via env var and display if
wee find the extn too. tested on gles now too.

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

13 years agoEvas language: Fixed a warning and a comment.
tasn [Wed, 4 May 2011 06:57:45 +0000 (06:57 +0000)]
Evas language: Fixed a warning and a comment.

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

13 years agoEvas text: Don't save unicode text, no use for it.
tasn [Wed, 4 May 2011 06:57:35 +0000 (06:57 +0000)]
Evas text: Don't save unicode text, no use for it.

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

13 years agofix warning.
raster [Wed, 4 May 2011 06:29:30 +0000 (06:29 +0000)]
fix warning.

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

13 years agochlog++
raster [Wed, 4 May 2011 06:15:11 +0000 (06:15 +0000)]
chlog++

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

13 years agoFrom: Jiyoun Park <jy0703.park@samsung.com>
raster [Wed, 4 May 2011 06:15:00 +0000 (06:15 +0000)]
From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Evas gl shader use binary shader

I make patch related with evas gl binary shader.

The concept of binary shader is  compile shader only once.

Some people want to use binary shader because of performance issue.

In current evas gl engine, every application have to compile shader each
time.

But I modify code , so only first running application need compile shader.

Other application use already compiled shader(binary shader)

The binary shader is made under HOME/.evas/gl_common_shaders directory.

Binary shader is created according to GL vendor,GL renderer, GL version and
Module_arch.

The basic flow is

1.     First running application which use gl engine check binary shader
directory, but it can't find binary shader.
2.     After compiling shader, It saves compiled shaders..
3.     Other application checks shader directory, it can use binary
shaders.

In mobile target, using binary shader, I can save 150ms. (that time, there
is 11 shaders).

If there is more shaders and more applications, this flow maybe save more
total time.

(the above is now in, changelog coming, with change to using ~/.cache,
some formatting fixes, make ity do the desktop gl one right with the
retrievable hint parameter ont he program etc. - doesn't break desktop
gl at least. yay. a,so fixes to mke it compile at all).

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

13 years agochlog++
raster [Wed, 4 May 2011 02:28:23 +0000 (02:28 +0000)]
chlog++

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

13 years agoimprove table layout for homogneous mode so it rounds correctly if
raster [Wed, 4 May 2011 02:27:00 +0000 (02:27 +0000)]
improve table layout for homogneous mode so it rounds correctly if
table not a multiple of rows and/or cols in size

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

13 years agoEvas font-engine: Fix size activation of fi in content_create.
tasn [Tue, 3 May 2011 16:18:17 +0000 (16:18 +0000)]
Evas font-engine: Fix size activation of fi in content_create.

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

13 years agoEvas font-engine: Fix glyphs not being drawn.
tasn [Tue, 3 May 2011 14:36:47 +0000 (14:36 +0000)]
Evas font-engine: Fix glyphs not being drawn.

Thanks to Brian Wang for the report.

This happened because we were querying for the index of the wrong fi,
this became especially visible after we started caching fi.

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

13 years agoaaaaah fix my fix for preloading multi-target entry stuff to call per
raster [Tue, 3 May 2011 09:10:10 +0000 (09:10 +0000)]
aaaaah fix my fix for preloading multi-target entry stuff to call per
preload target again (fix shortcut)

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

13 years agoalso conflict with gl2.h (gles2 headers)
raster [Tue, 3 May 2011 05:53:20 +0000 (05:53 +0000)]
also conflict with gl2.h (gles2 headers)

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

13 years agoformatting fix.
raster [Tue, 3 May 2011 03:24:36 +0000 (03:24 +0000)]
formatting fix.

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

13 years agoif you preload the same image more than once.. it may/will cause
raster [Tue, 3 May 2011 03:20:02 +0000 (03:20 +0000)]
if you preload the same image more than once.. it may/will cause
problems as target is inserter in cache image target list multiple
times. fix by only alloding preload request to go in once.

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

13 years agowrn--
raster [Tue, 3 May 2011 03:11:08 +0000 (03:11 +0000)]
wrn--

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

13 years agoEvas font-engine: Remove passing of strings to font_draw.
tasn [Mon, 2 May 2011 15:33:46 +0000 (15:33 +0000)]
Evas font-engine: Remove passing of strings to font_draw.

This is not needed anymore because we have working string objects.

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

13 years agoEvas font-draw: Fix word-cache to not need text.
tasn [Mon, 2 May 2011 15:33:38 +0000 (15:33 +0000)]
Evas font-draw: Fix word-cache to not need text.

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

13 years agoEvas textblock: Now that we cache fi, we don't need shaped_text anymore.
tasn [Mon, 2 May 2011 15:33:35 +0000 (15:33 +0000)]
Evas textblock: Now that we cache fi, we don't need shaped_text anymore.

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

13 years agoEvas textblock: Remove obsolete comment.
tasn [Mon, 2 May 2011 15:33:31 +0000 (15:33 +0000)]
Evas textblock: Remove obsolete comment.

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

13 years agoEvas textblock: We finally cache fi - remove related hacks.
tasn [Mon, 2 May 2011 15:33:27 +0000 (15:33 +0000)]
Evas textblock: We finally cache fi - remove related hacks.

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

13 years agoEvas bidi: Made fribidichar<->eina_unicode conversion a compile time test.
tasn [Mon, 2 May 2011 13:24:26 +0000 (13:24 +0000)]
Evas bidi: Made fribidichar<->eina_unicode conversion a compile time test.

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

13 years agoevas: don't use EINA_LOCK_INITIALIZER and improve eina_threads call.
cedric [Mon, 2 May 2011 11:28:47 +0000 (11:28 +0000)]
evas: don't use EINA_LOCK_INITIALIZER and improve eina_threads call.

Only call eina_threads_shutdown when thread are dead and not before.

Release and destroy thread lock before calling evas_async_events_process
as you should never have a lock taken in the main loop when calling it.

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

13 years agoEvas font-engine: Cache fi for all cases (even without harfbuzz).
tasn [Mon, 2 May 2011 09:28:00 +0000 (09:28 +0000)]
Evas font-engine: Cache fi for all cases (even without harfbuzz).

This is now possible, because we have a script querying function.

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

13 years agoEvas language: Split to script even if there's no Harfbuzz.
tasn [Mon, 2 May 2011 09:27:56 +0000 (09:27 +0000)]
Evas language: Split to script even if there's no Harfbuzz.

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

13 years agoEvas font-engine: Made *_unicode_funcs_get internal to font_ot.c
tasn [Mon, 2 May 2011 09:27:49 +0000 (09:27 +0000)]
Evas font-engine: Made *_unicode_funcs_get internal to font_ot.c

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

13 years agowarning-- for eina locks
raster [Mon, 2 May 2011 08:24:27 +0000 (08:24 +0000)]
warning-- for eina locks

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

13 years agoEvas language: Added a character script querying function.
tasn [Mon, 2 May 2011 07:28:07 +0000 (07:28 +0000)]
Evas language: Added a character script querying function.

This is added until there will be a library that does it; From my
understanding, there are already people working on such library.

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

13 years agoEvas language: Updated scripts according to Unicode 6.0
tasn [Mon, 2 May 2011 07:28:02 +0000 (07:28 +0000)]
Evas language: Updated scripts according to Unicode 6.0

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

13 years agoEvas language: Fix typos.
tasn [Mon, 2 May 2011 07:27:59 +0000 (07:27 +0000)]
Evas language: Fix typos.

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

13 years agoEvas textblock: Unified the wmax calculation into one place.
tasn [Mon, 2 May 2011 07:27:48 +0000 (07:27 +0000)]
Evas textblock: Unified the wmax calculation into one place.

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

13 years agomore docs.
raster [Mon, 2 May 2011 03:06:34 +0000 (03:06 +0000)]
more docs.

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

13 years agoimprove evas_gl docs a bit.
raster [Mon, 2 May 2011 02:43:10 +0000 (02:43 +0000)]
improve evas_gl docs a bit.

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

13 years agoFrom: "Sung W. Park" <sungwoo@gmail.com>
raster [Mon, 2 May 2011 02:14:00 +0000 (02:14 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>
Subject: evas_gl_api_get patch.

Here's a patch that simply overrides the GL functions for Evas_GL
except for two functions that I provide on my own.  It may have some symbol
resolving warnings but that'll all go away eventually when we do everything
via dlsym or getProcAddress.

You can apply the patch to the latest revision of evas.  (I've just
updated them) I'm also attaching a sample GLES program that uses
evas_gl_api_get. You don't need to link it to -lGL.

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

13 years agoadd LKDBUG. sorry - was trying to ekep other changes out of svn for
raster [Mon, 2 May 2011 00:45:16 +0000 (00:45 +0000)]
add LKDBUG. sorry - was trying to ekep other changes out of svn for
nowand didnt commit this bit.

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

13 years agoand fix up lock goop to work right with improved eina lock goop. i
raster [Sun, 1 May 2011 13:25:23 +0000 (13:25 +0000)]
and fix up lock goop to work right with improved eina lock goop. i
hope i nixed this bug.

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

13 years agorevert some changces to try fix lock issues - they create other
raster [Sun, 1 May 2011 07:26:42 +0000 (07:26 +0000)]
revert some changces to try fix lock issues - they create other
nastier ones.

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

13 years agotry and remove lock deadlocks...
raster [Sun, 1 May 2011 06:58:36 +0000 (06:58 +0000)]
try and remove lock deadlocks...

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

13 years agoEvas: Filter: Brightness: Fix clamp ranges, and don't double negate
nash [Sun, 1 May 2011 06:39:26 +0000 (06:39 +0000)]
Evas: Filter: Brightness: Fix clamp ranges, and don't double negate

Basically it's a clamp function...

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

13 years agoevas: filter: brightness: software brightness filter.
nash [Sun, 1 May 2011 06:39:24 +0000 (06:39 +0000)]
evas: filter: brightness: software brightness filter.

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

13 years agoevas: filter: Use the correct fields in filter_set
nash [Sun, 1 May 2011 06:39:22 +0000 (06:39 +0000)]
evas: filter: Use the correct fields in filter_set

Strangely, not everything is a blur.

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

13 years agoUse ARGB_JOIN everywhere in evas_filter.
nash [Sun, 1 May 2011 06:39:19 +0000 (06:39 +0000)]
Use ARGB_JOIN everywhere in evas_filter.

Now to re-apply brightness.

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

13 years agoand try and reduce possible cache deadlocks/issues.
raster [Sun, 1 May 2011 06:26:41 +0000 (06:26 +0000)]
and try and reduce possible cache deadlocks/issues.

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