Commit Graph

608 Commits

Author SHA1 Message Date
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
Cedric BAIL ad1525e5f9 Make evas depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36621
2008-10-13 15:58:56 +00:00
Carsten Haitzler 6dfb74c54a and now i added "line dither". what is this. it's only for non-rotated 16bpp
565. what it does is it's a half-way house between no dither and "small
dither mask". what is does is change the "rounding" between odd and even
lines. the resolt is not as nice as small (or large) dither mask - but its
almost "good". it gives a horizontal-blinds like look to dithering. it's
almost as fast as no-dither in my tests on a core2 (of course making lots of
use of branch prediction or conditional instructins - whihc arm nd x86 have).



SVN revision: 36373
2008-10-01 06:37:31 +00:00
Carsten Haitzler 4e809cf60d 1. yuv fix for unused algorithm :)
2. jose's 16bit speedup patches. quick summary:

speedups:
large dither 409 -> 518
small dither 451 -> 524
no dither    728 -> 757

(reference) 32bit gets: 853



SVN revision: 36369
2008-10-01 02:27:18 +00:00
Carsten Haitzler bc7d6544e9 speedups in c yuv->rgb from joseg. :) 11% - but only if u dont have mmx/sse
or altivec. this is c fallbacks only.



SVN revision: 36243
2008-09-25 05:30:23 +00:00
Vincent Torri eae91bae39 * remove trailing spaces in configure.in
* compile src/lib/engines/common16 on if one of the 16 bits
   engines is requested


SVN revision: 36176
2008-09-22 17:55:13 +00:00
Carsten Haitzler aa2fded0fc some notes on kerning bugs in ft2.
SVN revision: 35876
2008-09-08 02:08:43 +00:00
Carsten Haitzler d73b8c5d7b updated patches from jose!
SVN revision: 35756
2008-08-31 02:04:31 +00:00
Carsten Haitzler c1fe72d7e4 jose has some new gradient work - these are his patches. nice work joseg! yes
- some enignes break as they dont have the stubbed out functions, and
xrender/gl engines dont even implement the drawing and need to (but are
stubbed out).



SVN revision: 35677
2008-08-26 05:45:04 +00:00
doursse 6a87729269 add some vim headers
SVN revision: 35183
2008-07-21 16:44:58 +00:00
doursse 9c58ab7087 * move blend functions declaration to their own header files
* add vim header


SVN revision: 35182
2008-07-21 16:10:48 +00:00
doursse 60391e746d * move draw functions declaration to their own file
* add missing headers


SVN revision: 35181
2008-07-21 15:52:09 +00:00
doursse 3f28e61186 * move image declaration funtions to their own header file
* add vim header


SVN revision: 35173
2008-07-19 18:32:32 +00:00
doursse 83c733fbf7 * move line, polygon, rectangle API to their own files
* add vim header


SVN revision: 35172
2008-07-19 18:05:54 +00:00
doursse 193c21da9e remove tons of trailing spaces
SVN revision: 35171
2008-07-19 17:40:52 +00:00
doursse 261189e2e2 * move font and gradient declarations to their own files
* add vim headers
 * remove some trailing spaces


SVN revision: 35170
2008-07-19 17:13:42 +00:00
doursse e576961d89 add vi formatting stuff
SVN revision: 35131
2008-07-16 20:47:22 +00:00
doursse 77a014170b formatting
SVN revision: 35130
2008-07-16 20:46:47 +00:00
doursse 0fd75a462a move pipe function declarations to their own file
SVN revision: 35064
2008-07-11 08:21:25 +00:00
doursse 493eb069a3 * remove trailing spaces in evas_pipe.c
* move scale function declarations to their own files


SVN revision: 35063
2008-07-11 06:36:30 +00:00
doursse 739be5c6b7 move evas_convert_main.h to evas_common.h
SVN revision: 35062
2008-07-11 05:50:56 +00:00
doursse 312b0dfc6c add header files to the distribution
SVN revision: 35059
2008-07-10 22:58:04 +00:00
doursse fb9313c024 * move convert function declarations to their own header file
* add vim header in the files I modified
 * fix minor warnings

i think i don't break compilation on that commit :)


