Commit Graph

79 Commits

Author SHA1 Message Date
Cedric BAIL d059c8ccf8 evas: update map when they are not defined yet.
SVN revision: 73420
2012-07-06 14:56:42 +00:00
Cedric BAIL 401d68ada6 evas: catch bad map early on.
SVN revision: 73416
2012-07-06 14:03:38 +00:00
Cedric BAIL 1d415b796b evas: add more infrastructure to the prepare stage of pipe rendering.
NOTE: this improve some test by 10 to 15% some other are down by 5%.
Their is still more tunning and improvement possible now (Particularly
with Map), but it will do for now.


SVN revision: 73264
2012-07-04 09:39:23 +00:00
Mike Blumenkrantz 4383a1f409 hey how about we stop breaking evas and edje with EVERY DAMN COMMIT???
SVN revision: 72162
2012-06-15 06:36:49 +00:00
Cedric BAIL d636db3c66 evas: cache conversion from Evas_Map to RGBA_Map.
SVN revision: 72119
2012-06-14 09:58:16 +00:00
ChunEon Park b726de235a evas/map - removed empty evas_object_map_source_set/get APIs.
They does nothing and discarded since the evas_object_image_source_set/get is providing.



SVN revision: 71984
2012-06-12 07:23:46 +00:00
ChunEon Park 88c5f1df74 evas/map - fixed afterimage problem. now we don't need work-around code anymore.
SVN revision: 71549
2012-05-30 10:12:10 +00:00
ChunEon Park 6473f0316c evas/map - simplify code
SVN revision: 71545
2012-05-30 08:40:21 +00:00
Cedric BAIL fae5000f2a evas: so we did have a test to check if we could reuse the same map pointer,
but instead we did a malloc, a double memcpy and a free. WTH ?


SVN revision: 70593
2012-05-02 04:37:39 +00:00
Cedric BAIL 0f424acb6e evas: and for this nice international hollyday let me introduce a dynamic bounding box for smart object.
This make it possible to use the object tree to reduce the number of object, we need to explore to know
what is under a specific position. First used by propagation event code. That code is now 4 times faster, enjoy !
As a side cost evas_object_move goes from 925 to 980 valgrind cycle on my computer, so not something you
will notice.

NOTE: if you notice any breakage regarding event propagation, map, cats, minor or major, please report to
me ! I hope I didn't loose my mojo, with such a scary change, I have a big chance to get it back !


SVN revision: 70564
2012-05-01 07:31:42 +00:00
Mike Blumenkrantz bf44f22f33 this variable was unused and confusing
SVN revision: 69886
2012-04-03 05:30:35 +00:00
Carsten Haitzler e92d5fb2eb fix map overdraw issue that has snuck in during development
SVN revision: 69534
2012-03-21 04:04:03 +00:00
Gustavo Sverzut Barbieri 9a47bffc98 fix gcc warnings about set-but-unused and shadows of y1.
NOTE: did not touch mess that is jpeg, someone else can deal with it :-P



SVN revision: 67353
2012-01-19 16:49:47 +00:00
Carsten Haitzler 3e4e9b76ab Fix rounding error in map clip bounds calculation
SVN revision: 66111
2011-12-12 08:23:24 +00:00
Carsten Haitzler b0ddea7508 only lround 2 times instead of 4 for map - minor bit of cleaner code.
SVN revision: 66108
2011-12-12 06:25:14 +00:00
Carsten Haitzler ee86abe1ea fix clip-out issue after making mapped objs opque fix was in.
SVN revision: 64413
2011-10-26 13:33:25 +00:00
Carsten Haitzler f83bdbc136 fix off-by-one update region calc in map.
SVN revision: 63984
2011-10-11 11:30:37 +00:00
Carsten Haitzler 914a08e206 use lround() for map coord rounding to avoid silly things like
15.999999999999999998 rounding down to 15... whihc leads to
sometimes... odd off-by-1 expected results.



SVN revision: 63978
2011-10-11 06:06:11 +00:00
Daniel Juyung Seo 3b80b133bf evas evas_map.c: Added warning messages to some codes. It has an
infinite loop issue.


SVN revision: 61066
2011-07-06 06:24:18 +00:00
ChunEon Park 4e0544d8d8 evas/evas_map - removed white trailings.
SVN revision: 60916
2011-07-01 11:43:50 +00:00
ChunEon Park 01a9741c05 evas/evas_map - added workaround code for avoid afterimage problem temporary.
Since the last frame is not updated when map is disabled,
Afterimage problem is happened in s/w rendering. 
Need to find out the fundanmental reason then fix it. 



SVN revision: 60914
2011-07-01 11:30:17 +00:00
ChunEon Park bda8d0b373 evas/evas_map - reverted the work around code.
SVN revision: 60913
2011-07-01 10:58:58 +00:00
ChunEon Park 4d9ad50d67 evas/evas_map - fixed workaround code more properly.
SVN revision: 60906
2011-07-01 04:35:26 +00:00
ChunEon Park f568df5ad2 evas/evas_map - added workaround code to remove afterimage problem.
Sine the last frame is not updated when map is disabled,
Afterimage problem is happened in software rendering.
Need to find out the reason in the rendering engine then fix it.
However, it's hard to fix the problem now, added a just workaround code temporary.

This problem will be fixed later or be removed when the rendering engine is refactored completely. 



