Commit Graph

1369 Commits

Author SHA1 Message Date
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
Gustavo Sverzut Barbieri e2e7567a78 Do not free NULL graphic context.
By: Brett Nash (freegc-crash.patch)


SVN revision: 31692
2007-09-13 13:43:38 +00:00
doursse 59f024a008 resize the directdraw surface when the evas is resized. move directdraw code to its own file
SVN revision: 31653
2007-09-08 10:42:30 +00:00
tilman 1bd182b2f1 When we're drawing text objects, don't apply the horizontal bearing ourselves.
The font drawing code already takes care of that.

This fixes alignment problems most visible with monospaced fonts.


SVN revision: 31511
2007-08-26 11:06:34 +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
Carsten Haitzler c1d4685780 png loading changes to fix greyscale loads apparently on 1.2.19 libpng...
SVN revision: 31488
2007-08-25 02:36:18 +00:00
Carsten Haitzler 8ad14fe1ba extra rgb.txt src
SVN revision: 31486
2007-08-25 02:07:16 +00:00
moom c9264664d9 * Add interceptors for color_set(), clip_set() and clip_unset()
SVN revision: 31460
2007-08-22 16:45:37 +00:00
doursse ffb74463b2 remove c99 structure initialization
SVN revision: 31458
2007-08-22 15:06:04 +00:00
Gustavo Sverzut Barbieri f08a81ea6f Unix is case sensitive.
SVN revision: 31428
2007-08-20 15:48:16 +00:00
Carsten Haitzler 3738c77586 cast yet pointers. bad!
SVN revision: 31398
2007-08-19 13:15:45 +00:00
doursse 472401f3ce ignore that, cvs
SVN revision: 31397
2007-08-19 07:53:34 +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 8474937ef3 Direct3D engine. I'm not an expert of that api, so there should room for lots of improvements
SVN revision: 31359
2007-08-17 09:16:26 +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 8ef049c3da As cache_key uses evas_stringshare, it should be const.
Don't free stringshare'd strings.
Formatting.


SVN revision: 31291
2007-08-13 05:30:17 +00:00
Sebastian Dransfeld 07c37865cf Remove wrong comma in printf statement.
SVN revision: 31290
2007-08-13 05:17:44 +00:00
Sebastian Dransfeld 4d346e4bd8 Remove unnecessary code.
SVN revision: 31270
2007-08-12 19:20:16 +00:00
Carsten Haitzler f23f99bf84 and actively remove images when they are KNOWN to have been removed from disk
or the cached copies have 0 refs and are too old (thus wasting cache space).


SVN revision: 31243
2007-08-11 12:22:43 +00:00
Carsten Haitzler c28878389d and use timestamp (mtime) for cache
SVN revision: 31242
2007-08-11 12:14:17 +00:00
Carsten Haitzler ee6e3e6a9a \use direct hash - doesnt strdup the string key. also stringshare the img key
- just in case.


SVN revision: 31232
2007-08-09 14:44:36 +00:00
Carsten Haitzler 14024931d1 fix cache accounting
SVN revision: 31230
2007-08-09 12:21:21 +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
Gustavo Sverzut Barbieri 4a4a0b0f4c Software 16 X11 now does rotation.
SVN revision: 31215
2007-08-07 19:09:53 +00:00
doursse 9c17b01d0b move Xlib includes from gl_common to gl_x11
SVN revision: 31201
2007-08-07 09:03:22 +00:00
doursse ed716c1888 move windows.h include from gl_common to gl_glew
SVN revision: 31200
2007-08-07 05:38:24 +00:00
doursse 31c47b3461 Glew OpenGL engine added. Windows can have an opengl engine thgough the Glew library, now. See INSTALL note
SVN revision: 31180
2007-08-05 07:22:44 +00:00
Carsten Haitzler 4b435be1ed move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
Carsten Haitzler 6437f4ed23 grad fixes from jose
SVN revision: 31159
2007-08-04 12:33:12 +00:00
Carsten Haitzler 1977933b18 actually - yes - in texture drop not del.
SVN revision: 31158
2007-08-04 09:54:35 +00:00
Carsten Haitzler ebc47059de gradients dont crash now. draw funny tho :-P
SVN revision: 31157
2007-08-04 07:20:17 +00:00
Carsten Haitzler 8433ddf94a wrong gradient call
SVN revision: 31156
2007-08-04 07:04:45 +00:00
Gustavo Sverzut Barbieri 06c6b24a3e Implement extra operations for image.
I tried to get those right, but I'd like someone else to review these.