SVN revision: 35058
2008-07-10 22:53:33 +00:00
Carsten Haitzler 5b74833dfb broke evas! change other evas_common_array calls to be evas_array! :)
SVN revision: 35056
2008-07-10 21:14:44 +00:00
doursse b5011a094e evas_common_array_hash_free --> evas_array_hash_free
SVN revision: 35054
2008-07-10 18:12:45 +00:00
doursse 0760cc6776 evas_common_array_hash_free --> evas_array_hash_free
SVN revision: 35053
2008-07-10 18:08:18 +00:00
doursse 993697fec7 * move _Evas_Object_List and _Evas_Hash structures to Evas_Data.h
* move Evas_Array_Hash and Evas_Object_List declarations to Evas_Data.h
 * move evas_array_hash.c from engines/common/ to data/
 * remove Evas_Array_Double_Hash declaration (not used)


SVN revision: 35042
2008-07-09 16:50:33 +00:00
Carsten Haitzler 6f480338d4 cover up segv where somehow the alpha flag is set in the 16bit engine but the
alpha pixel pointer is NULL. couldn't see where that happens, but it's now
protected against it.


SVN revision: 34968
2008-07-02 00:57:26 +00:00
Gustavo Sverzut Barbieri d6b97fd852 Destroy pthread_attr when we do not need it anymore.
pthread manual says it is safe to destroy them after they are used
with pthread_create: "If the attributes specified by attr are modified
later, the thread���s attributes shall not be affected."


SVN revision: 34937
2008-06-28 15:29:57 +00:00
Cedric BAIL 47bf4e1999 cvsignore++
SVN revision: 34778
2008-06-09 08:59:09 +00:00
Cedric BAIL 9feac9ef8b Fix common 16bpp engine use of alpha.
SVN revision: 34729
2008-06-03 14:45:39 +00:00
Cedric BAIL d102e3db82 * Make RGBA_IMAGE_HAS_ALPHA and RGBA_IMAGE_ALPHA_SPARSE part of
Image_Entry flag structure. This fix a bug with 16 bpp software engine.

        * Change image loader module API to take any Image_Entry. Same goes
        for evas_common_image_premul and evas_common_image_set_alpha_sparse.

        * Use new eet API: eet_data_image_read_to_surface.


SVN revision: 34728
2008-06-03 09:09:39 +00:00
Carsten Haitzler c510afbd8e end_opt not needed there.
SVN revision: 34715
2008-06-01 00:40:58 +00:00
Carsten Haitzler 7752c8a3e5 and fix the gradient bug - yes. it is a GRADIENT BUG. you emms() when u are
totally done and may hand control back to a non rendering codepath - or
before u do any fp ops u are unsure of the cpu state beforehand. see the big
fat comment.

i was right. it was a missing emms.


SVN revision: 34707
2008-05-31 04:16:39 +00:00
Carsten Haitzler cd0fd38a9c add file
SVN revision: 34606
2008-05-19 03:37:37 +00:00
Carsten Haitzler 0d42705593 adapt to newer valgrind goop
SVN revision: 34605
2008-05-19 03:29:54 +00:00
Carsten Haitzler 5887bde860 colorspace stuff in cvs.
SVN revision: 34604
2008-05-19 03:13:16 +00:00
Cedric BAIL b85c0672c4 Update the stride when needed.
SVN revision: 34566
2008-05-14 16:38:36 +00:00
Cedric BAIL 5f41def624 Only call the allocation surface when required and correctly handle no_free.
SVN revision: 34480
2008-05-06 11:20:29 +00:00
Carsten Haitzler 0688234e2f notes - cedric... i think i may have found a problem here...
SVN revision: 34443
2008-05-03 08:31:26 +00:00
Carsten Haitzler 42facfffe6 1. dont free/realoc if no_free is set.
2. free then malloc otherwise realloc might ALSO have to memcpy if it cant
resize the segment whihc means overhead we dont need/want.


SVN revision: 34441
2008-05-03 06:38:45 +00:00
Carsten Haitzler 14e2187305 get rid of 0 byte alloc
SVN revision: 34440
2008-05-03 05:33:26 +00:00
doursse 56eacad43d Autotools cleaning (not complete)
* formatting
 * put WIN32_CFLAGS in AM_CFLAGS and not AM_CPPFLAGS, as it is where it belongs
 * rename create_shared_lib to lt_no_undefined
 * pass -Wl,--enable-auto-import to libtool when compiling with cegcc
 * add files to EXTRA_DIST only when they are not in _SOURCES or _include_HEADERS (they
   are added anyway)


