Commit Graph

2763 Commits

Author SHA1 Message Date
Carsten Haitzler fa435074e0 1. line support in gl engine - as if anyone uses lines
2. fix clipping for gl maps - was setting them when it shouldnt.



SVN revision: 44782
2009-12-30 11:35:40 +00:00
Miculcy Brian ad22b7b227 fix declaration
SVN revision: 44774
2009-12-30 01:33:39 +00:00
Carsten Haitzler c3f6caa568 gl -> polygons now work. slow - but does it matter?
SVN revision: 44724
2009-12-27 00:40:25 +00:00
Cedric BAIL 7c00860cc1 * evas: Loader can now tell if they could be used in another thread or not.
xpm and svg loader don't allow preload at this time.


SVN revision: 44714
2009-12-24 13:15:34 +00:00
Cedric BAIL f7172f2323 * evas: Update func to prevent segv.
SVN revision: 44686
2009-12-23 13:31:45 +00:00
Cedric BAIL b28cf65fcc * evas: Fix typo.
SVN revision: 44679
2009-12-23 10:50:07 +00:00
Gustavo Sverzut Barbieri 51c00c6526 fix evas image loading error reporting.
Evas image load was always reporint "generic" error, since it was
disconnected from actual loader modules.

This commit will break the module loader API (as it's restricted to
inside Evas, this should be no problem). The return was turned into
"Eina_Bool" for clarity, while an extra "int *error" is responsible to
report errors. This approach was choosen to force compiler warnings
and to try avoid mistakes as EINA_FALSE == EVAS_LOAD_ERROR_NONE and
thus we'd get opposite behavior if something slips.