SVN revision: 31150
2007-08-03 23:11:56 +00:00
Carsten Haitzler a6d0bff73f was screwing around hunting down bug in edje...
SVN revision: 31106
2007-08-01 14:35:30 +00:00
Gustavo Sverzut Barbieri eda1f13b33 Support for selectable pointer_mode.
Evas now support objects that do not grab mouse down event (NOGRAB) aside
with the default (AUTOGRAB). API is meant to be extensible.


SVN revision: 30950
2007-07-24 14:20:07 +00:00
Carsten Haitzler d6f9cc797e adrunko's precise event patch
SVN revision: 30939
2007-07-23 14:22:57 +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
Carsten Haitzler be1ba8873b no need for extra nul byte check - while terminated IF its null. so known
condition. formatting too.


SVN revision: 30923
2007-07-21 03:06:08 +00:00
Gustavo Sverzut Barbieri b4ab277e21 Fix bug introduced with r1.138, removed incorrect offset table.
I changed evas_object_textblock_text_markup_get() to just return
previously known contents, not try to recreate them set with other
means, this was not used (at least in our CVS) and was slow and
incorrect.


SVN revision: 30919
2007-07-20 22:30:12 +00:00
Gustavo Sverzut Barbieri f2c60125f1 Fix CPP warnings about DM_* macros, do loop unrolling for dither mask processing.
SVN revision: 30918
2007-07-20 17:29:31 +00:00
Gustavo Sverzut Barbieri 81ebda3087 Use dither mask when importing images.
SVN revision: 30913
2007-07-20 00:18:07 +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
Christopher Michael bbd439b613 Patch from cedric to fix evas_list_sort issue(s). Keybinding dialog shows
all Actions now :)


SVN revision: 30871
2007-07-17 10:12:51 +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
doursse 0e3414a758 Cedric's fixes
SVN revision: 30867
2007-07-17 08:39:51 +00:00
doursse c933138a78 fix the build. Create the shared lib on Windows(tm)
SVN revision: 30866
2007-07-17 07:47:04 +00:00
ningerso 4f152e4efc Fix SDL engine build for case insensitive filesystems.
SVN revision: 30865
2007-07-17 04:34:20 +00:00
doursse 2cc91ff331 use image cache
SVN revision: 30851
2007-07-16 07:56:41 +00:00
doursse 93482ff8e7 fix alloca include with mingw, remove trailing spaces
SVN revision: 30850
2007-07-16 07:38:48 +00:00
Carsten Haitzler 96721e6171 sort speedup patch from cedric
SVN revision: 30849
2007-07-16 07:32:44 +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
doursse 33c1532d5d missing declaration function
SVN revision: 30843
2007-07-16 05:55:27 +00:00
Gustavo Sverzut Barbieri 7643c66325 Fix compile time CPU detection on ARM
SVN revision: 30795
2007-07-13 15:19:08 +00:00
Gustavo Sverzut Barbieri c204c6cad0 Ensure data is loaded when data_get() is called.
SVN revision: 30784
2007-07-12 21:51:36 +00:00
Gustavo Sverzut Barbieri 06b389a9e3 fix evas software 16 engine build and to add the missing image_data_get method.
By Andre Magalhaes <andrunko/gmail.com>