SVN revision: 34353
2008-04-23 06:55:10 +00:00
Carsten Haitzler 184bfa989d fix image dirties with yuv and software rendering
SVN revision: 34272
2008-04-15 15:20:53 +00:00
Carsten Haitzler 35b8f22752 add missing files.
SVN revision: 34254
2008-04-12 02:11:07 +00:00
Carsten Haitzler ae1977a214 cedric's cache changes patch
SVN revision: 34253
2008-04-12 00:32:30 +00:00
doursse 219831980f * Remove Windows code in evas_module.c and use evilness instead
* Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc


SVN revision: 34024
2008-03-14 16:49:49 +00:00
Peter Wehrfritz 5acbfcb6e3 add portable pixmaps image loader
SVN revision: 33880
2008-03-01 15:27:20 +00:00
Gustavo Sverzut Barbieri 9b983b96b1 Patch by Cedric to really shutdown font system.
every thing is not really cleaned on shutdown (It make it crash, if
you shutdown completely the font system and then restart it again).

Author: Cedric BAIL


SVN revision: 33746
2008-02-15 14:43:51 +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
Carsten Haitzler 0112fdc383 patches, caching fixes, zone dynamic creation/deletion handling, stuff.
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Sebastian Dransfeld 631f96bc0e formatting
SVN revision: 32946
2007-12-02 19:44:27 +00:00
Carsten Haitzler c10ccad763 static func - cedric patch
SVN revision: 32649
2007-11-13 05:58:50 +00:00
doursse e21fb0f122 autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32337
2007-11-04 09:21:50 +00:00
Carsten Haitzler cd2e7767fd resolved bug from leonardo.cunha@openbossa.org
SVN revision: 32180
2007-10-28 04:01:56 +00:00
Carsten Haitzler 2ea744bc1b working on optimising software-x11 with the one-buffer persistence idea that
software-16 uses. it works and in some cases gets massive speedups (70%+) but
in a few its slowdowns (30% down) in expedite tests - why, i don't know. it
should be the same or better in all tests. disabled for now - also not
complete. < 32bpp wont' work and not sure rotation works and masks don't work
either.


SVN revision: 31928
2007-10-02 03:40:14 +00:00
Gustavo Sverzut Barbieri 6d63d0ea99 Use correct type size for conversion between integer and pointer.
By: Brett Nash (dereference-ints-all-bad.patch)


SVN revision: 31700
2007-09-13 14:35:01 +00:00
Gustavo Sverzut Barbieri 0c404433e7 Fix typo that leads to incorrect behavior.
By: Brett Nash (iindex-to-many-is.patch)


SVN revision: 31697
2007-09-13 14:24:15 +00:00
Gustavo Sverzut Barbieri b09e8f2f45 Cosmetic: use correct size for comparison of pointers.
Due the comparions, the code worked fine, but use the correct type
size so it's cleaner.

By: Brett Nash (compare-whole-pointer.patch)


SVN revision: 31696
2007-09-13 14:19:30 +00:00
Gustavo Sverzut Barbieri bd66a665b6 Use C89 prototype.
By: Brett Nash (c89-is-18-years-old-lets-use-it.patch)


SVN revision: 31695
2007-09-13 14:14:37 +00:00
tilman 761eed190f Replace another deprecated macro.
SVN revision: 31510
2007-08-26 08:21:57 +00:00
Carsten Haitzler 2a04c23a33 futzing around with tilan's mono font issue - some commented otu debugging -
use the all caps enum for bitmap fonts now...


SVN revision: 31496
2007-08-25 11:54:17 +00:00
doursse ffb74463b2 remove c99 structure initialization
SVN revision: 31458
2007-08-22 15:06:04 +00:00
doursse df099a54e3 use standard syntax when initializing structures instead of specific gcc one
SVN revision: 31396
2007-08-19 06:21:23 +00:00
doursse acb11e7c5a remove 2 consecutive semicolons here and there, ans some trailing spaces
SVN revision: 31308
2007-08-14 12:49:10 +00:00
doursse fd9e6e06bf WIN32 is not always defined on Windows platform, while _WIN32 is. Remove trailing spaces and replace c++ comments by C ones
SVN revision: 31302
2007-08-13 12:13:03 +00:00
Sebastian Dransfeld 4d346e4bd8 Remove unnecessary code.
SVN revision: 31270
2007-08-12 19:20:16 +00:00
Carsten Haitzler 287d8779fb fix the cache code - it was basically broken and wouldnt free things from
cache. it also didnt account cache USAGE (cache is ref == 0 count images
speculatively hanging around in case theyare needed).


