Commit Graph

1102 Commits

Author SHA1 Message Date
Carsten Haitzler 3dbe48e4fe ok ok.. METRIC!
SVN revision: 77695
2012-10-10 07:00:07 +00:00
Carsten Haitzler aad2041e55 fix font rounding in evas to round and not floor - fixes some rare
font sizing issues.



SVN revision: 77688
2012-10-10 06:07:38 +00:00
Carsten Haitzler bb4ee2174c and remove 16bit engines/code as planned.
SVN revision: 77030
2012-09-24 04:13:59 +00:00
Igor Murzov e42648154f From: Igor Murzov <e-mail@date.by>
Subject: [E-devel] [PATCH][RESEND][Evas] WebP image loader

This patch adds a WebP image loader to Evas. No saver,
no animation support for now, just loader. Tested with
the libwebp-0.2.0 only, but should work fine with older
versions.



SVN revision: 75951
2012-09-03 06:22:59 +00:00
Tom Hacohen a1687ca4b9 Evas: Started using EVAS_GENERAL_CFLAGS/LIBS 2 vars to rule them all.
Instead of going all over the place and adding cflags to many different
Makefiles, now you just need to update these 2 vars.

SVN revision: 75619
2012-08-23 11:32:38 +00:00
Carsten Haitzler c601c066af move thinfo struct inot evas_pipe.c as its not needed elsewhere.
SVN revision: 74891
2012-08-06 00:22:31 +00:00
Tom Hacohen d657328c80 Evas font: Add missing include.
Seriously, I don't know why or how, but it got removed from my previous
commit. Anyhow, it's fixed now.

SVN revision: 74159
2012-07-19 06:43:21 +00:00
Vincent Torri 1790fc0bd6 evas: cleanup autotools a bit
SVN revision: 73843
2012-07-14 09:28:01 +00:00
Tom Hacohen 049b0a349d Evas font: Fixed runtime emboldenment of bitmap fonts.
SVN revision: 73578
2012-07-11 14:05:36 +00:00
Carsten Haitzler 3cc270844b fix binary search for "bitmap font drawing chars" to actually work all
the time! :) (this went in since last release so no chlog)



SVN revision: 73405
2012-07-06 09:53:58 +00:00
Cedric BAIL a99bf2c9b6 evas: fix clipping issue with pipe rendering.
SVN revision: 73322
2012-07-05 03:11:47 +00:00
Cedric BAIL 849caf7b54 evas: more compiler fix.
SVN revision: 73278
2012-07-04 12:29:14 +00:00
Cedric BAIL 98f5c5828c evas: remove dh compiler warning.
SVN revision: 73277
2012-07-04 12:25:53 +00:00
Christopher Michael 669689dbef Evas: Remove unused variables.
SVN revision: 73276
2012-07-04 12:23:35 +00:00
Cedric BAIL 001c11207a evas: move evas_common_pipe_init out of the #if.
SVN revision: 73274
2012-07-04 12:17:18 +00:00
Cedric BAIL b99a2e63c6 evas: remove duplication.
SVN revision: 73267
2012-07-04 11:25:18 +00:00
Cedric BAIL c8c36eae47 evas: fix back line and polygon draw with pipe rendering.
SVN revision: 73266
2012-07-04 10:32:38 +00:00
Cedric BAIL 2e0fd1d375 evas: make the code do what we expect by destroying Glyph at the right time.
This fix the leak issue that was added lately and make the code
more easy to follow.


SVN revision: 73265
2012-07-04 10:21:06 +00:00
Cedric BAIL 1d415b796b evas: add more infrastructure to the prepare stage of pipe rendering.
NOTE: this improve some test by 10 to 15% some other are down by 5%.
Their is still more tunning and improvement possible now (Particularly
with Map), but it will do for now.


