Commit Graph

2763 Commits

Author SHA1 Message Date
Vincent Torri eeb221e665 async events do not depend on pthread anymore
SVN revision: 45670
2010-01-28 17:25:52 +00:00
Boris Faure b2f665d0b2 evas: remove useless include. patch by vtorry
SVN revision: 45660
2010-01-28 12:38:21 +00:00
Carsten Haitzler 36270ab981 fix rgb textures on fglrx again
SVN revision: 45628
2010-01-27 15:29:24 +00:00
Carsten Haitzler c612e20b40 move fastpath where it should be
SVN revision: 45623
2010-01-27 06:49:21 +00:00
Nicholas Hughart 9b343e33e3 libpng 1.4 no longer has png_check_sig, png_sig_cmp should be used instead. This exists in 1.2 as well and I'd hope noone is still on the 1.0 branch.
SVN revision: 45620
2010-01-27 05:52:27 +00:00
Carsten Haitzler 82ea9859e8 fastpath for map that are... well.. not mapped.
SVN revision: 45574
2010-01-26 08:16:36 +00:00
Carsten Haitzler be64dad971 debug--
SVN revision: 45555
2010-01-25 14:44:02 +00:00
Carsten Haitzler 7d25128c3d more debug
SVN revision: 45554
2010-01-25 14:29:30 +00:00
Carsten Haitzler 47ad18fafc more debugging
SVN revision: 45551
2010-01-25 14:02:14 +00:00
Carsten Haitzler 0948ee7e20 1. depth buf+ stencil buf explicityl zero for both glx and egl.
2. some debugging - havving issues. will revert debug stuff soon



SVN revision: 45550
2010-01-25 13:42:57 +00:00
Carsten Haitzler 5eadacbaf8 avoid recursion!
SVN revision: 45548
2010-01-25 11:04:32 +00:00
Carsten Haitzler c12557d8f0 add pre/post swap callbacks. need them! :(
SVN revision: 45514
2010-01-24 11:01:20 +00:00
Carsten Haitzler e4200ef02b oops - need to enable it for htings to work
SVN revision: 45509
2010-01-24 05:41:53 +00:00
Carsten Haitzler b06b71050a ok. work on native pixmap suppport. have problmes - not sure why. see
comments (create/destory glx pixmap needed for updates to work, but this
makes rendering dead-slow. without it rendering is fast, but updates dont
happen (useless).

anyone know why glxcreatepixmap is needed as well as bindteximage+release
(and destroy pixmap) vs just bind/unbind?



SVN revision: 45508
2010-01-24 05:11:54 +00:00
Carsten Haitzler 18c8ea2e96 fix native surface stuff - rounding dimensions up was not smart! :)
SVN revision: 45484
2010-01-23 13:49:54 +00:00
Carsten Haitzler 31b9220a3e fix texture size alloc for native textures.
SVN revision: 45483
2010-01-23 13:21:04 +00:00
Carsten Haitzler abb6c09cd6 go back to rgba
SVN revision: 45437
2010-01-22 10:52:53 +00:00
Vincent Torri 8d9d9ea3a3 fix warnings
patch by Albin Tonnerre


SVN revision: 45430
2010-01-22 06:51:27 +00:00
Carsten Haitzler b2f0971068 fix variable
SVN revision: 45427
2010-01-22 05:55:46 +00:00
Carsten Haitzler 33ba2279fc some more cleanups - issed protecting 1 or 2 calls. gl still doesnt work tho
:) not on fglrx.



SVN revision: 45388
2010-01-21 12:43:53 +00:00
Carsten Haitzler dbf33fc10a some protection against playing with native surfaces (setting image size
doent re-alloc for example)



SVN revision: 45385
2010-01-21 09:42:26 +00:00
Carsten Haitzler ad2b33c0bb native surface support lives - for GL (GLX) only. it works - or seemingly
does in my test casses. doesn't work for compositing though! don't know why.



SVN revision: 45383
2010-01-21 08:44:11 +00:00
Carsten Haitzler efec562314 handle images that have alpha vhannel but are arbage (in gl) eg 0 or
something other than 0xff