SVN revision: 31227
2007-08-08 23:41:31 +00:00
Carsten Haitzler b8b5b958f2 i spyed me a bug that captin'! aye! comments in the code about it - hack
around it for now.


SVN revision: 30933
2007-07-22 16:25:24 +00:00
doursse 9ea393d8a0 add gif explicitely as loader, to avoid iteration over all the availabl loader modules
SVN revision: 30892
2007-07-18 09:04:30 +00:00
Carsten Haitzler 694cab4e14 0
cedric's patches broke emotion - fix.


SVN revision: 30888
2007-07-18 04:42:23 +00:00
Dan Sinclair 7c624f5787 - don't free the passed in im structure. leave it up to the caller to
cleanup as needed on error.
- this should hopefully fix bug 97


SVN revision: 30886
2007-07-18 03:23:35 +00:00
codewarrior ec8ea7c7dd fix Bug#: 111
http://bugzilla.enlightenment.org/show_bug.cgi?id=111


SVN revision: 30870
2007-07-17 10:08:16 +00:00
Carsten Haitzler 9e5d2dfdf8 cedric's const patches for evas
SVN revision: 30847
2007-07-16 07:29:34 +00:00
Carsten Haitzler 6c167c3a6d cedric's sdl patch.
SVN revision: 30845
2007-07-16 07:25:35 +00:00
Carsten Haitzler 78408fe60a 1. fix a lot of things so they pass make distcheck - so many things have
broken. guys - need to be more careful!
2. asparagus
3. some extra docs/comments for evas


SVN revision: 30696
2007-07-10 00:13:26 +00:00
kiwi 2cdf35aad4 revert this, the index pointer can be negative
SVN revision: 30476
2007-06-27 14:56:14 +00:00
kiwi a001af9e23 fix some warnings, mostly missing "void" when a function has no parameters
SVN revision: 30474
2007-06-27 10:57:54 +00:00
Sebastian Dransfeld f2b945b53d Find chr_x the same way as in the other functions. The main loop is very
similar in many functions and should be refactored.


SVN revision: 30389
2007-06-18 16:47:20 +00:00
Gustavo Sverzut Barbieri b5c8891349 Restrict rectangles to be inside the screen at evas_tiler
SVN revision: 30274
2007-06-08 00:03:56 +00:00
Gustavo Sverzut Barbieri f685af6573 Be polite and flush cache when tilebuf is free()d.
SVN revision: 30249
2007-06-05 03:30:05 +00:00
Gustavo Sverzut Barbieri 294769b086 Use memory pool for rect_node_t
SVN revision: 30238
2007-06-04 18:32:57 +00:00
Carsten Haitzler 849e428e7f documentation from brett... tiler can compiler again.
SVN revision: 30221
2007-06-04 09:48:28 +00:00
Carsten Haitzler c9dd4797f3 patch seems to give a bit of a speedup at fuzz = 32 overall.
SVN revision: 30207
2007-06-03 05:28:12 +00:00
Carsten Haitzler 861fde2fd7 splitrectfuzz of 32 seems fine. havent checked other architectures/cpus and
engines. this should probably luse the tilebuf size instead of FUZZ anyway so
int is (in theory) settable runtime.


SVN revision: 30198
2007-06-02 17:35:21 +00:00
Carsten Haitzler a730b4be5d 1. gustavo';s fuzzy rect implementation for updates. fixed so del's work,
tuned for best performance on my core2 duo desktop - for now. will check
more. also make the yuv colorspace code be a bit more robust and fix leak in
gl engine with shaders.