SVN revision: 30705
2007-07-10 15:01:52 +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
Carsten Haitzler da64700f13 fix from brett
SVN revision: 30677
2007-07-09 10:39:49 +00:00
Carsten Haitzler 0c4af24a33 save a few bytes by packing structures better... simple savings :)
SVN revision: 30486
2007-06-28 23:22:20 +00:00
ningerso 47b408af54 Initialize the error code before returning.
SVN revision: 30483
2007-06-28 14:36:50 +00:00
ningerso fb53f7e913 Prevent a segv when setting a image path to NULL.
SVN revision: 30479
2007-06-28 03:32:58 +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
Gustavo Sverzut Barbieri ac04de0ffd Name clip structure, make it simple to save and restore clip info.
SVN revision: 30423
2007-06-21 20:10:13 +00:00
Gustavo Sverzut Barbieri 10258eaf02 Clean up structure, split image operations into files.
SVN revision: 30420
2007-06-21 19:57:56 +00:00
Gustavo Sverzut Barbieri 807b2d1912 Implement image scale.
SVN revision: 30419
2007-06-21 19:56:32 +00:00
Gustavo Sverzut Barbieri b14f445960 Cleanup, remove macros and replace with static inline functions, this also provides soft16_pt_*() functions to paint individual pixels.
SVN revision: 30414
2007-06-20 20:50:34 +00:00
Gustavo Sverzut Barbieri ca8f71f595 Clean up structure, split into files.
SVN revision: 30413
2007-06-20 19:10:15 +00:00
Gustavo Sverzut Barbieri 0cf249a46f Add font/text support for software_16.
SVN revision: 30408
2007-06-19 22:52:12 +00:00
Gustavo Sverzut Barbieri 4f1b4fb1aa Improve _soft16_scanline_fill_transp_solid(), with bugfix.
Author: Gustavo Sverzut Barbieri <barbieri@gmail.com>


SVN revision: 30407
2007-06-19 22:51:39 +00:00
Gustavo Sverzut Barbieri 274206e9fb idle_flush
SVN revision: 30396
2007-06-18 17:48:14 +00:00
Gustavo Sverzut Barbieri 02dbcb720a More image blend and rectangle.
Image blend not supports alpha and colorization.
Rectangle operations are now implemented.


SVN revision: 30394
2007-06-18 16:50:37 +00:00
Gustavo Sverzut Barbieri f70b4e9dcf Clean up and optimize, step 1: unscaled operations.
SVN revision: 30391
2007-06-18 16:48:34 +00:00
Gustavo Sverzut Barbieri 638a790c63 Use a single XShmImage and XShmPutImage with clip region.
By using a single XShmImage we avoid round trips to X and avoid
having kernel to allocate (and zero) memory on every redraw.

This also enable us to issue a single XShmPutImage() with the whole
XShmImage just by using X Region and setting it as clip on Graphics
Context (GC).

On Nokia N800, expedite gains is about 10fps, while my other test
with fewer objects (and thus drawing areas) I could go from 50fps
to 160fps.

Drawback is that we hold XShmImage until evas is resized or destroyed,
we need a new API to flush engine memory so when it is idle for time
we flush this memory, but it is kept alive during animations.


SVN revision: 30390
2007-06-18 16:47:36 +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
Carsten Haitzler 9023997158 remove a flush - should be empty
SVN revision: 30368
2007-06-17 08:26:42 +00:00
Carsten Haitzler 0a4199c841 add mroe ifdle flush
SVN revision: 30356
2007-06-17 03:02:22 +00:00
Carsten Haitzler c303f04048 add an engine idle flush
SVN revision: 30355
2007-06-17 02:56:59 +00:00
Carsten Haitzler d9d4d5ee8e dont overrun mask buffers!
SVN revision: 30315
2007-06-12 13:12:17 +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
Gustavo Sverzut Barbieri 6398a2c6dc Add branch prediction fixes
SVN revision: 30237
2007-06-04 18:31:30 +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 73e80593dc sync xcb
SVN revision: 30193
2007-06-02 16:20:32 +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
David Walter Seikel e1523b0493 .cvsignore++
SVN revision: 30105
2007-05-27 18:14:54 +00:00
doursse 2bbb2619f9 add the DirectDraw engine. Evas is now available on Windows (tm)
SVN revision: 30089
2007-05-27 06:43:23 +00:00
Carsten Haitzler 2818ca982a fix custom file info to be less delicate - not perfectly correct but it wont
lose all your data if e segv's or is kill -9'd anymore. eet handles multiple
writes to the same key now by overwriting the previous data