SVN revision: 45350
2010-01-20 03:59:32 +00:00
Carsten Haitzler 250496b0ea hunting bug in fglrx libs - make comment!
SVN revision: 45330
2010-01-19 14:29:20 +00:00
Cedric BAIL 6a0668110d * evas: Fix segv source by checking result before using it.
SVN revision: 45301
2010-01-18 20:04:21 +00:00
Carsten Haitzler 752a5bb7a4 add new check of in object list
SVN revision: 45284
2010-01-18 11:55:52 +00:00
Carsten Haitzler 6fab52157f map source api - nothing implemented. for future expansion.
SVN revision: 45281
2010-01-18 09:46:45 +00:00
Carsten Haitzler 04bcfb9245 improving multi-touch structs and code.
SVN revision: 45248
2010-01-17 08:52:21 +00:00
Mikhail Gusarov 49863000f6 evas: Fix prototype of evas_textblock_style_set, 'text' argument can be NULL
SVN revision: 45245
2010-01-17 06:01:13 +00:00
Carsten Haitzler 151515d816 initial multi-touch support.
SVN revision: 45212
2010-01-16 12:20:22 +00:00
Cedric BAIL 3cbf825501 * evas: Fix header to build with suncc. Patch from Vincent Torri.
SVN revision: 45185
2010-01-15 12:15:00 +00:00
Sebastian Dransfeld ef658ccd74 Fix wrong function names in doc
SVN revision: 45128
2010-01-14 20:52:57 +00:00
Mikhail Gusarov e1ffc62293 evas: Revert accidentally committed hunk: dlopen is still needed
SVN revision: 45098
2010-01-13 23:44:06 +00:00
Mikhail Gusarov 86036e9929 evas: Fix broken check in --enable-convert-8-grayscale-64 handler
SVN revision: 45096
2010-01-13 23:23:49 +00:00
Vincent Torri 61daee00ae dl stuff is only used in the gl_common engine as now,
the modules load is done by eina

will clean configure.ac wrt this later


SVN revision: 45092
2010-01-13 21:05:16 +00:00
Cedric BAIL 5d754e74e7 * evas: Fix serious typos that could generate dead lock.
SVN revision: 45087
2010-01-13 19:57:59 +00:00
Carsten Haitzler 42f1294b17 patch from sehwan@samsung.com for small issues in evas/edje
SVN revision: 45055
2010-01-12 01:45:10 +00:00
Iván Briano 3b160b4354 So... this breaks Smarts ABI, rebuild everything after updating Evas.
This patch adds some stuff for smart callback description/instropection, which
is still untested but doesn't break anything that's out there now. Should help
with bindings later on.

Also some parenting guidelines for smart objects, so it's easier to spawn a
subclass out of another. Look at Box and Table for an example on this.

And again, rebuild everything that uses smart objects after this update, or
the world will turn into a happy place where lawyers are no longer needed...
and we don't want to upset the lawyers.


SVN revision: 45043
2010-01-11 14:24:41 +00:00
Vincent Torri b47b5659b4 update efl_path_max.m4
SVN revision: 45036
2010-01-11 07:11:37 +00:00
Christopher Michael d03271bf4a Fix compiler warning about discarding pointer type.
SVN revision: 45021
2010-01-10 17:59:53 +00:00
Carsten Haitzler aad9a0113f dont destroy db - it's shared and initted on startup etc.
SVN revision: 44968
2010-01-08 07:51:30 +00:00
Carsten Haitzler d2a217d775 fix - destroy properly
SVN revision: 44967
2010-01-08 07:48:18 +00:00
Carsten Haitzler 2e7d9f6726 comment++
SVN revision: 44966
2010-01-08 07:21:15 +00:00
Carsten Haitzler 45d79a15cb allow x11 engines to get x resource that sets dpi.
SVN revision: 44965
2010-01-08 07:10:53 +00:00
Vincent Torri 30a413d330 Fix a crash in the xcb engine
It is still broken when shm is used. I don't know why
Fix other possible issues when shapes are used


SVN revision: 44940
2010-01-07 06:42:42 +00:00
Carsten Haitzler ff86d27663 found divide by 0 in some circumstances -> fix.
SVN revision: 44932
2010-01-06 22:54:51 +00:00
Gustavo Sverzut Barbieri 5c70219de3 PATH_MAX check, by Lutin.
SVN revision: 44886
2010-01-04 19:18:45 +00:00
Gustavo Sverzut Barbieri da9ae913ae better debugging for image load
SVN revision: 44885
2010-01-04 19:18:05 +00:00
Carsten Haitzler 36e6b34070 add a device handle to events - break their structs now for future use.
SVN revision: 44859
2010-01-03 00:30:02 +00:00
Carsten Haitzler 89bbb2c031 for now - disable scissors.. seems to b0rk thungs
SVN revision: 44838
2010-01-01 07:51:18 +00:00
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