SVN revision: 30192
2007-06-02 15:30:59 +00:00
Carsten Haitzler 9605e2fff0 remove cpuid stuff - not used. causes some build issues
SVN revision: 29933
2007-05-10 16:15:02 +00:00
tilman 936b791547 a bunch of constness fixes
SVN revision: 29871
2007-05-06 11:29:37 +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 7b392c8ce3 gustavo's patch on free an empty/unused evas.
SVN revision: 29777
2007-04-30 04:23:47 +00:00
Carsten Haitzler b0717e8539 use alloca - not malloc :)
SVN revision: 29774
2007-04-30 03:28:05 +00:00
Carsten Haitzler 16df9e0047 add in the work I did for a 16bit engine - for now, a dormant project until i
can be convinced it provides real and significant speedups that warrant the
significant effort.


SVN revision: 29770
2007-04-29 15:45:40 +00:00
Carsten Haitzler 970bc1e2a1 patches into cvs we go.
SVN revision: 29708
2007-04-24 11:16:24 +00:00
Carsten Haitzler ecfa6af1ec just spotted a bug - i think its efreet related, but this is to make sure it
is or isnt as this struct was overwritten or seemingly pointing to an efreet
data struct


SVN revision: 29643
2007-04-22 07:01:44 +00:00
Carsten Haitzler 2d2ad07524 yuv call removed if yuv support not built
SVN revision: 29553
2007-04-16 14:30:22 +00:00
Carsten Haitzler e73d7fd1bc fix up #fidef to be consistent
SVN revision: 29477
2007-04-12 11:17:51 +00:00
Sebastian Dransfeld 8f7a264131 Remove unused variables.
SVN revision: 29378
2007-04-05 15:42:39 +00:00
Carsten Haitzler a9daf7dd89 cedric's patches.
SVN revision: 29353
2007-04-04 13:25:55 +00:00
Carsten Haitzler 5ac7b84136 pager urgent popup patch - good
evas clipouts less allocs patch - definite spedusp for when it's used heavily!


SVN revision: 29331
2007-04-04 09:55:40 +00:00
tilman 99060c539f evas now uses pkg-config to detect EET. i also reworked the autoconf code for that, IMO it now is MUCH cleaner and easier to read than before. if this causes any trouble, please contact me rather than putting weird code in again. thanks :)
SVN revision: 28838
2007-03-21 02:15:30 +00:00
Carsten Haitzler 921304555c now limit stats per any 1 file to STAT_GAP (2 seconds).
SVN revision: 28544
2007-03-03 09:04:47 +00:00
Carsten Haitzler 63a4cbb869 chasing somethnig really bizarre... but this works right now.
SVN revision: 28533
2007-03-02 23:12:10 +00:00
Carsten Haitzler e58afbca6e i've put back timestamp checks - but evas wont stata file more frequently
than once per 2 seconds to avoid overhead.


SVN revision: 28532
2007-03-02 22:27:52 +00:00
Carsten Haitzler 635e741438 oh dear - when i added load opts - i broke speculative caching. fixed!
SVN revision: 28531
2007-03-02 22:09:18 +00:00
Carsten Haitzler 55c06e75ff rotation patches for 180 degrees - thankyoooo! :)
SVN revision: 28527
2007-03-02 14:51:17 +00:00
Carsten Haitzler 6e452edfd4 patches applied as per emails :)
SVN revision: 28302
2007-02-10 17:23:09 +00:00
Sebastian Dransfeld 7957735d5b Remove unused variables.
Add */ to comment.


SVN revision: 27589
2006-12-28 12:40:42 +00:00
Sebastian Dransfeld 4b1cf1116c Fix warning. First compute value then increment pointer.
SVN revision: 27588
2006-12-28 12:37:37 +00:00
Sebastian Dransfeld f3b4ebd01f Remove unused variables.
SVN revision: 27587
2006-12-28 12:36:41 +00:00
Sebastian Dransfeld 81b53cdaa4 Fix warning, first compute value then increment pointer.
SVN revision: 27586
2006-12-28 12:35:08 +00:00
Sebastian Dransfeld f979c8e54d Fix warnings. First compute value, then increment pointer.
SVN revision: 27585
2006-12-28 12:33:29 +00:00
Christopher Michael 90a63b2699 Be a little more paranoid about freeing image data by adding some missing
checks for valid im->cs.data and im->image->data before trying to compare
them.


SVN revision: 27526
2006-12-19 23:51:44 +00:00
Carsten Haitzler f83220c857 not complete yet - actually i need help with the fragment shader.
in evas_gl_texture.c i have a frag shader, and it tries to use a set of 3
textures that act as the yuv planes, BUT the u and v textures (Utex and Vtex)
are simply getting values from the Ytex - regardless of what i try. grrr.
what's up with that?