SVN revision: 30057
2007-05-23 12:07:14 +00:00
tilman 07ff938e34 rework how the html entity escape arrays are stored. this saves a few hundred bytes on the data section of the library, kills off ~300 locations, and makes the so 77K smaller.
SVN revision: 30012
2007-05-17 22:48:48 +00:00
tilman 840acd78a4 missing commas in important places ftl
SVN revision: 30001
2007-05-15 19:19:00 +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
Sebastian Dransfeld 7b3c84b267 ignore++
SVN revision: 29887
2007-05-06 15:50:31 +00:00
tilman 936b791547 a bunch of constness fixes
SVN revision: 29871
2007-05-06 11:29:37 +00:00
Carsten Haitzler 002d09cc7d asparagus - pass distcheck.
SVN revision: 29865
2007-05-05 15:14:17 +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 ecb6a65a69 1. abort on invalid stringshared del's - bad stuff and should be trapped.
2. disable module cleaning for now.


SVN revision: 29842
2007-05-04 08:18:07 +00:00
Sebastian Dransfeld ec5744a4ee ok is only needed if we build eet font loader.
SVN revision: 29786
2007-05-01 13:05:24 +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 5e691081ca extensive delete me handling for evas free's and list walks
SVN revision: 29776
2007-04-30 04:22:42 +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
Andreas Volz d1b66f89e6 added some docs with best of my knowledge. Please check and correct if needed.
SVN revision: 29747
2007-04-28 10:21:30 +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 e9a50cf98c at least use the right fn call names
SVN revision: 29549
2007-04-16 02:01:11 +00:00
doursse c3cfd9f924 fix trailing spaces and wrong #ifdef
SVN revision: 29519
2007-04-14 22:48:21 +00:00
doursse aa45491556 Fix a leak, a typo and update to the new xcb api
SVN revision: 29518
2007-04-14 22:45:39 +00:00
Carsten Haitzler e73d7fd1bc fix up #fidef to be consistent
SVN revision: 29477
2007-04-12 11:17:51 +00:00
Carsten Haitzler aa639a5bfc check if someone was silly enough to try clip themselves
SVN revision: 29476
2007-04-12 11:17:40 +00:00
Sebastian Dransfeld d8988d3200 Remove unused variable.
SVN revision: 29379
2007-04-05 15:44:28 +00:00
Sebastian Dransfeld 8f7a264131 Remove unused variables.
SVN revision: 29378
2007-04-05 15:42:39 +00:00
Sebastian Dransfeld 61e9f0afd6 Remove unused code.
SVN revision: 29377
2007-04-05 15:40:51 +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
rephorm 9caf34cee9 revert broken fix for polygon geometry
SVN revision: 29217
2007-03-28 23:58:49 +00:00
tilman d627167b31 use pkg-config to locate EDB, too.
SVN revision: 28839
2007-03-21 02:28:39 +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
Mike Frysinger 9973e523f0 we dont actually use any PAGE defines, so dont include asm/page.h
SVN revision: 28703
2007-03-13 23:10:59 +00:00
Carsten Haitzler c972ad1f83 ok- disable the close - seems librsvg in some versions is so buggy you can't
close it to prevent leaks!


SVN revision: 28571
2007-03-05 18:19:49 +00:00
Carsten Haitzler 11e483cc0b hooray! librsvg leak!. if you try and load a file that is NOT an svg with
librsvg - and it fails, it does not FREE UP MEMORY - it LEAKS. BAD RSVG. BAd
BAD! ok - a code to explicitly avoid loading anything NOT .svg or .svg.gz!!!!!!