Most loaders play well, except by eet that does not provide means to
know if the file open failed due missing file, incorrect format or
corrupted file :-(

Please report any issues. I added eina_log debugging to loader
functions, just run your Evas application as:

     EINA_LOG_LEVELS=evas_main:4 your_app




SVN revision: 44666
2009-12-22 23:11:57 +00:00
Gustavo Sverzut Barbieri 9f082cc1d4 stringify load errors.
SVN revision: 44660
2009-12-22 18:06:15 +00:00
Cedric BAIL bd60dfd40e * evas: Fix build when pipe rendering is disabled.
SVN revision: 44651
2009-12-22 12:58:07 +00:00
Cedric BAIL 1b80e16253 * evas_object_textblock: Add some cast to reduce warning noise.
SVN revision: 44648
2009-12-22 12:09:36 +00:00
Iván Briano 83a91a9ab9 There's more here than just warning fixes, it's causing crashes with some uses of elm_entry. Noted in Editje.
SVN revision: 44639
2009-12-21 19:07:51 +00:00
Cedric BAIL 9dc9b03db9 * evas: Fix bug introduced in warning removal patch.
SVN revision: 44638
2009-12-21 18:26:36 +00:00
Cedric BAIL a27c701f27 * evas: Remove lot's of warning.
SVN revision: 44629
2009-12-21 15:52:12 +00:00
Cedric BAIL 579f2e5447 * evas_preload, ecore_thread: On memory allocation failure do call the cancel function too.
SVN revision: 44624
2009-12-21 12:25:32 +00:00
Carsten Haitzler bfd91eb67f remove excess tex update on dirty. some formattign and naming too.
SVN revision: 44592
2009-12-20 06:23:13 +00:00
Vincent Torri a09ba71047 include Evil.h so that getenv is declared on Windows CE
SVN revision: 44567
2009-12-19 10:58:39 +00:00
Vincent Torri 8316ce2fec fix warning
SVN revision: 44566
2009-12-19 10:41:20 +00:00
Vincent Torri 4107ddf303 fix returned values
SVN revision: 44565
2009-12-19 10:36:43 +00:00
Vincent Torri fdae6605b6 delete_me member is available on when async preload is available
SVN revision: 44564
2009-12-19 10:33:39 +00:00
Cedric BAIL b0ffd95878 * evas: Complete rewrite of evas image preload code.
This code should be cleaner and easier to understand. It also provides
	the ability to spread image decompression on all CPU core. I currently
	set it to the exact number of CPU core you have in your machine, if you
	find case where it slow down your EFL apps too much, we can reduce this
	to give at least one core to evas.
	   All previous bugs related with async preload are gone, hopefully no
	new one are in. Please report any problem with backtrace to me.


SVN revision: 44537
2009-12-18 11:03:31 +00:00
Vincent Torri 9329338984 too much _
SVN revision: 44453
2009-12-14 21:45:33 +00:00
Vincent Torri 03851b3791 rename evas_glew_main.c to evas_glew__win32_main.c
SVN revision: 44452
2009-12-14 21:34:04 +00:00
Cedric BAIL b83490725c * evas_font_dir: Add all guards.
SVN revision: 44446
2009-12-14 17:55:26 +00:00
Cedric BAIL 0ccf619ba0 * evas_font_dir: reduce use of FcFontSort by using cache as much as possible.
This reduce in EWeather the time spend in FcFontSort from 25% of the startup time
	to 1% with a small memory footprint increase.


SVN revision: 44444
2009-12-14 17:27:51 +00:00
Carsten Haitzler 9ab9065669 clip maps in gl enigne.
SVN revision: 44424
2009-12-13 14:28:07 +00:00
Christopher Michael 42e16b816d Fix typo.
SVN revision: 44381
2009-12-11 20:51:45 +00:00
Vincent Torri 781abc1048 * add detection of Objective C.
* improve configure output


SVN revision: 44360
2009-12-11 10:54:57 +00:00
Carsten Haitzler 2c7399ddfd add check magic code!
SVN revision: 44326
2009-12-10 02:26:50 +00:00
Vincent Torri 721ce91ca8 Fix m4 quoting due to quoting change rules in autoconf 2.65.
Works with autoconf 2.63, 2.64 and 2.65

If there are problems with early versions, please answer in this thread

SVN revision: 44147
2009-12-03 00:22:33 +00:00
Carsten Haitzler c15a501be8 baack to normal pre- release name now
SVN revision: 44146
2009-12-02 22:50:36 +00:00
Carsten Haitzler fce5dfd209 quick make svnrev that has right release names
SVN revision: 44140
2009-12-02 22:19:53 +00:00
Carsten Haitzler e62d6e6dd2 and back to a pre-svn sonme after snap
SVN revision: 44118
2009-12-02 08:07:38 +00:00
Carsten Haitzler 566f8b2656 aaah bah - move to 05 not 04
SVN revision: 44116
2009-12-02 07:40:59 +00:00
Carsten Haitzler 799b9b0fac asparagus - finally
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Cedric BAIL 67a1af400c * evas_cache_image: At this point link to the cache is destroyed.
SVN revision: 44051
2009-11-30 13:26:46 +00:00
Cedric BAIL ef16ff6145 * evas: Do a proper fix for all rectangle match.
SVN revision: 44010
2009-11-27 09:51:08 +00:00
Cedric BAIL 4b44a59d2e * evas: Fix bug in evas_objects_in_rectangle_get.
SVN revision: 43999
2009-11-26 14:56:46 +00:00
Carsten Haitzler a70e666831 more debugging options...
SVN revision: 43920
2009-11-23 13:21:35 +00:00
Carsten Haitzler 87e5e70a9d fix anothe rmap draw bug.
SVN revision: 43917
2009-11-23 10:07:07 +00:00
Carsten Haitzler a6dea7be9b find gl symbols runtime - some gl's support the feature but havent
standardised symbols! (bad gl! bad!)



SVN revision: 43857
2009-11-21 10:51:51 +00:00
Carsten Haitzler 8ce36a26c9 0x0 smarts will no be rendered again - well children will be... but its still
bad form to do this. oddly - the desktop panning in e does this. need to check.



SVN revision: 43799
2009-11-19 08:37:22 +00:00
Gustavo Sverzut Barbieri 8a668562b4 fix bug spotted by Brian Wang.
SVN revision: 43793
2009-11-19 00:38:34 +00:00
Iván Briano 1f33962f78 <glima> commit msg would be something like: "applying size recalcs on
childs in the case they have size hints for Evas_Object_Box'es.
        it was documented on the layouts api but never implemented"



SVN revision: 43745
2009-11-17 00:19:24 +00:00
Carsten Haitzler a6798a676f 1. if you stack above/below yourself.. you get lost as an obj! ignore
that case
2. add render debug #ifdef in evas_render.c and latent render debug stuff



SVN revision: 43706
2009-11-15 13:46:20 +00:00
Carsten Haitzler 16764f7d61 fix font alloc bug!
SVN revision: 43686
2009-11-14 05:08:00 +00:00
Carsten Haitzler de44d8682a fix gles symbols
SVN revision: 43662
2009-11-13 12:31:31 +00:00
Carsten Haitzler 39913889b3 fix gles defs
SVN revision: 43660
2009-11-13 11:30:28 +00:00
Carsten Haitzler 267c9bce6c on paper.. go gles2 too... that should work.. in theory. need to test.
SVN revision: 43659
2009-11-13 08:43:50 +00:00
Carsten Haitzler fcc8e2ec47 fix color stuff.. next.. need to fix z stuff.
SVN revision: 43658
2009-11-13 08:38:12 +00:00
Carsten Haitzler b5d5817a88 fix some valgrind issues
SVN revision: 43657
2009-11-13 08:28:47 +00:00
Carsten Haitzler 7999691b9f and now complex stuff works..... woot!
SVN revision: 43656
2009-11-13 08:19:13 +00:00
Carsten Haitzler fccd2db126 fix disabling of blendipoos!
SVN revision: 43655
2009-11-13 07:30:03 +00:00
Carsten Haitzler 2df6cb92bb del fbo as well if it exists
SVN revision: 43654
2009-11-13 07:25:08 +00:00
Carsten Haitzler e3fcdd8b48 render-to-texture now is used for evas maps... but only simple cases seem to
work. (in ello) elementary stuff seems... less happy. will work on it! also
havent done the gles bits. just desktop gl (first port of call for
doing/testing). the #ifdefs are ther waiting with fixme's



SVN revision: 43653
2009-11-13 07:22:31 +00:00
Lars Munch 3b3872fed2 Fix WinCE engine build
SVN revision: 43628
2009-11-12 13:49:46 +00:00
Vincent Torri 9f839063c8 allow glew engine to be compiled again
SVN revision: 43615
2009-11-11 12:51:24 +00:00
Gustavo Sverzut Barbieri 8515fdc82b /me stuuuuuuuupid, spank spank spank... go test your code before commit :-D
SVN revision: 43613
2009-11-11 12:47:46 +00:00
Gustavo Sverzut Barbieri 3e08cf2e23 more evas_map utils, let's avoid duplicating these everywhere.
SVN revision: 43612
2009-11-11 12:33:52 +00:00
Carsten Haitzler 6e22b36451 step 1. some map support! images only right now. next. render-to-texture.
invasive change right now.



SVN revision: 43611
2009-11-11 11:39:25 +00:00
Vincent Torri 43fb7ca168 fix compilation of glew engine.
Unfortunately, the computer on which i compile does not
support OpenGL 2.0, so i can't test the engine.

SVN revision: 43610
2009-11-11 11:17:11 +00:00
Carsten Haitzler dbfacc1acf aaag found the bugger. printf--
SVN revision: 43601
2009-11-10 09:10:59 +00:00
Carsten Haitzler e58124942d ok. i'm hunting the bug. yes! printf debuggin gets in! i want others to be
able to find it too.



SVN revision: 43600
2009-11-10 08:50:11 +00:00
Carsten Haitzler c88c587e66 printf--!
SVN revision: 43597
2009-11-09 23:48:26 +00:00
Carsten Haitzler 48848d8cbe whatevr the obj c lang push thing is... it breaks evas' build entirely on
normal linux. remove.



SVN revision: 43589
2009-11-09 16:29:10 +00:00
Raoul HECKY ed3898cf70 Fix Cocoa.h detection on MacOSX
SVN revision: 43586
2009-11-09 15:40:01 +00:00
Carsten Haitzler 730661d3da move check to more unlikely position in chekc order
SVN revision: 43585
2009-11-09 15:20:32 +00:00
Carsten Haitzler 9af8993332 god damnt that took some time! fixed some bugs with map + smart objcs +
repainting etc. etc. - seems to be working now in complex smart obj tests and
simple ones.



SVN revision: 43584
2009-11-09 15:18:37 +00:00
Cedric BAIL 3450e0aaea * evas: Add support for async callback in Quartz backend.
TODO: Add map support.


SVN revision: 43582
2009-11-09 13:04:41 +00:00
Sebastian Dransfeld 48eec51e60 Fix compiler warnings
SVN revision: 43536
2009-11-08 19:52:44 +00:00
Vincent Torri c6458f9e7f fix evas compilation when async preload is disabled
SVN revision: 43514
2009-11-07 18:19:44 +00:00
Carsten Haitzler 2c44b7dd55 smart children of mapped objs etc. work work!
SVN revision: 43506
2009-11-07 05:01:43 +00:00
Cedric BAIL 992a1b4f13 * evas: Add convertion function for 8bpp grayscale no pal (256 and 16 values).
SVN revision: 43491
2009-11-06 15:15:37 +00:00
Carsten Haitzler 402103b40b 2 more!
SVN revision: 43490
2009-11-06 15:15:12 +00:00
Carsten Haitzler 09554e67fb remove 2 more types
SVN revision: 43489
2009-11-06 15:14:34 +00:00
Carsten Haitzler 7ecfc00965 fix - remove typedefs of gl stuff. not needed.
SVN revision: 43488
2009-11-06 15:13:29 +00:00
Carsten Haitzler 3fa1906514 better text perf - less geometry data for complex text drawing.
simpler yuv with matrix.



SVN revision: 43487
2009-11-06 11:32:23 +00:00
Carsten Haitzler 9b56603875 oops - infinite loopies
SVN revision: 43486
2009-11-06 10:30:24 +00:00
Carsten Haitzler eb732b80e0 return somethnig
SVN revision: 43485
2009-11-06 10:26:54 +00:00
Carsten Haitzler 948bb4a63e fix smart map redraw errors.
SVN revision: 43483
2009-11-06 08:44:49 +00:00
Cedric BAIL a82d161c27 * evas_cache_image: Attempt to make a definitiv fix for race condition on cancel.
WARNING: If you continue to see any segv in E17, please report to me with a backtrace. Thanks.


SVN revision: 43465
2009-11-05 17:38:51 +00:00
Carsten Haitzler bf871d0975 try uncondiutionalyl remove dropped images from preload queue
SVN revision: 43464
2009-11-05 16:05:29 +00:00
Carsten Haitzler 9791b27a18 map coords in mapped objects.
SVN revision: 43463
2009-11-05 15:24:48 +00:00
Carsten Haitzler 36a2d10682 fix mul! out of premul range!
SVN revision: 43446
2009-11-04 09:25:52 +00:00
Carsten Haitzler bd0541a0b0 and fix the dual geometry thing - use the clip cache for uv geometry. perfect!
SVN revision: 43432
2009-11-03 15:41:36 +00:00
Carsten Haitzler 7526d0751e add a new npot extn string
SVN revision: 43430
2009-11-03 10:33:37 +00:00
Gustavo Sverzut Barbieri 3d77c82d15 immediately unset maps.
if we call evas_object_map_enable_set(o, 0) we expect things to go
back to normal immediately.



SVN revision: 43424
2009-11-02 15:58:48 +00:00
Carsten Haitzler 0007c51508 document map util calls
SVN revision: 43423
2009-11-02 15:43:51 +00:00
Carsten Haitzler f514e72be7 fix 3d util api. better now.
SVN revision: 43418
2009-11-02 12:20:50 +00:00
Carsten Haitzler 2510cad2f0 some more util calls for 3d goop. not 100% sure i like it atm, but.. here goes.
SVN revision: 43411
2009-11-02 08:52:23 +00:00
Carsten Haitzler b2ac7c110a fix mmx code
SVN revision: 43386
2009-11-01 11:45:16 +00:00
Carsten Haitzler 6f4db357dd i shoudl use join macro
SVN revision: 43385
2009-11-01 09:03:01 +00:00
Carsten Haitzler 069de70853 add color to the vertexes in map. this allows for fading/shading of
reflections, goraud shading for smooth 3d surfaces, mor realistic lighting
etc. etc. it comes at a small cost, but worth it.



SVN revision: 43384
2009-11-01 01:32:23 +00:00
Vincent Torri 00d1eab6d8 spelling
SVN revision: 43374
2009-10-31 15:18:19 +00:00
Carsten Haitzler 1545cc226e more map work. now only re-render map surface if size changed or any contents
changed. still renders all, but better now. keeps map surfacer around for
shits and giggles until map unset or object deleted. als be able to set
smooth map and disable alpha (for smart objects)



SVN revision: 43362
2009-10-31 09:08:01 +00:00
Carsten Haitzler bb3824803c finally! smart objects work with map!
SVN revision: 43343
2009-10-30 10:11:15 +00:00
Carsten Haitzler 335081d18c ifdef++
SVN revision: 43337
2009-10-29 11:54:47 +00:00
Carsten Haitzler 422faf09fd clean up map - move to #included worker and add mmx - just copied from normal
image scaler actually.



SVN revision: 43336
2009-10-29 06:52:51 +00:00
Carsten Haitzler 5cc7803ef9 the start of other objects being able to map! text objects work.. tested.
SVN revision: 43323
2009-10-28 08:59:01 +00:00
Mike Frysinger e204104de3 fix typo in previous change -- EVAS_DEFAULT_LOG_COLOR, not EVAS_DEFAULT_COLOR
SVN revision: 43300
2009-10-26 20:42:24 +00:00
Carsten Haitzler b0695a6712 fill in last fixme on rendering code and make it better written by moving
comon code blobs to functions.



SVN revision: 43298
2009-10-26 14:06:21 +00:00
Vincent Torri 56f784dacd fix+++
SVN revision: 43250
2009-10-24 17:00:34 +00:00
Vincent Torri d8c4555c36 eng_setup must return 1 on success and 0 on failure
SVN revision: 43248
2009-10-24 15:24:11 +00:00
Carsten Haitzler b36917b180 smooth map works (down to 1/2 size its good. its pretty much gl_linear, but
in software. but it looks gorgeous. rotations are groovey.



SVN revision: 43226
2009-10-23 13:17:22 +00:00
Carsten Haitzler 4a6609c55f fix copy & paste bug.
SVN revision: 43225
2009-10-23 13:11:23 +00:00
Carsten Haitzler 2168b2a57f fix statements
SVN revision: 43224
2009-10-23 06:48:22 +00:00
Vincent Torri f60b381333 Fix some warnings. I don't touch gl engines for now
SVN revision: 43221
2009-10-22 22:33:06 +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
Gustavo Sverzut Barbieri 4b95e6b078 oops, it's eina_log_domain_unregister... domain, not dom!
SVN revision: 43213
2009-10-22 20:14:05 +00:00
Gustavo Sverzut Barbieri 6982f7b9c6 evas_map: more extensible and safe. add docs
change evas_map to return a structure that serves as an array of
points. This way we'll know for sure the number of points in it. Right
now it's hardcoded to 4, so check it, but in future we can just allow
more points and it should work.

added docs. I'm not sure about most of it, so it would be good to have
someone to review and fill in more, maybe that's raster? Grep for
"TODO" and you'll see the missing stuff. It would be good to add
examples in evas_map_point_coord_set() and
evas_map_point_image_uv_set()



SVN revision: 43211
2009-10-22 20:11:33 +00:00
Cedric BAIL 9af68d80da * evas: Add map to SDL also.
SVN revision: 43206
2009-10-22 17:06:06 +00:00
Cedric BAIL 0cf81bc080 * evas: Fix missing correction.
SVN revision: 43205
2009-10-22 16:39:20 +00:00
Carsten Haitzler 041327008f a little cleaner, but not faster
SVN revision: 43204
2009-10-22 16:06:32 +00:00
Carsten Haitzler a24ad9a1c4 fast path for solid maps.
SVN revision: 43203
2009-10-22 15:51:18 +00:00
Carsten Haitzler 7fce71c5d9 add some beginnigns of utility funcs to evas map. move it to its own file.
SVN revision: 43201
2009-10-22 15:47:30 +00:00
Cedric BAIL 8984a75799 * evas: Cleanup move to eina log.
Patch from Mathieu Taillefumier.


SVN revision: 43200
2009-10-22 15:22:22 +00:00
Carsten Haitzler 6f4b45e296 re-enable yuv shader for 6410.
SVN revision: 43195
2009-10-22 08:55:07 +00:00
Carsten Haitzler c1b3587659 enable npot textures
SVN revision: 43194
2009-10-22 08:53:25 +00:00
Carsten Haitzler 43234e9b59 pull smooth... that's not going to be sane. or smooth. hmmm.
SVN revision: 43192
2009-10-22 07:31:25 +00:00
Carsten Haitzler 67fd2dd37c default load - 75dpi. like fonts.
SVN revision: 43190
2009-10-22 06:40:58 +00:00
Carsten Haitzler 63ec70ea91 enable smooth path - same as nearest... for now
SVN revision: 43183
2009-10-21 14:53:55 +00:00
Carsten Haitzler ceb6cb9600 handle if uv are out of image coords - clamp. remove unsued bounds checks
(not needed anymore). also fix a black edge.



SVN revision: 43182
2009-10-21 14:45:55 +00:00
Cedric BAIL 4d083a6627 * evas: Make quartz engine compile again.
SVN revision: 43180
2009-10-21 13:09:04 +00:00
Carsten Haitzler 0f138474d6 improve map.. now no rendering or segv bugs (that i have seen). woot. also
handle clipping and clip-outs.



SVN revision: 43178
2009-10-21 09:33:07 +00:00
Carsten Haitzler 8bf3f50b2c map code... works.. with bugs... but works. visually...
SVN revision: 43163
2009-10-20 16:03:57 +00:00
Carsten Haitzler c50ea6b1c8 map image... not used yet.
SVN revision: 43131
2009-10-17 10:25:51 +00:00
Vincent Torri 3066c3d305 Evas_Data.h functions are deprecated.
SVN revision: 43130
2009-10-17 09:10:31 +00:00
Vincent Torri 2b57e1d0da remove evas data from the visual studio project
SVN revision: 43129
2009-10-17 08:54:41 +00:00
Jonathan Atton 75303b4b5b Evas :The doc say "This function removes the most recently added callback", consequently we have te prepend the items
SVN revision: 43103
2009-10-15 20:50:15 +00:00
Carsten Haitzler 8cf88e6b18 and flush there too
SVN revision: 43091
2009-10-15 03:25:22 +00:00
Carsten Haitzler 40f23d3708 flush queu at context change time (use win) just in case
SVN revision: 43090
2009-10-15 01:39:22 +00:00
Vincent Torri a4196bafd2 evas doc looks better now
SVN revision: 43082
2009-10-14 19:21:37 +00:00
Vincent Torri ebdf658cfd use fprintf for messages
SVN revision: 43056
2009-10-13 17:31:18 +00:00
Vincent Torri 3414279848 fix compilation on Windows CE
SVN revision: 43055
2009-10-13 17:27:49 +00:00
Carsten Haitzler 017e26b4e0 fix font aligned tex.
SVN revision: 43049
2009-10-13 10:42:03 +00:00
Carsten Haitzler 0b3d755ce9 more work putting shared bits in shared. but context seems to be a big problem.
:(



SVN revision: 43048
2009-10-13 09:40:39 +00:00
Carsten Haitzler 022dc0cb6e disable yuv for 6410 - seems theres a bug., use img shader instead just as a
placeholder.



SVN revision: 43047
2009-10-13 03:12:32 +00:00
Carsten Haitzler 6b1d31e5bc free up stuff on context free. still need to do programs
SVN revision: 43046
2009-10-13 01:44:46 +00:00
Carsten Haitzler f62f738c7e add level 0 as request. dont want overlay.
SVN revision: 43045
2009-10-13 01:30:04 +00:00
Carsten Haitzler e31d7799ee set tex min/mag filter always
SVN revision: 43044
2009-10-13 00:37:16 +00:00
Carsten Haitzler 8da2320695 dont eed these params here
SVN revision: 43038
2009-10-12 18:02:33 +00:00
Carsten Haitzler 46996c95d3 mini-speedups!
SVN revision: 43037
2009-10-12 15:22:38 +00:00
Carsten Haitzler c0c9f60751 more work on the gles + gl engine.
SVN revision: 43036
2009-10-12 13:19:55 +00:00
Carsten Haitzler 09ba2ed738 and one more untested fix
SVN revision: 43033
2009-10-12 03:52:23 +00:00
Carsten Haitzler a08e1d6793 and fix more bits not tested yet
SVN revision: 43032
2009-10-12 03:43:00 +00:00
Carsten Haitzler bcf85c7225 remove _dends. old code.
SVN revision: 43031
2009-10-12 03:35:32 +00:00
Carsten Haitzler 8bd109e8ce update build for gles on s3c6410 testing
SVN revision: 43030
2009-10-12 03:31:24 +00:00
Carsten Haitzler a60f577446 some infra for starting to handle dest-alpha (rgba) windows in gl engine.
not sure shaped windows will ever be sanely possible.



SVN revision: 43015
2009-10-11 06:59:47 +00:00
Carsten Haitzler 0a036d1ec2 keep locks for less - ie not arorund a loop calling callbacks.
SVN revision: 43014
2009-10-11 06:57:23 +00:00
Carsten Haitzler 00486440c0 fix autofoo make and included files etc. produce shader binaries for systems
that dont have runtime compilers using offline tools. binary blobs will need
to be provided in src trees as the shader_type_bin_target.h files



SVN revision: 43004
2009-10-10 15:03:41 +00:00
Carsten Haitzler a6b2cfd52a and delete u and v textures too
SVN revision: 43002
2009-10-10 14:55:10 +00:00
Carsten Haitzler 1046b6339a fix yuv shader. right now.
SVN revision: 43001
2009-10-10 14:48:34 +00:00
Carsten Haitzler 43420a5df3 yuv support is back now.
SVN revision: 43000
2009-10-10 13:24:15 +00:00
Carsten Haitzler 1d869a9ab1 add --enable-gl-flavor-gles to force GLES flavor of GL instead of "standard"
GL which will be preferred if it is found. this is for situations where you
may have both GL and GLES.



SVN revision: 42994
2009-10-10 03:46:27 +00:00
Iván Briano b1cc741a2d bigger clipper
SVN revision: 42984
2009-10-09 19:17:55 +00:00
Carsten Haitzler daa0573ceb oops missed file.
SVN revision: 42983
2009-10-09 15:17:27 +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
Carsten Haitzler 94e5770212 dont retunr if invalid
SVN revision: 42976
2009-10-09 04:31:13 +00:00
Vincent Torri 506311faaa fix evas_init() when called several times but is failing
SVN revision: 42972
2009-10-08 21:17:21 +00:00
Carsten Haitzler c280f8610e add external api call to call smart calc calls on al smarts on a canvas
SVN revision: 42960
2009-10-08 14:28:21 +00:00
Vincent Torri 7902ce1bb7 simplify evas_init() and evas_shutdown() a bit
SVN revision: 42956
2009-10-08 06:25:09 +00:00
Cedric BAIL ef2d2ddfda * evas: Remove some llvm warning.
SVN revision: 42938
2009-10-07 12:47:01 +00:00
Vincent Torri 1dd1f854b3 * more quoting
* add silent rules (shave feature)
   see the description of AM_SILENT_RULES in: 
   http://www.gnu.org/software/automake/manual/automake.html#Public-Macros



SVN revision: 42907
2009-10-06 16:54:43 +00:00
Iván Briano 1d3f50027a Added version and insert_after to box api
SVN revision: 42862
2009-10-02 19:06:12 +00:00
Vincent Torri de7282e68b use Eina macro for default log color
SVN revision: 42855
2009-10-02 04:47:34 +00:00
Vincent Torri b770510734 call engine info_free() after output_free()
SVN revision: 42830
2009-10-01 08:01:03 +00:00
Vincent Torri 0a775ef90d fix eina logging in software_ddraw
SVN revision: 42829
2009-10-01 07:44:39 +00:00
Carsten Haitzler e30651d7ca more patches from tom
SVN revision: 42828
2009-10-01 05:18:17 +00:00
Carsten Haitzler 0986cd681b init some ptrs to null.
SVN revision: 42823
2009-09-30 22:30:12 +00:00
Tom 39b6c9148c From: Tom <tom@stosb.com> (tasn)
Hey raster,

Here is the non intrusive patch I talked to you about. Please apply it as it
introduces some fixes, some improvements and mostly and underlying
infrastructure for future RTL improvements.

(note hebrew & yiddish seem fine, but things expedite test seems to show are
wrong (why i don't know as i dont speak the langs- just comparing to pango /
gtk output):

arabic seems lsightl wrong (maybe composition chars not working?)
gujarati - also seems wrong
malayam - also looks wrong
persian - looks wrong
sinhala - looks wrong
tamil - looks wrong

these are what, appear to me, to look wrong. why they look wrong, i don't
know. i'm guessing its compositiong not being handled. but i dont's peak,
read or write any of these languages so i am unsure of what it really should
be like, why and how to fix it.

anyone want to put up a hand? (everything else is displaying fine as best i
can tell - the langauges i read/speak/somewhat understand are working fine).



SVN revision: 42814
2009-09-30 04:23:21 +00:00
Iván Briano 0a546d1b78 Use align == -1 for fill, and don't fill if not requested.
SVN revision: 42780
2009-09-28 19:24:53 +00:00
Carsten Haitzler ff09bcbaae add some macros/defin es to make life easier
SVN revision: 42757
2009-09-28 05:53:48 +00:00
Carsten Haitzler 526b6e8f3b and fix async load thing hanging around... put in shared queue and be able to
remove targets from the queue.



SVN revision: 42754
2009-09-28 03:51:21 +00:00
Vincent Torri 449bdb7bc6 * use Requires.private field in evas.pc if pkg-config 0.22 is installed. We list in it the required packages needed to compile eet.
* remove uneeded flags that are in Libs.private (those from the packages that are listed in Requires.private) 

SVN revision: 42744
2009-09-27 19:57:01 +00:00
Carsten Haitzler aea9bb4064 i KNOW there is a bug here... the question is.. how to fix it?
SVN revision: 42692
2009-09-25 09:06:13 +00:00
Carsten Haitzler 58fc0273fe account for padding too for too-big
SVN revision: 42678
2009-09-24 14:44:05 +00:00
Vincent Torri c1b56b9cf1 revert. I didn't see that the .c files were included...
SVN revision: 42664
2009-09-24 06:01:59 +00:00
Vincent Torri f12c2099d4 * export _evas_log_dom_global as it can be used in modules
* don't include non microsoft header files when vc++ is used
 * declare alloca before standard C header files
 * minor formatting

SVN revision: 42663
2009-09-24 05:10:49 +00:00
Vincent Torri 6677c2fcf9 fix double to Evas_Coord conversion warnings
SVN revision: 42662
2009-09-24 04:55:01 +00:00
Vincent Torri 32d0ba3d65 fix common configuration of VS
SVN revision: 42651
2009-09-23 17:17:59 +00:00
Vincent Torri 454f2fadcb move declaration of variables at the beginning of the blocks
SVN revision: 42650
2009-09-23 17:15:18 +00:00
Vincent Torri c392f30e71 make evas_module.c and evas_path.c compile with vc++
SVN revision: 42641
2009-09-23 07:12:11 +00:00
Vincent Torri cefbd7abf5 use size_t instead of int
SVN revision: 42640
2009-09-23 06:45:39 +00:00
Vincent Torri ac44ab5449 move the gradient2 main structure in a specific header as it is also used in the linear and radial files
SVN revision: 42639
2009-09-23 06:37:08 +00:00
Vincent Torri e50c003031 last auto-import symbols
SVN revision: 42631
2009-09-22 23:07:29 +00:00
Vincent Torri ef825fc3c1 more auto-import symbols
SVN revision: 42630
2009-09-22 23:05:51 +00:00
Vincent Torri e359ac2161 auto-import symbols
SVN revision: 42628
2009-09-22 22:51:15 +00:00
Vincent Torri 165a507ce2 move declaration of variables at the beginning of the block
SVN revision: 42627
2009-09-22 22:37:03 +00:00
Carsten Haitzler bea22f22a4 fix wrns.. and fix macro!
SVN revision: 42617
2009-09-22 08:04:57 +00:00
Carsten Haitzler 85c9ee14e1 and much pain and ganshing of teeth.. this took too long... no more hanging
preload cancels. u can cancel a preload (explicitly or implicitly) with no
lock penalty. now i can get on with my other fun.



SVN revision: 42616
2009-09-22 07:02:14 +00:00
Cedric BAIL c259d8addd * evas: Use eina_log.
Patch from Matthieu.


SVN revision: 42598
2009-09-21 16:08:51 +00:00
Carsten Haitzler db6bee8c04 and be able to check for my libjpeg hacks and enable if found
SVN revision: 42594
2009-09-21 12:49:52 +00:00
Carsten Haitzler 2f87e02f09 more work on jpeg region load. use some hacks i did to libjpeg.
SVN revision: 42593
2009-09-21 12:49:31 +00:00
Carsten Haitzler c61c9643ca handle regions for all jpeg types (cymk, rgb, gray). other formats dont
support this (atm). there is possibly little point in doing so... perhaps
svg... thought maybe tiff too later? for now, get jpeg 100% up to snuff.



SVN revision: 42587
2009-09-20 14:31:48 +00:00
Vincent Torri 0c0dbb92dc move EINA_DEPRECATED to the beginning of the declaration
SVN revision: 42571
2009-09-20 07:16:47 +00:00
Iván Briano 5c3b4fa74e Improve documentation for Evas, Ecore, Edje and Elementary.
Work by:
 - Thiago R. Masaki (mostly)
 - Fabiano Fidencio
 - Gustavo Lima


SVN revision: 42550
2009-09-17 22:38:10 +00:00
Gustavo Sverzut Barbieri 8e56bad0e6 dunno what's this crazy math, but it overflows on 64 bits... ensure it's unsigned long long...
SVN revision: 42523
2009-09-16 19:20:26 +00:00
Carsten Haitzler 65f147aa81 make loaders use "big image" macro to detect an image that is going to just
be way too big to ever allocate. probably code can do with other fixes too.

also make jpeg loader rudametarily understand load regions. very brute-force.
but enough for just this moment to do testing.



SVN revision: 42507
2009-09-16 09:48:05 +00:00
Carsten Haitzler f780cc2c8f add "region" load opt. no loader handles it... yet
SVN revision: 42494
2009-09-15 13:34:12 +00:00
dieb c2fde2fa75 Trailing whitespaces--, remove wrong tabs.
SVN revision: 42454
2009-09-13 03:04:20 +00:00
Carsten Haitzler 7ee7fb5604 1. make max image size a #define
2. max image size > 65536x65536
3. fix cserve leak
4. fix cserve+async load to work together.



SVN revision: 42406
2009-09-11 13:44:53 +00:00
Carsten Haitzler deb61bbe7c fix some possible mutex probs
SVN revision: 42319
2009-09-07 10:42:30 +00:00
Vincent Torri 911ce19bfc fix build when async events are not enabled
SVN revision: 42273
2009-09-05 07:56:03 +00:00
Vincent Torri eaf9934e80 evas_init() fails if eina_init() or evas_async_events_init() fail
SVN revision: 42239
2009-09-04 05:41:20 +00:00
Vincent Torri ac3dae2a80 remove trailing spaces
SVN revision: 42238
2009-09-04 05:13:19 +00:00
Carsten Haitzler 1352efe452 1. make smart callback calling faster with == instead of strcmp
2. add linesize/line relsize for setting line sizes in textblock



SVN revision: 42231
2009-09-04 03:53:18 +00:00
Gustavo Sverzut Barbieri e455e6f5b9 fix eina to not use deprecated eina_error logging.
SVN revision: 42229
2009-09-04 02:42:51 +00:00
Vincent Torri ea9c39e2f7 masks should be correctly rotated in the xcb engine, now
remove a few unused parameters and unused variables


SVN revision: 41975
2009-08-25 16:21:09 +00:00
Vincent Torri 86dab3bef7 we should try if shm is available
SVN revision: 41974
2009-08-25 15:23:15 +00:00
Christopher Michael 26f32b9520 Return NULL to be consistent, not 0.
SVN revision: 41953
2009-08-24 10:52:40 +00:00
Carsten Haitzler 59f676f369 oh suncc - shut up!
SVN revision: 41873
2009-08-19 09:56:46 +00:00
Mikhail Gusarov 226e4e5e16 From: Mikhail Gusarov <dottedmag@dottedmag.net>
Subject: [E-devel] [evas] Add RGBA -> grayscale 64 entries palette conversion

This is needed for E-Ink devices outta there. Names of new files,
configure.ac variables and macros are awful, suggestions are welcome.



SVN revision: 41825
2009-08-17 01:41:07 +00:00
Rafael Antognolli af554298cd Bugfix on directfb engine:
* cleaning dirty rectangles on dfb surfaces now is done correctly.



SVN revision: 41777
2009-08-14 20:36:49 +00:00
Cedric BAIL b2d4ead502 * evas: Garbage is back for opaque window without background object.
SVN revision: 41773
2009-08-14 17:48:49 +00:00
Cedric BAIL 3d6840cd1a * evas: Fix two render bugs :
- Forgot to reset clip before drawing cleanup rect.
		- Always draw a rect to reset the background, just
		choose a correct color.

	Note: This will slow down software_x11 engine, as this engine
	always do memset, so it does it twice. Before only the alpha
	case was impacted, now both case are. Need time to fix it. If
	someone has, don't hesitate :-) You can use elementary windows
	state test, to see if thing is going correctly or not.

	For the record, SDL engine has a score around 500 under X11 on
	my computer, where the X11 engine does only have a score around
	450.


SVN revision: 41770
2009-08-14 17:17:01 +00:00
Cedric BAIL 443fe5fc8e * evas: gl_x11 window can't support alpha, as drawing rect with
alpha=0 is not possible.


SVN revision: 41769
2009-08-14 17:11:08 +00:00
Gustavo Sverzut Barbieri 96001ff1a1 fix evas box flow layouts to consider padding.
By: Fabiano Fidêncio <fidencio@profusion.mobi>



SVN revision: 41739
2009-08-13 15:01:49 +00:00
Gustavo Sverzut Barbieri 09bb18e727 need to set trailing NULL as it will not be done automatically.
SVN revision: 41708
2009-08-12 16:02:32 +00:00
Christopher Michael 53f359573e Fix placement of __UNUSED__
SVN revision: 41650
2009-08-09 19:07:03 +00:00
Christopher Michael a29767c572 Formatting
SVN revision: 41648
2009-08-09 16:41:51 +00:00
Christopher Michael 9261a4d24b Just Formatting. NO code changes.
SVN revision: 41636
2009-08-07 21:38:36 +00:00
Christopher Michael c508b00c24 evas_object_resize patch to move evas_object_recalc_clippees. This makes
evas_object_resize behave more like evas_object_move.

NB's added in case this causes glitches in corner cases



SVN revision: 41635
2009-08-07 20:35:30 +00:00
Cedric BAIL e4d68c7fbe * evas: gl_common now use Eina_Rectangle_Pool.
SVN revision: 41607
2009-08-05 14:47:12 +00:00
Cedric BAIL faf1a51fee * evas: Fix ticket #143 from Vincent Torri.
http://trac.enlightenment.org/e/ticket/143


SVN revision: 41565
2009-08-03 08:26:02 +00:00
Carsten Haitzler c3c692269a Ticket #372 - patch. fix.
SVN revision: 41563
2009-08-03 08:19:12 +00:00
Cedric BAIL 5784d74daa * eina: Add eina_cpu_count.
SVN revision: 41543
2009-07-30 16:45:15 +00:00
Christopher Michael cecbfe7618 Do not return a value if the function returns void.
SVN revision: 41537
2009-07-29 18:34:27 +00:00
Carsten Haitzler 1ea1c629cb back to pre ver's
SVN revision: 41535
2009-07-29 08:19:34 +00:00
Carsten Haitzler 6db38393cd SNAPSHOT: svn-03
SVN revision: 41532
2009-07-29 08:03:25 +00:00
Gustavo Sverzut Barbieri 7ca620ce73 unbreak static savers, cedric pay attention to seds!
SVN revision: 41529
2009-07-28 23:48:27 +00:00
Iván Briano 0269d38187 Fix build of loaders
SVN revision: 41527
2009-07-28 17:59:26 +00:00
Vincent Torri 39809967cb clean dist rule
SVN revision: 41526
2009-07-28 11:50:22 +00:00
Vincent Torri 12751954d1 remove uneeded declaration (to be symetric with xcb code)
SVN revision: 41523
2009-07-28 09:55:08 +00:00
Cedric BAIL 940b7b0740 * evas: Return Eina_Bool when it make sense.
SVN revision: 41458
2009-07-20 15:33:10 +00:00
Michael Lauer 565a623f26 evas: add first bunch of typedefs for previously anonymous callbacks
SVN revision: 41423
2009-07-18 22:43:18 +00:00
Vincent Torri da292c1f29 * rename 'x11' to 'xlib' when it makes sense
* allow the build of evas without xlib installed (for OpenInkpot guys)
 * add big fat warning when at least a module is linked statically (try it !)

more patches will follow now (ecore, e, rage and ewl)
I let pyton and c++ bindings maintainer to do the rename


SVN revision: 41329
2009-07-14 21:16:08 +00:00
Gustavo Sverzut Barbieri 05f61cd086 fix uninitialized problems reported by valgrind.
SVN revision: 41316
2009-07-12 16:11:58 +00:00
Carsten Haitzler d6a6cc63e8 cserve for evas now has a threaded loader - much better when multiple clients
aare hammering it with load requests



SVN revision: 41293
2009-07-10 06:52:09 +00:00
Mikhail Gusarov d6af88ef6c patch from: Mikhail Gusarov <dottedmag@dottedmag.net>
evas_common_font_utf8_get_prev currently works correctly only on an
ASCII symbols. For non-ASCII it just returns random garbage somehow
constructed from a string.

Attached patch makes it work according to the comment at the start.



SVN revision: 41292
2009-07-10 06:06:37 +00:00
Cedric BAIL 7a94d9de85 * evas: Try all known modules when testing an unknown file.
SVN revision: 41262
2009-07-07 11:07:43 +00:00
Vincent Torri 7e475a152c missing ;
SVN revision: 41259
2009-07-06 21:48:11 +00:00
Cedric BAIL 1676145494 * evas: Reduce code duplication.
SVN revision: 41228
2009-07-01 14:05:04 +00:00
Vincent Torri c803ed44d3 fix++
SVN revision: 41222
2009-06-29 06:44:35 +00:00
Vincent Torri 13fbd02091 Reorganize a bit the configure.ac file, and add 2 macros for
dithering and scaler


SVN revision: 41216
2009-06-27 13:07:00 +00:00
Vincent Torri 19b6892b94 remove useless Windows CE stuff, as it must be done on the
executable, and not the library.


SVN revision: 41214
2009-06-27 07:00:39 +00:00
Vincent Torri 390f94bcfd update m4 macros (mainly formatting)
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Cedric BAIL a7f2974e13 * evas: break engine API !!!
Improvements: Now evas rendering loop is the one responsible to
	initialize the surface to 0 correctly (taking into account surface
	alpha and object opacity). This will reduce the number of memset
	we do.

	Note: Current software_x11 (xlib and xcb) are buggy. They are
	copying too much data when the surface use a mask. That's why
	two memset are left in their code. They could be removed, but
	we should fix the surface we copy on change (look at mxob user
	and evas_software_xlib_x_output_buffer_paste).


SVN revision: 41206
2009-06-26 13:26:52 +00:00
Cedric BAIL 7e62952adf * evas: Fix broken evas_software_16 static module support.
SVN revision: 41205
2009-06-26 13:15:32 +00:00
Carsten Haitzler e420003d7e add a zero of cpu.. just in case.
SVN revision: 41195
2009-06-25 14:59:12 +00:00
Vincent Torri 4c09519e99 remove trailing spaces
SVN revision: 41191
2009-06-25 04:20:34 +00:00
Vincent Torri ebc20c2236 API BREAK: fix Eina API so that it is more consistent with the other EFL
what is modified:

eina_counter_add -> eina_counter_new
eina_counter_delete -> eina_counter_free
eina_lalloc_delete -> eina_lalloc_free
eina_mempool_new -> eina_mempool_add
eina_mempool_delete -> eina_mempool_del
eina_mempool_alloc -> eina_mempool_malloc
eina_tiler_del -> eina_tiler_free

It remains some questions: have the following API a good name:

eina_module_list_delete
eina_list_free
eina_rbtree_delete

(see ticket #286)

If you find any problem, please report in that thread


SVN revision: 41187
2009-06-24 16:56:49 +00:00