SVN revision: 73264
2012-07-04 09:39:23 +00:00
Tom Hacohen 382c380bb2 Evas: Revert "Evas: Support harfbuzz version checking." (73196)
1. We already check in configure.ac that harfbuzz is at least 0.9.0, so
those code paths will never get triggered anyway.
2. We don't plan on supporting old harfbuzz anyway. People should just
upgrade harfbuzz (Not really an issue since it's not yet released).

SVN revision: 73197
2012-07-03 07:29:37 +00:00
Christopher Michael cf10c5d487 Evas: Support harfbuzz version checking.
NB: Merged from Tizen to upstream EFL.



SVN revision: 73196
2012-07-03 07:23:17 +00:00
Carsten Haitzler 6d605629ca fix refcounting issue with font instances.
SVN revision: 72990
2012-06-28 10:13:05 +00:00
Mike Blumenkrantz bc140047b6 unused--
SVN revision: 72844
2012-06-26 06:49:28 +00:00
Carsten Haitzler 01c382407b clean up terminal char line drawing fallback to be more specific (fall
back only if 1 size and num glyphs < 513 and find failed). ALSO make
lookup a binary-search for efficiency.



SVN revision: 72710
2012-06-23 02:32:30 +00:00
Rafael Antognolli 9ebc095a1f evas/fonts: Remove warning.
SVN revision: 72702
2012-06-22 21:19:27 +00:00
Rafael Antognolli 2f3426b67c evas/cserve2: CServe2 client side lib modifications.
Add the calls to request font loading and glyphs on the client lib.



SVN revision: 72700
2012-06-22 20:31:31 +00:00
Carsten Haitzler e15ba8bba1 tenative font glyph workaround for fonts not containing gfx drawing
chars.



SVN revision: 72604
2012-06-21 13:48:59 +00:00
Carsten Haitzler 9a56eec38c woooow line advance broken for bitmap fonts!
SVN revision: 72513
2012-06-20 04:53:21 +00:00
Tom Hacohen 3e5a5aac7b Evas textblock: Fixed rendering issues with small fonts.
GRIDFIT when we HINT, get the UNSCALED sizes otherwise.

SVN revision: 72409
2012-06-18 15:43:49 +00:00
Tom Hacohen eefaa4c0fe Evas font: Revert "This makes build break when harfbuz already installed ."
This reverts commit 72372.

I just don't get this commit, you just disabled the define that's
responsible of turning harfbuzz on. If you have a too old harfbuzz,
update, I don't plan on supporting old versions of an unreleased always
changing piece of sw.

SVN revision: 72393
2012-06-18 12:50:19 +00:00
Jiyoun Park bd102bf741 This makes build break when harfbuz already installed .
for example , hb_shape_full function is supported only harfbuzz-20120607 version.
(harfbuzz 0.6 or 0.7 does not support this function)
but OT_SUPPORT define always turned on if harfbuzz installed.
 


SVN revision: 72372
2012-06-18 08:30:32 +00:00
Cedric BAIL b3c50c2407 evas: destroy the mutex after we use it for the last time.
SVN revision: 72329
2012-06-18 01:05:30 +00:00
Tom Hacohen 6e3ddcd6a0 Evas font: Fix the font engine to work with Bitmap fonts.
Oops, I used the Outline CBox function instead of the Glyph one. Fixed.

SVN revision: 72278
2012-06-17 07:18:50 +00:00
Cedric BAIL 67a8db57b1 evas: let's have an O(1) check instead of O(N).
SVN revision: 72266
2012-06-17 04:32:54 +00:00
Carsten Haitzler 6746b071d1 and in my continuing foxes for bitmap font loading... correctly chose
the closest of N sizes.



SVN revision: 72055
2012-06-13 00:54:27 +00:00
Tom Hacohen c3fe7b3aa8 Evas: Unbreak evas. Apparently it doesn't compile in some cases.
Thanks to mekius for reporting.

SVN revision: 72036
2012-06-12 15:25:27 +00:00
Tom Hacohen a9709c792e Evas font: Support no bidi no shaping mode in font rendering.
For no bidi: just don't set the bidi stuff. I.e paragraph props and the
other stuff (including text_props_direction_set). If you disable BiDi you most
likely want to disable shaping as well.
For no shaping: Disable bidi (i.e don't set direction) and pass
EVAS_TEXT_PROPS_MODE_NONE to info create.

This will prove especially useful for textgrid, but not only.

SVN revision: 72032
2012-06-12 14:14:52 +00:00
ChunEon Park 3a0f535a40 evas/line - Fixed simple line drawing on s/w backened. Unmatched loop scope caused the destination buffer pointer march in place.
SVN revision: 71977
2012-06-12 02:52:51 +00:00
ChunEon Park ea43e9004f evas/line - fixed indentation
SVN revision: 71976
2012-06-12 02:47:34 +00:00
Cedric BAIL c9cd50983f evas: make pipe rendering faster by forcing it to update region that fit in CPU cache.
NOTE: for people using Evas pipe rendering infrastructure. I am interested in reporting
expedite test before and after this patch with the associated type of CPU (number, thread,
cache). Thanks.


SVN revision: 71887
2012-06-10 04:58:24 +00:00
Carsten Haitzler 9d96a8ec62 fix bvitmap font handling. woot. can use pcf's and bitmap ttf's well n
ow. :)



SVN revision: 71886
2012-06-10 03:23:57 +00:00
Cedric BAIL dd84715cc8 evas: fix YUV video prepare issue with pipe rendering.
SVN revision: 71771
2012-06-07 04:01:46 +00:00
Cedric BAIL 7909cb7bd6 evas: finally got rid of that nasty dancing font issue with pipe rendering.
SVN revision: 71544
2012-05-30 08:29:29 +00:00
Cedric BAIL ef3e42033b evas: Don't wake up prepare thread when there is nothing to do.
SVN revision: 71543
2012-05-30 08:15:42 +00:00
Tom Hacohen af55fb6217 Evas text: apply italic correction for run-time slanted texts (disabled).
Also, put the slant angle calculations in a macro for easier future changes.
Just have it there so people who want it can turn it on.

SVN revision: 71506
2012-05-29 14:43:17 +00:00
Tom Hacohen d7f811fe8f Evas font-draw: Use bitmap offset in the glyph when drawing.
SVN revision: 71505
2012-05-29 14:43:10 +00:00
Cedric BAIL d30a9bf8be evas: this should fix the last remaining bug with my lockless font rendering.
SVN revision: 71236
2012-05-19 07:43:37 +00:00
Cedric BAIL 495addd041 evas: don't try to walk if we don't have anything to walk on.
SVN revision: 71221
2012-05-18 03:16:22 +00:00
Cedric BAIL b0d3526d89 evas: another improvement part of the previous lock less font rendering patch.
Now evas will in all case do the layout during the prepare stage. It will do that
once and as long as the text didn't change. This does improve by a factor of at
least 2.3 in all expedite test case except the text change that only get a 30%
increase (I expect a drop in performance on non pipe rendering for text change
expedite test only, but this case is not common in real life).

This also fix the issue that show random size glyph when using pipe rendering.


SVN revision: 71220
2012-05-18 02:16:54 +00:00
Rafael Antognolli ad37a5e7bf evas/cserve2: Use width and horizontal bearing from
glyph metrics.
Instead of having to render the glyph to get the width and horizontal
bearing of it, it's possible to get this information from the glyph
metrics (which are available on the glyph slot).

This change now allows Evas to only render the glyph at the rendering
phase, instead of having to render it during layout phase.



SVN revision: 71132
2012-05-15 21:15:20 +00:00