SVN revision: 28557
2007-03-04 21:17:36 +00:00
Carsten Haitzler 9dc3984a39 fix nul update on swap
SVN revision: 28556
2007-03-04 17:06:13 +00:00
doursse 1f1337d3a2 Add some missing const
SVN revision: 28555
2007-03-04 16:19:32 +00:00
doursse 41247b3fd2 including glx.h is not necessary (and should not be included here). Add some missing const
SVN revision: 28554
2007-03-04 16:18:06 +00:00
Carsten Haitzler 188eb8931d just look at the comments to know what this is about.
SVN revision: 28545
2007-03-03 16:05:15 +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
doursse 22d230e851 pass the default screen to the info, as it is not stored by XCB itself. Speed up a bit evas_software_xcb_x_can_do_shm
SVN revision: 28494
2007-02-27 16:08:41 +00:00
doursse a8129d063b update software xcb engine to match xlib engine improvements during startup
SVN revision: 28493
2007-02-27 15:17:18 +00:00
doursse 77ebfa2b43 replace the predefined STRING atom by its value. It avoids a non core XCB dependancy
SVN revision: 28492
2007-02-27 13:39:44 +00:00
Carsten Haitzler 9ae24eeaeb ooh - and remove leak from callbacks not being freed! fixed!
SVN revision: 28426
2007-02-21 21:43:45 +00:00
Christopher Michael af9e05f2ef Fix formatting of a function.
SVN revision: 28324
2007-02-12 17:02:15 +00:00
Carsten Haitzler 6e452edfd4 patches applied as per emails :)
SVN revision: 28302
2007-02-10 17:23:09 +00:00
ningerso 5bcce9f86b Patch from Glen Larsen to fix dlopen failure handling in module loader.
SVN revision: 28213
2007-02-03 09:33:26 +00:00
Andreas Volz a001030668 fixed polygon moving
SVN revision: 28109
2007-01-22 23:38:39 +00:00
Carsten Haitzler 18b973d1ac 1. fixed some inefficient edje loading - moved checks to the cache code where
it sould be
2. fixed edje handling of delete of objects so we don't lose clip info if we
move a swallowed object out
3. fix up norender stuff for evas a bit
4. pants.

5. coogee beach (sydney) in summer right now is beatiful - KICK ASS!


SVN revision: 28102
2007-01-22 12:44:57 +00:00
Carsten Haitzler 5fc48a2b07 actually dont delay so long in deleting objects. make it happen sooner
SVN revision: 28014
2007-01-16 10:17:10 +00:00
Carsten Haitzler 28685bd55e xrender_x11 engine handles yuv colorspace now - software path, but works.
SVN revision: 27779
2007-01-04 03:42:14 +00:00
Carsten Haitzler fc6ccd2192 and use pixelstorei to do the row skips :)
SVN revision: 27714
2007-01-02 02:43:11 +00:00
Carsten Haitzler ccafed752a well THAT was just silly. fix yuv texture upload bug - row by row get it right.
SVN revision: 27691
2006-12-31 07:00:13 +00:00
Carsten Haitzler b51bdcbc1e colorspace work mostly. not complete.
SVN revision: 27630
2006-12-29 03:32:46 +00:00
Sebastian Dransfeld 4518aa1217 Remove unused variable.
SVN revision: 27592
2006-12-28 12:48:20 +00:00
Sebastian Dransfeld a7b8ca4e85 Fix warning. First compute value, then increment pointer.
SVN revision: 27591
2006-12-28 12:47:33 +00:00
Sebastian Dransfeld edde5b3088 Remove unused variables.
SVN revision: 27590
2006-12-28 12:45:32 +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
Sebastian Dransfeld 6849defebf Use cpp to remove code.
SVN revision: 27584
2006-12-28 12:23:13 +00:00
rephorm 5f7e0aec95 Patch for line geometry from Cedric BAIL
Remove commented out lines


SVN revision: 27577
2006-12-28 02:57:31 +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 3bb50b9b24 fix buffer canvas resizes :)
SVN revision: 27521
2006-12-19 15:06:33 +00:00
Carsten Haitzler 9e27a0d98c fix color modulation for gl surfaces. also fix segvs tat can happen. xrender
engine is behind now though. can't do yuv surfaces (yet)


SVN revision: 27518
2006-12-19 14:12:40 +00:00
Carsten Haitzler 348e7aaee5 and handle updates. next is to fix the row handling.
SVN revision: 27510
2006-12-18 14:56:46 +00:00
Carsten Haitzler eb7759cf39 fragment shader finally actually works. it's unclean and fixme's for seeding
the pixel data - but it works!


