Commit Graph

60 Commits

Author SHA1 Message Date
Carsten Haitzler 45d79a15cb allow x11 engines to get x resource that sets dpi.
SVN revision: 44965
2010-01-08 07:10:53 +00:00
Vincent Torri e5046c8846 Fix some warnings. I don't touch map code for now.
SVN revision: 43218
2009-10-22 22:22:10 +00:00
Carsten Haitzler 37b66e806b new gl engine. no one uses it anyway. not 100% complete, but much better than
the old. and it ALSO does GLES2.0 as well asn GL.



SVN revision: 42982
2009-10-09 12:10:27 +00:00
Cedric BAIL 5d0a773fef * evas: Use Eina hash improvements.
SVN revision: 41101
2009-06-18 12:14:29 +00:00
Cedric BAIL 6d0ee81526 * evas: Remove Evas_Bool.
SVN revision: 41067
2009-06-17 10:01:52 +00:00
Cedric BAIL 0839ec65ea * Evas: Improve RGBA_Font_* cache using hash and stringshare correctly.
Note: This should not impact font rendering, but if you notice anything
	wrong, please don't hesitate to report this to me.


SVN revision: 41050
2009-06-15 15:07:13 +00:00
Gustavo Sverzut Barbieri 74ece51f0b warnings--
SVN revision: 39593
2009-03-19 19:29:05 +00:00
Vincent Torri f344743dae fix some warnings reported by llvm (see http://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



SVN revision: 39172
2009-02-24 08:31:31 +00:00
Cedric BAIL b70ae3c927 * 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.


SVN revision: 38993
2009-02-10 15:53:17 +00:00
Cedric BAIL 2b278b9419 Remove use of evas_hash from evas and use directly eina.
SVN revision: 38066
2008-12-09 17:56:31 +00:00
Cedric BAIL 465b76a017 Remove Evas_List from Evas.
SVN revision: 36942
2008-10-21 16:31:05 +00:00
Cedric BAIL 68d377afe6 Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/
EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo.



SVN revision: 36928
2008-10-21 12:19:57 +00:00
Cedric BAIL e9ddcdd311 Remove evas hash.
SVN revision: 36862
2008-10-20 16:12:47 +00:00
Cedric BAIL bdfed791ea More use of iterator macro.
SVN revision: 36852
2008-10-20 12:36:48 +00:00
Cedric BAIL c99824328f Move from Evas_Object_List to Eina_Inlist and completly remove Evas_Object_List.
SVN revision: 36750
2008-10-17 11:23:18 +00:00
Cedric BAIL 1cec65e922 Switch evas internal use of evas_stringshare to eina_stringshare.
SVN revision: 36674
2008-10-15 14:38:34 +00:00
doursse 77a014170b formatting
SVN revision: 35130
2008-07-16 20:46:47 +00:00
doursse b5011a094e evas_common_array_hash_free --> evas_array_hash_free
SVN revision: 35054
2008-07-10 18:12:45 +00:00
Gustavo Sverzut Barbieri 7cb7216314 Add const: evas_hash.c
As agreed on IRC, evas_hash_foreach() now takes const, to make clear
that hash shouldn't be changed. If one wants to change he must do a
cast and return 0.  However this will require users to be updated in
applications.


SVN revision: 33708
2008-02-08 19:55:03 +00:00
Stafford Mitchell Horne f0c58de312 Fix problem with fonts that cant load completely
* fix reference counting for font_int(s)
 * properly backout if face doesnt load correctly, this way we dont end up
   using the face again
 * put some comments about fudged font cache


SVN revision: 29863
2007-05-05 10:30:11 +00:00
Carsten Haitzler 9781eb9b38 1. evas gets a pipeline with deferred rendering ability (sometimes faster,
sometimes slower)
2. --enable-pthreads will enable multi-threaded rendering (current support is
for up to 4 threads so if you have a new fanled quad core or dual cpu dual
core box or whatever you will in theory be able to max moe of its cpu grunt
with the software rendering engine. this can only be done because i added the
pipelines which means almsot entirely lock-free multithreading internally in
evas. the only locks are for fonts but with a little work i might be able to
remove some/most of those too)

for now pthreaded rendering likely will be linux only (it relies on sched.h
for setting scheduler params to force the slave threads to run on separate
cpu's as linux likes to keep them on the same cpu otherwise and thus we get
no speedups at all - only slowdowns).

aso note that it is a bit of a mixed bag. complex ops (like smooth scaling
with alpha blending) get speedups, but simple ops (like blits/fills) slow down.

this all neds examination and tweaking still - but it's a start.


SVN revision: 27098
2006-11-13 23:23:44 +00:00
tilman 050db03ce7 don't rely on TT_CONFIG_OPTION_BYTECODE_INTERPRETER in freetype 2.1, because distros suck so much. oh well.
SVN revision: 26428
2006-10-08 13:58:58 +00:00
tilman 4bd6d8870a fixed evas_common_hinting_available so it works properly with both freetype 2.1 and 2.2
SVN revision: 26421
2006-10-08 13:00:26 +00:00
sebastid e55f7b27b2 Functions used by modules must be EAPI
SVN revision: 25526
2006-09-06 07:33:40 +00:00
Carsten Haitzler 4cedfd95b9 way too many freetype headers are wrong - dont rely on them. :(
SVN revision: 23688
2006-07-03 09:09:06 +00:00
Stafford Mitchell Horne 88edaa2e02 Add font charmap caching
* TODO: store cache on disc, for faster cache loading (this requires EET to support arrays)


SVN revision: 22294
2006-04-22 11:08:01 +00:00
Stafford Mitchell Horne f0b6819b6b Make sure to finish initializing sourced fonts
SVN revision: 21968
2006-04-09 02:36:03 +00:00
Stafford Mitchell Horne 8f207f622f Evas on-demand font loading
* When fonts are added from files we will only load the details
 * The first font is always loaded
 * I know there is a patch for this on the list but this way seems better to me


SVN revision: 21964
2006-04-09 00:02:47 +00:00
stffrdhrn ec8cd4cc08 Add fontconfig to evas for finding fonts
* This can be disabled with --enable-fontconfig=no
 * Test in e17 with "enlightenment_remote -font-default-set title_bar Serif 12"
 * This is just the beginning: TODO: style searching, language reorder bypass


SVN revision: 21394
2006-03-19 04:29:57 +00:00
Carsten Haitzler 7ee17d1174 oops - yeah. watch the ptr.
SVN revision: 20830
2006-02-27 15:40:46 +00:00
stffrdhrn 436fcc1c36 FIXME: what do you do when fi is NULL?
* hint, don't SEGV.


SVN revision: 20824
2006-02-27 14:52:36 +00:00
Carsten Haitzler 10d6748b56 evas lets you choose font hinting - in theory. :)
SVN revision: 20823
2006-02-27 14:03:27 +00:00
Carsten Haitzler 1406d86f53 oops fix stringshare conversion bug.
SVN revision: 18777
2005-12-02 03:15:08 +00:00
Carsten Haitzler 3621124677 stringshare works! :)
SVN revision: 18724
2005-11-30 08:45:20 +00:00
Carsten Haitzler 7ea7bdf610 disable stringshare... something fishy.
SVN revision: 18698
2005-11-29 09:02:51 +00:00
Carsten Haitzler aaf6e303bd use stringshare. saves a few hundred allocs... if we start doing lots of text
:)