SVN revision: 27495
2006-12-17 15:48:52 +00:00
Carsten Haitzler 103458be65 remove thread deadlock! werd!
SVN revision: 27164
2006-11-18 03:24:40 +00:00
Carsten Haitzler f3e4e0d7ed threads back on - try this.
SVN revision: 27162
2006-11-18 02:51:27 +00:00
Carsten Haitzler f80a02f999 a few things.
1. disable viewports other than 1:1 at 0,0
2. remove output space coorsds for pointer.
3. remove geom caching
4. make threaded pipelined engine a runtime detect if u have > 1 cpu.
5. pthread build default if u have pthread.h and sched.h


SVN revision: 27131
2006-11-16 03:20:24 +00:00
Carsten Haitzler ccc60306a0 sli is possible- but not optimal.
SVN revision: 27129
2006-11-15 16:44:34 +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
Carsten Haitzler 41b70e1b8a simply as PLACEHOLDER for a glitz engine. i plan on making it almost
identical to the xrender engine - but xrender and glitz do not map entirely
1:1 api-wise.


SVN revision: 27045
2006-11-11 06:03:13 +00:00
Carsten Haitzler 1c6ed968fd simon's patch is back - fixed. :) still just makes parsing of tuf8 string
more forgiving. it doesn't "fix" the real problem.


SVN revision: 26901
2006-11-01 23:00:42 +00:00
Carsten Haitzler 2742499473 evas utf8 patch broke e17's about box. revert
SVN revision: 26897
2006-11-01 12:56:12 +00:00
Carsten Haitzler b964c06760 fair enough to be more forgiving of malformed utf8 strings - but the problem
just changes from being cut off to garbage in the middle of the string.


SVN revision: 26893
2006-10-31 23:43:06 +00:00
Carsten Haitzler fd60c655b0 i was just playing with adding thread supprot to INTERNALS of evas (ie the
renderer gets threaded). if i thread at the simplest levels (low down in for
example the image scaler code - one of the most expensvie gfx routnes) on an
actual dual core system - performance drops by 40%. this just doesn't work
well at that level. thread creates and joins per render op are just a bad
thing (tm) :) so this really needs to go in much higher up and that presents
problems. :( i will need to clearly define entry and exit points to and from
threaded space (and thus all the locks) - remove all nested calls (where
internal code goes thru the same entry/exit points traditionally so it
deadlocks itself).. anyway - this here has all that code stripepd out i
played with - it is just the autofoo and build stuff so we can turn on/off
thread support at will in the build.


SVN revision: 26817
2006-10-28 03:02:23 +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
Carsten Haitzler 94e3e465bf remove sub-pixel cursor advance for font rendering
SVN revision: 26420
2006-10-08 12:43:31 +00:00
Carsten Haitzler 801bdf34d8 joses fixes for grads with premul
SVN revision: 26348
2006-10-05 05:28:35 +00:00
Carsten Haitzler 64ab8b381d oooh - lots of cache misses due to new load opts - if load opts have "0"
members cache was being missed. fixed. :)


SVN revision: 26339
2006-10-03 23:49:03 +00:00
Carsten Haitzler 42aa3066e9 check sparseness when doing eet loads.
SVN revision: 26300
2006-10-02 11:24:26 +00:00
Carsten Haitzler 87af70ceef fix unpremul - broken :(
SVN revision: 26288
2006-10-02 05:19:39 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
Carsten Haitzler a65d40c050 avoid loading all loaders if file doesn't exist
SVN revision: 25962
2006-09-18 14:51:48 +00:00
Carsten Haitzler 3115a52684 and i implemented module UNLOADING. given enough cycles of non-use of a
module and no references, it will get.... UNLOADED :)