SVN revision: 27509
2006-12-18 14:55:47 +00:00
Carsten Haitzler 7c357ef3fe fix segv added in
SVN revision: 27499
2006-12-17 16:46:30 +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
ningerso b848372508 Fix the build for the FB engine on non-x86 architectures.
SVN revision: 27430
2006-12-13 20:25:04 +00:00
Carsten Haitzler 3e337b0754 and actually call the engine calls!
SVN revision: 27390
2006-12-09 09:02:43 +00:00
Carsten Haitzler 2058cfd58b 1. add new api calls to 1. set a "native surface" for image objects. this
currently does nothing and i have kept it VEEERY generic it's a pointer to a
native surface which can be just about anything - each engine will probably
define a format of its own you need to use VIA the native surface type.
2. add calls to set/get colorspace - moving this down into the engine level.
so far engines do nothing at all with it - but api is there.
3. clean up gl engine a bit - make it more standard.


SVN revision: 27389
2006-12-09 08:52:08 +00:00
rephorm 5a4cffcf90 add some documentation
SVN revision: 27380
2006-12-08 07:51:48 +00:00
Carsten Haitzler 6635bab903 bring gl engine vaguely back up to snuff.
SVN revision: 27363
2006-12-06 14:58:00 +00:00
Carsten Haitzler 0a798ec6a8 add version to smart classes.
SVN revision: 27323
2006-12-02 03:20:56 +00:00
ningerso b8416d9646 Reduce additional layout parsing overhead by using the format string without
copying the contents to temporary buffers. This cuts the time spent during
the layout phase in half.


SVN revision: 27270
2006-11-28 20:30:48 +00:00
ningerso 0a734352bd Improve format parsing performance by using preloaded stringshares to do pointer
comparisons rather than strcmp and avoid extra malloc/free overhead. May be a
slight slow down on short simple text, but a significant improvement on longer
and more complex formatting.


SVN revision: 27268
2006-11-28 16:14:11 +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 e99a611e98 fix --enable-ptrhead and poly render symbol - oops
SVN revision: 27121
2006-11-15 11:57:42 +00:00
Carsten Haitzler 4021776111 nash patch
SVN revision: 27100
2006-11-14 02:00:23 +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 d75744200c and fix final off-by-a-bit in the xform.
SVN revision: 26966
2006-11-05 12:53:25 +00:00
Carsten Haitzler b24c5e70da massively improve xrender scaling to be almost perfect. a few nigglies remain
though with transformed images (especailly with border scaling)


SVN revision: 26965
2006-11-05 12:51:23 +00:00
Carsten Haitzler 69e346c9a0 doing some cleanups to xr engine
SVN revision: 26958
2006-11-05 09:28:50 +00:00
Carsten Haitzler 1a2bbc3b2d fix fade of solid images in xrender engine
SVN revision: 26957
2006-11-05 06:04:51 +00:00
Carsten Haitzler c3674c8595 check dimensions for safety
SVN revision: 26954
2006-11-05 05:07:53 +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 b5f613f161 remove test progs and data
SVN revision: 26825
2006-10-28 07:04:17 +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
Carsten Haitzler 5564c2a722 been doing instrumentation. i'm cuttong down on startup time - a little here
and there - noticing lots of excessive io and stat and what not junk.
trimming out.


SVN revision: 26729
2006-10-21 10:28:01 +00:00
Carsten Haitzler cfa5c0cad4 yamaguchi-san's dfb patch
SVN revision: 26672
2006-10-17 10:36:36 +00:00
Carsten Haitzler 9604530f2f slight cleanups
SVN revision: 26615
2006-10-15 14:39:16 +00:00
Carsten Haitzler 21e9758f0b ooh - freeing a smart multiple times - bad bad bad.
SVN revision: 26611
2006-10-15 12:15:36 +00:00
Mike Frysinger 88ce3a9252 fix up some orphaned context handling in previous commit
SVN revision: 26586
2006-10-14 04:43:28 +00:00
doursse 83bb15914f automated tools can not be perfect
SVN revision: 26497
2006-10-10 19:32:36 +00:00