SVN revision: 18679
2005-11-28 15:18:01 +00:00
Carsten Haitzler a5695df284 reduce a few more alloc counts by merging
SVN revision: 18643
2005-11-26 05:24:25 +00:00
sebastid fd5a41f525 Move freetype include along with the others, and use freetype define.
SVN revision: 16633
2005-09-07 02:31:30 +00:00
sebastid 044b599af0 Update functions to match ecore_hash.
Add missing function declaration.
Use signed int for width and height.


SVN revision: 16445
2005-08-31 17:33:32 +00:00
Carsten Haitzler 0273204901 some extra checks and leak fix
SVN revision: 16368
2005-08-26 08:00:49 +00:00
Carsten Haitzler 0a61e33102 some debugging commented out. seems evas's caches work like a charm
SVN revision: 14920
2005-05-23 06:29:40 +00:00
Carsten Haitzler 46e02cf8bb whitespace
SVN revision: 14889
2005-05-22 02:49:50 +00:00
Carsten Haitzler 8c235e2831 oops - size properly. fix!
SVN revision: 13810
2005-03-20 17:14:41 +00:00
Carsten Haitzler 792762f2d5 use engine add's
SVN revision: 13807
2005-03-20 16:41:49 +00:00
Carsten Haitzler 7462681dad werd to my homies... this had to happen sooner or later.... evas supports
FONTSETS!

so u can do
Vera,Kochi,Blah ... etc.
as the font name
it will fall back font by font until it finds a char or finally fails.

this is for internationalisation support...

WHERD!


SVN revision: 13804
2005-03-20 15:57:55 +00:00
Carsten Haitzler 100c9a3479 massive speedup in textblock... maaaaaaaaaaasive.
SVN revision: 13151
2005-01-31 09:32:31 +00:00
Carsten Haitzler 8375062f08 oops - NOw they agree. evas is fixed to 75 dpi - thats how it thinks now.
maybe i should export this as engine and then evas calls? lets see.


SVN revision: 11758
2004-10-06 00:08:12 +00:00
Carsten Haitzler 7edce6a8d6 this has always been there - it measn xft, x and evas dont agree on the size
of a "7 pixel" or "20 pixel" font. now they will. the numbers were fudged
frome examples... now they are pure :)


SVN revision: 11757
2004-10-06 00:05:20 +00:00
Carsten Haitzler f11447ab8a cross-compile cleanly damnit!
SVN revision: 9002
2004-02-17 07:12:38 +00:00
Carsten Haitzler 00d0dd777a and fix the sizing bug!!!!! all happy now!
SVN revision: 8666
2004-01-26 08:21:00 +00:00