Commit Graph

1076 Commits

Author SHA1 Message Date
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
Rafael Antognolli d94025ca29 evas/cserve2: Split out the glyph rendering code from
glyph_get().
Now it's possible to get a font glyph without needing to render it
(although Evas is not doing so).



SVN revision: 71131
2012-05-15 21:15:08 +00:00
Cedric BAIL f9650433ed evas: apparently i am not the only user of the pipeline rendering.
SVN revision: 71104
2012-05-15 11:11:33 +00:00
Carsten Haitzler ce4a431e4d Fix pixman rendering support if you set alpha flag AFTER
setting image size for custom image data.
                


SVN revision: 70987
2012-05-14 06:56:22 +00:00
Cedric BAIL 4494035fa7 evas: detect properly when we wippe out font information.
SVN revision: 70923
2012-05-11 01:50:40 +00:00
Iván Briano a033707137 And make map work with cserve2
SVN revision: 70858
2012-05-07 19:58:34 +00:00
Iván Briano 15328efb85 evas/cserve2: fix typo that kept cserve2 disabled
now seriously...

Introducing Cache Serve 2.

This cache server will initially load images for clients connected to
it. It starts slave processes to load these images, and share the loaded
images through shm with the clients. All the connection done between
clients and the server goes through sockets.

The cserve2 build option is turned on by default, while the old cserve
was disabled, but in order to make clients use it, the environment
variable EVAS_CSERVE2 must be set, and a server must be running.

Clients will try to find the socket on a specified location using the
environment variable EVAS_CSERVE2_SOCKET. If it's not defined, then the
XDG_RUNTIME_DIR path should be used, and finally HOME, TMPDIR and /tmp.



SVN revision: 70699
2012-05-03 21:01:31 +00:00
Cedric BAIL f644afebf0 evas: \o/ My mojo is back, unbork pipeline font rendering.
SVN revision: 70687
2012-05-03 07:31:04 +00:00
Tom Hacohen 6841959b14 Evas font: Fix a compiler warning.
SVN revision: 70555
2012-04-30 11:15:18 +00:00
Cedric BAIL f046fa4c46 evas: remove unused parameter.
SVN revision: 70550
2012-04-30 09:42:42 +00:00
Cedric BAIL 377cc2368a evas: remove EVAS_FRAME_QUEUING.
NOTE: This should be part of evas_render itself and not
delegated to the engine. So cleaning things to make it easier
during evas_render rewrite.


SVN revision: 70503
2012-04-26 09:53:03 +00:00
Cedric BAIL 9dbaea6dd1 evas: remove WORD_CACHE and METRIC_CACHE.
Note: this two were broken. Current plan to bring
that feature back in, is to attach this information
to Evas_Text_Prop during the prepare stage. This
would improve both single and multiple core rendering
without increasing the number of lock and the complexity
of the code.


SVN revision: 70501
2012-04-26 09:04:08 +00:00
Cedric BAIL 5965fb4282 evas: remove EVAS_SLI code path, it was to slow and unused for years.
NOTE: other things that may join it in the near futur EVAS_FRAME_QUEUE,
EVAS_METRIC_CACHE and maybe EVAS_WORD_CACHE also. This is all part of
cleaning up our rendering path so we can actually improve it more easily.


SVN revision: 70499
2012-04-26 08:41:39 +00:00
Cedric BAIL 0a5c840c48 evas: lock less font rendering.
SVN revision: 70497
2012-04-26 08:18:51 +00:00
Carsten Haitzler 0037f3bf30 minor fix to convert-tiled.
SVN revision: 70363
2012-04-20 13:31:53 +00:00
Carsten Haitzler b56d2a710b fix up missing LKI/LKD which was still pthread. hurts windows port due
to using eina_lock there.



SVN revision: 69498
2012-03-19 06:18:44 +00:00
Carsten Haitzler 396572a355 fix regression during 1.1 dev (towards 1.2) that made evas over-render
way too much! FIXED



SVN revision: 68204
2012-02-21 07:01:39 +00:00
Vincent Torri 4060b7d96e Evas: remove WIN32_CPPFLAGS and WIN32_CFLAGS are there are not used anymore. Move some headers in evas_common.h
SVN revision: 68100
2012-02-18 08:33:00 +00:00
Carsten Haitzler 6ead226a93 while looking into the infintie loop issue - update regions can become
a lot in these pathological cases, so limit them to 24 and if > use
bounding box as a single region.



SVN revision: 67917
2012-02-14 11:45:23 +00:00
Carsten Haitzler b7efefd294 some more debug for surfs
SVN revision: 67758
2012-02-08 12:25:50 +00:00
Carsten Haitzler d279c4e97c add some definable surf debug code... and STORE allocated size on
alloc so cache doesnt overfill!!!!!!!!!!!!!!!



SVN revision: 67757
2012-02-08 12:08:41 +00:00
Carsten Haitzler 767e40227c revert cedricism's. this just creates an infintie evas_image_entry leak.
SVN revision: 67755
2012-02-08 11:22:09 +00:00
Cedric BAIL 7055227957 evas: use evas_image_cache_drop instead of plain wrong call to free.
SVN revision: 67681
2012-02-01 17:28:30 +00:00
Gustavo Sverzut Barbieri 9a47bffc98 fix gcc warnings about set-but-unused and shadows of y1.
NOTE: did not touch mess that is jpeg, someone else can deal with it :-P



SVN revision: 67353
2012-01-19 16:49:47 +00:00
Sebastian Dransfeld 7f9dc64529 evas: correct notation to indicate unused variable
SVN revision: 67305
2012-01-18 23:34:05 +00:00
Sebastian Dransfeld c9abcf691d evas: Remove unused variables
SVN revision: 67302
2012-01-18 23:33:33 +00:00
Youness Alaoui 8c91b5b493 Evas: Do not build altivec feature if disabled in configure
On macosx i386, that code fails because even though __VEC__ is defined,
the compiler doesn't understand the 'vector' keyword (that macro is
irrelevent here). So there was no way to make evas compile for ppc if
altivec was not supported by the compiler.

SVN revision: 66966
2012-01-08 07:22:01 +00:00