SVN revision: 60901
2011-07-01 01:10:32 +00:00
ChunEon Park 19ef9ecc95 evas/evas_map - trivial changes.
SVN revision: 60425
2011-06-17 07:12:20 +00:00
ChunEon Park bac87b9e06 evas/evas_map - stuffed trivial missing things.
SVN revision: 60415
2011-06-17 01:16:16 +00:00
ChunEon Park f8bf6ff656 evas/evas_map - modified to use Eina_Bool values.
SVN revision: 60392
2011-06-16 12:18:19 +00:00
ChunEon Park 81672eac1c evas/evas_map - added magic check
SVN revision: 60390
2011-06-16 12:08:46 +00:00
ChunEon Park eac7a5832d evas/evas_map - just removed unused lines and moved internal function position
SVN revision: 60389
2011-06-16 11:48:41 +00:00
ChunEon Park 14e66e3fb8 evas/canvas - ok. it works fine. modified to use the standard computation again.
SVN revision: 60386
2011-06-16 10:03:37 +00:00
ChunEon Park 6be9967699 evas/canvas - reverted evas_map since some texture mapping is incorrect.
SVN revision: 60381
2011-06-16 08:46:16 +00:00
ChunEon Park 1bece16fc0 evas/canvas - just made standard computation.
SVN revision: 60379
2011-06-16 08:21:39 +00:00
ChunEon Park 21713b5991 evas/canvas - sorry i added two lines should not be added.
SVN revision: 60334
2011-06-15 09:02:04 +00:00
ChunEon Park b310df818a evas/canvas - it will be more standard computation. and compute less than before.
SVN revision: 60333
2011-06-15 08:57:45 +00:00
Carsten Haitzler 7d08af1ed0 disable map mesh support - engine code still doesnt handle != 4 points
so pointless exposing it as its broken inthe engine.



SVN revision: 59895
2011-06-02 09:49:17 +00:00
ChunEon Park 8e9be7f42f evas/evas_map - removed white spaces, fixed identation.
SVN revision: 59620
2011-05-23 10:37:17 +00:00
Carsten Haitzler f67fbf23e5 fix new map bug! aaagh. i think this came in post 1.0 - happy now tho.
SVN revision: 58588
2011-04-12 09:44:50 +00:00
Carsten Haitzler 9718eed08e fix some formatting
SVN revision: 58585
2011-04-12 09:23:52 +00:00
Carsten Haitzler 09069b6172 doxy move to header.
SVN revision: 58477
2011-04-08 07:26:20 +00:00
Carsten Haitzler e2bd68dc91 hey... no printfs during all that lighting calcing :)
SVN revision: 56800
2011-02-08 11:37:48 +00:00
Brett Nash aa59164001 Support for Proxy Objects (and others)
Proxy objects allow you to use another image as the source of an image.
Essentially allowing the same object to be rendered multiple times.  One
object (the source) is the original, each additional 'copy' is an image with
evas_object_image_source_set.

This is complete.

Also add partially working arbitrary maps, and arbitrary clipping.
Unfortunately both have some issues yet to be resolved (waiting on the next
feature to get merged together).

SVN revision: 56777
2011-02-06 23:52:17 +00:00
Carsten Haitzler 1b89a7ac5f change map points to use double and floats to reduce perspective
correction adjustment seams in gl engine. almost all gone.



SVN revision: 56180
2011-01-16 07:49:49 +00:00
Carsten Haitzler 1a857abf6d useless statements--
SVN revision: 56179
2011-01-16 06:58:38 +00:00
Carsten Haitzler f9277782e7 ooh map bug! bug bug bug! fix! (thanks valgrind)
SVN revision: 55826
2011-01-03 10:12:17 +00:00
Cedric BAIL 44d8edfc0f * evas: fix typo.
SVN revision: 55559
2010-12-15 10:40:57 +00:00
Cedric BAIL 36e4de5f51 * evas: notice object change on map color change.
SVN revision: 55335
2010-12-06 22:28:38 +00:00
Carsten Haitzler 348f454537 well that improves map a bit! less overdraw! :) and 1 bug fixed. still
1 left.



SVN revision: 52727
2010-09-25 06:19:30 +00:00
Carsten Haitzler 011b2ce822 brutally evil... internally.. but it works. map perspective correct
now in gl engine. hooray for that. one complaint less.



SVN revision: 52566
2010-09-22 06:52:28 +00:00
Gustavo Sverzut Barbieri e37c1c7a0a cleanup: fix some "unused" errors from -Wextra.
As we're heading for a release we better remove as much errors as
possible and as the first step I'm removing warnings due unused
parameters, variables and functions. These tend to pollute real errors
spotted by -Wall and clang/llvm.

This does not fixes all, just the clear that could be set to
__UNUSED__, particularly to do (and I'd like some help from the
authors):

 * src/lib/engines/common/evas_font_{draw,query}.c (tasn):
   intl_props is just used while doing BIDI, but also used in other
   #ifdef blocks :-/

 * evas_map_* (raster):
   huge amount of warnings, code is quite confusing and thus I'm not
   touching it. I have no idea whenever the commented blocks or extra
   parameters are intended to be used or no.

 * src/modules/engines/fbevas_fb_main.c (raster?):
   is fb_setvt() to be used? If not do you mind removing it?

 * src/modules/engines/gl_{common,x11} (raster):
   huge amount of warnings, code is quite nested and full of #ifdefs
   that does not help to give a clear picture of what's going on.

 * src/bin/evas_cserve_main.c (raster):
   I could have ignored most of the errors, but is the code correct? I
   mean, there is no unload of images being applied. If you confirm
   none of those warnings are harmful I can flag them as unused.

 * src/lib/engines/common_8 (dottedmag):
   lots of unused functions that were acquired from common_16, they
   are unused and if they will not, then they should be removed.



SVN revision: 52421
2010-09-18 19:17:41 +00:00
Lucas De Marchi 08055d63b9 trivial: spelling in documentation
Some misspellings found in doxy.



SVN revision: 52326
2010-09-15 20:40:51 +00:00