SVN revision: 25954
2006-09-18 09:40:29 +00:00
Carsten Haitzler c3fde12000 a few patches from emails. :) emails will be coming.. when i flush my mush.
SVN revision: 25533
2006-09-06 12:09:53 +00:00
sebastid e55f7b27b2 Functions used by modules must be EAPI
SVN revision: 25526
2006-09-06 07:33:40 +00:00
sebastid cabfc4a09a Remove unused variables.
SVN revision: 24991
2006-08-21 15:19:07 +00:00
Carsten Haitzler 6ca2a14020 use already loaded var :)
SVN revision: 24937
2006-08-20 14:51:10 +00:00
Carsten Haitzler d5a131c924 fix caching to account for load options
SVN revision: 24890
2006-08-19 00:22:02 +00:00
Carsten Haitzler 7899758192 guess svgz faster too
SVN revision: 24871
2006-08-18 14:54:24 +00:00
Carsten Haitzler 0889c589f2 added the ability to set load scaledown, dpi or load size - the svg loader
uses these to know what to render and how (or has defaults if these are not
set)


SVN revision: 24868
2006-08-18 14:45:26 +00:00
Carsten Haitzler 08e2c38474 jose's svg loader - in. needs the ability to set dpi etc. etc. - loader api
work and evas api work there.


SVN revision: 24830
2006-08-17 14:11:59 +00:00
Carsten Haitzler 48b81d3bfa remove printf
SVN revision: 24687
2006-08-14 13:56:18 +00:00
Carsten Haitzler 7f41aeb177 fix some warnings!
SVN revision: 24599
2006-08-12 14:46:15 +00:00
Carsten Haitzler 21896dc50d jose's xpm loader.
SVN revision: 24579
2006-08-12 09:16:30 +00:00
rephorm a9ff065c01 i assume this was meant as an optimization. however, it wasn't correct for some cases (e.g. rgb = 187, 169, 123)
SVN revision: 24465
2006-08-08 06:01:37 +00:00
sebastid e3be454d46 Can someone who knows this code fix this?
SVN revision: 24413
2006-08-06 01:27:22 +00:00
ningerso d85048c93f Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.


SVN revision: 24387
2006-08-04 10:00:50 +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
Carsten Haitzler d7eee7eee6 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid a17c875ddc Add const.
Remove unused variables.


SVN revision: 23027
2006-05-31 18:33:46 +00:00
David Walter Seikel e54d244e28 .cvsignore++
SVN revision: 22808
2006-05-21 13:20:02 +00:00
moom f4c549c9f6 * Move the optimizations of Jose for the hsv/rgb conversion functions to Evas
SVN revision: 22790
2006-05-21 09:43:58 +00:00
moom 24b32bd7d4 * Fix hsv-->rgb conversion if h=360.0
SVN revision: 22677
2006-05-17 22:11:46 +00:00
Carsten Haitzler cbeeae7f14 fix segv's in simple line draws
SVN revision: 22642
2006-05-16 08:52:05 +00:00
Carsten Haitzler 1b3c1fb791 really simple fix for aa line draws.
SVN revision: 22639
2006-05-16 07:38:18 +00:00
Carsten Haitzler ea998ce647 gl engine fixes patch from jose, and fix non mmx/sse system build
SVN revision: 22456
2006-05-04 11:52:46 +00:00
Carsten Haitzler 77e35d60a3 jose's software rendering work - slight improvements (about 5-10%). i had to
disable destination alha mmx support for text rendering (mask + color) as it
was broken in tests.


SVN revision: 22440
2006-05-02 07:28:49 +00:00
doursse 5e8ccae68a oups
SVN revision: 22324
2006-04-23 15:40:33 +00:00
doursse fd14218f04 fix a leak in xcb eng sfw (it remains one, but I don't see where it comes from). Update the xrender one. Don't use them yet (but who uses them ??), because it relies on fix of xcb that are in my hd
SVN revision: 22323
2006-04-23 15:38:23 +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
Carsten Haitzler 3b3b836125 fix edge interpolation for images with xrender and a segv for font rendering
if multiple engines dont agree on ext data for fonts


SVN revision: 22173
2006-04-17 01:57:11 +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 a14f932770 Dont crash on pcf fonts
* for pcf fonts EM square is 0 and ascent and descent are 0
 * TODO: get these things to render correctly


SVN revision: 21404
2006-03-19 10:50:33 +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 f51753a4b8 rehinting works on the fly now
SVN revision: 20858
2006-03-01 03:48:03 +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 852c800117 smaller buf for sse test (was too big anyway) and mmx2 is prettry much sse :)
SVN revision: 20130
2006-01-31 01:13:51 +00:00
Carsten Haitzler 18d01b7d4a sse detect b0rken. fix.
SVN revision: 20035
2006-01-26 04:44:58 +00:00
Carsten Haitzler 07e7927004 1. buffer test really wqasnt being very fair - time to be fair.
2. be able to skip a copy in certain cases when scaling - should improve
speed in several situations - evas is defintiely not optimal :)


SVN revision: 19983
2006-01-23 07:57:30 +00:00
Carsten Haitzler 22eee9acc5 oops - missed fixup of end ptr. :)
SVN revision: 19957
2006-01-22 10:48:51 +00:00
Carsten Haitzler 1adf40fbb5 actually use the sse routines!
SVN revision: 19955
2006-01-22 06:54:18 +00:00
Carsten Haitzler 82742c35f2 clean up new modular build to link to the right things, in the right way,
remove usleess extra linkage etc.


SVN revision: 19865
2006-01-17 03:47:40 +00:00
Carsten Haitzler 4cf493dea3 remove cvs ignores!
SVN revision: 19863
2006-01-17 03:38:25 +00:00
David Walter Seikel 35a90b012e Nothing to see here folks.
SVN revision: 19846
2006-01-16 03:43:30 +00:00
doursse 7252101aa3 remove printfs
SVN revision: 19829
2006-01-15 10:44:48 +00:00
Carsten Haitzler 3a301b885b empty buf first
SVN revision: 19827
2006-01-15 10:37:03 +00:00
doursse 4a56b2ee6e and now the savers...
SVN revision: 19826
2006-01-15 10:35:02 +00:00
Carsten Haitzler 1ba4131a15 bad buf strlen--
SVN revision: 19816
2006-01-15 07:07:28 +00:00
Carsten Haitzler 87d56a63ad most oops - dont strlen that buf!
SVN revision: 19815
2006-01-15 07:01:15 +00:00
Carsten Haitzler d410036b81 removes some unused struct members (should remove more though) and fixes up
modular loaders


SVN revision: 19814
2006-01-15 06:21:05 +00:00
Carsten Haitzler 155364de9c ok - now support a first try guess based on extension - if that fails, or the
extension is unknown to match a format, try all image loader modules until
one succeeds - if all of these fail, give up.


SVN revision: 19812
2006-01-15 05:04:32 +00:00
Carsten Haitzler d8768ab0ab temporary fix.
SVN revision: 19811
2006-01-15 04:49:46 +00:00
doursse 6357a06396 loaders are now modules
SVN revision: 19805
2006-01-14 20:03:42 +00:00
Carsten Haitzler f435375b19 initial import fo loadable engine modules for evas - from jorge zappie :)
SVN revision: 19775
2006-01-14 12:13:38 +00:00
doursse 69c939d1a4 fix for the hidden symbols for those who want to test the xcb engine ;)
SVN revision: 19651
2006-01-08 13:21:03 +00:00
doursse 22e5ad7951 fix warning
SVN revision: 19640
2006-01-08 09:46:41 +00:00
sebastid bca26535dd Fix compiler warnings.
SVN revision: 19580
2006-01-06 23:13:16 +00:00
Carsten Haitzler 82a7db1987 fix segv with bad input data
SVN revision: 19138
2005-12-19 03:11:39 +00:00
doursse 520ca1ff13 iteration fixes
SVN revision: 19111
2005-12-18 11:49:28 +00:00
doursse 7a6855c42f fix memory leaks and update to new XCB API
SVN revision: 19110
2005-12-18 11:25:09 +00:00
Carsten Haitzler a0ceee8b51 i have to back out all of jose's blend changes - musch faster than
debugging/fixing and likely int he end the exact same result of fixing them.
yes - we lose performance - but it actually is correct now :) if we want to
do such radical changes- i sugegst moving to premultiplied alpha and makign a
tonne of externally tested routines in a test harness first to compare
correctness and speed in an isolated environment.


SVN revision: 18947
2005-12-11 04:55:20 +00:00
Carsten Haitzler 35ef5579d4 better style (more files to look at though)
SVN revision: 18928
2005-12-10 04:40:53 +00:00
Carsten Haitzler e029265a03 1. good segv catch by whereami.
2. style cleanup from jose's patches


SVN revision: 18920
2005-12-09 08:41:38 +00:00
Carsten Haitzler 8873290ea8 use the right symbol
SVN revision: 18825
2005-12-04 12:37:50 +00:00