Commit Graph

15324 Commits

Author SHA1 Message Date
Carsten Haitzler a4bb9db2fa hmm gles doesnt have internal format fetching.
SVN revision: 64253
2011-10-21 12:03:41 +00:00
Carsten Haitzler a9cee095f1 and NOW fix obscure object handling properly.
SVN revision: 64252
2011-10-21 10:25:35 +00:00
ChunEon Park 47592b586f evas/evas_inline - indent!
SVN revision: 64251
2011-10-21 10:10:47 +00:00
Carsten Haitzler f8f5ad72ef note on detecting texture alloc fail. need to percolate that back
SVN revision: 64250
2011-10-21 10:03:17 +00:00
Carsten Haitzler ed5360c648 and disable invalidate optimization
SVN revision: 64249
2011-10-21 10:00:03 +00:00
Carsten Haitzler f95a1783a7 debug for future. for now found the problem.
SVN revision: 64248
2011-10-21 09:59:13 +00:00
ChunEon Park 40a6a331bb evas/evas_events - trivial changes
SVN revision: 64247
2011-10-21 09:53:26 +00:00
Carsten Haitzler 11409eb48e have evas engine also to update rect math so we can exclude useless
updates when obscured objects change



SVN revision: 64246
2011-10-21 08:58:00 +00:00
Carsten Haitzler 1541b0e97e add call to get maximum image size (eg max texture size)
SVN revision: 64244
2011-10-21 08:17:14 +00:00
Carsten Haitzler f63b1d9ecd if image biger than max texture size... report allocation errors.
SVN revision: 64241
2011-10-21 06:10:15 +00:00
Carsten Haitzler 4587fbb802 nicer formatting of async events
SVN revision: 64240
2011-10-21 05:50:05 +00:00
Carsten Haitzler 37e2ab21c1 ecrustify on ecore-x.
SVN revision: 64239
2011-10-21 05:40:59 +00:00
Carsten Haitzler 58cbf16625 ran ecrustify on ecore. some manual fixing too.
SVN revision: 64238
2011-10-21 05:40:39 +00:00
Carsten Haitzler 8893a9ff35 ran ecrustify on eet. this seems to do a good job of eet. comments?
SVN revision: 64237
2011-10-21 05:40:01 +00:00
ChunEon Park a331fe3bca evas/evas_events.c - removed duplicated lines
SVN revision: 64198
2011-10-20 12:21:41 +00:00
ChunEon Park 0d616af28e evas/evas_events - removed useless lines since we support multi downs
but looks bad to keep the only one point in evas. 



SVN revision: 64197
2011-10-20 11:02:22 +00:00
Carsten Haitzler ff45aac69d lets have envrionment var control over semisync in ecore-evas
SVN revision: 64191
2011-10-20 06:39:03 +00:00
Vincent Torri 5b3f0a5e09 Ecore: do not enter po/ if --disable-nls is passed to configure
SVN revision: 64183
2011-10-19 17:21:33 +00:00
Cedric BAIL e40386c4f9 eina: fallback for case where file system doesn't handle MAP_HUGETLB properly.
SVN revision: 64181
2011-10-19 16:09:14 +00:00
Carsten Haitzler a396da70de we dont need the dirty at the end either.
SVN revision: 64173
2011-10-19 09:50:55 +00:00
Cedric BAIL 096a42cedd emotion: destroy all created object.
SVN revision: 64172
2011-10-19 09:42:05 +00:00
Jaehwan Kim bda33541cf From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] change rel1.to to default when using group
inherit

When using group inherit, if rel1.to is set in parent group, we cannot change the part name 
of rel1.to to default (the default is that dont have the part name) in child group.
So I changed edje_cc_out.c. After patching, we can change rel1.to to
default by using "". (ex > rel1.to: "";)



SVN revision: 64171
2011-10-19 09:41:17 +00:00
Jiyoun Park 0028add9c6 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Add scale down decoding feature to evas png loader

I add scale down decoding feature to evas png loader. 5515X3986 size png image need 80~90M memory, 
but scale down(scale num=2) option can reduce memory to 25~30M.

I use down sample method for scale down. 
(there is more efficient algorithm for scale down, I'll add this to my
todo list)



SVN revision: 64170
2011-10-19 09:04:34 +00:00
Cedric BAIL 519750e778 evas: simplify code at the same time.
SVN revision: 64169
2011-10-19 09:04:18 +00:00
Carsten Haitzler 6f3529fe65 nono - we dont dirty images when we set data...
SVN revision: 64168
2011-10-19 08:59:29 +00:00
ChunEon Park 07e6862922 eina/stringshare - get rid of white space
SVN revision: 64165
2011-10-19 08:36:42 +00:00
Jiyoun Park a1e7fa3103 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: Re: [E-devel] [Patch] Implement scale down decoding feature of bmp loader

I implement scale down decoding feature of bmp loader using down sample algorithm.
Desktop have low risk to go wrong memory problem during big image decoding, 
but mobile device is different.

Raster said it is life (meet memory problem during big image decoding),
and it is enough to return decoding fail.

But I think it seems a bit harsh, because 2 or 3 bmp image (5000X5000 size: for example) 
can cause application close because of memory lack.   



SVN revision: 64163
2011-10-19 06:36:28 +00:00
Tom Hacohen eca175dbe5 Evas font: Oops, hb_fonts should be per font instance, not source.
SVN revision: 64144
2011-10-18 09:58:49 +00:00
Jiyoun Park bfbd9abf9d From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] modify gl engine's animated function
related with cache entry

I modified the gl engine code related with animated images
This is very trivial.  Evas image object passes images to the engine. 
In the software engine, it is a cache entry , but in the GL engine, it is 
an Evas_GL Image. So I modified the gl engine code to get the cache entry
from the gl image.



SVN revision: 64143
2011-10-18 09:10:26 +00:00
Carsten Haitzler f1bdb3a902 for now - revers eumni touch events patch until we get press state
"getter" api patch. :)



SVN revision: 64140
2011-10-18 08:32:03 +00:00
Sung W. Park c1cc0a7ed2 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: Re: [E-devel] [E-Devel][Review][Patch] Evas GL Extensions + a
bug fix


Here's an initial attempt at the GL extensions issue for Evas GL.

I have been in discussion with a few EFL developers regarding how we should
provide extensions.  Essentially, there are two ways to go about doing this.

1. provide evas_gl_proc_address_get() function as it is done in other
glue layers

2. provide all the extension functions in the EVAS_GL_API struct.

#1 approach is how it's done in other glue layers and the driver implementor can
provide new extensions easily.  It is however pretty annoying to get the
function prototypes right and use the function pointers and etc.

#2 approach provides all the extension functions in the struct so it's
definitely easier to use.  Adding new extensions can be a pain as people may
have to wait for new version releases.

For now, we thought it was OK to just throw them in the struct as in
#2 and try it out.  So, I've implemented this approach.  As for the extensions,
I've basically included all the extensions in gl2ext.h as EvasGL currently
provides all the GLES 2.0 functions.   In order to display the right
information, I had to override glGetString() with GL_EXTENSIONS as parameter to properly
display the supported extensions.

Also, I've added a few EGL extensions that have been
modified for EvasGL use.  For example, eglCreateImage/eglDestroyImage has been
defined as folllows.

   EvasGLImage  (*evasglCreateImage) (int target, void* buffer, int*
                                         attrib_list); void
                                            (*evasglDestroyImage)
(EvasGLImage image);

const char *evas_gl_string_query() function was added to return a string of
supported EvasGL extensions.  So essentially, a user can search this string to see
if the desired extension is supported.  if it is, he can use the functions.  He can
always check if the function pointers are NULL as well.

Take a look at the pach and let me know what you think.

______________

While I was adding the extension code, I've added a few fixes/ changes
to the EvasGL.

1. glDeletBuffers bug
- When I wad destroying evasgl context, I was deleting the context FBO with
glDeleteBuffers instead of glDeleteFramebuffers. This code in effect was
deleting BOs in other contexts and we had some funky behaviors as a
result.  The
bug has been fixed.

2. make_current
- I've made some changes to the make current code and also added a resource
context to the engine data.  the resource context is used for creating surface
texture/ fbos when surface/ context is created.  Before, i was using evas'
context but thought it'd be a good idea to use a separate context.



SVN revision: 64139
2011-10-18 08:13:23 +00:00
Boris Faure d718ad4713 efreet: typos
SVN revision: 64137
2011-10-17 20:29:25 +00:00
Tom Hacohen 4906d50afc Evas font: Cache Harfbuzz font structure for fonts we use.
SVN revision: 64136
2011-10-17 14:24:49 +00:00
Tom Hacohen 387bff89fb Evas textblock: Beautify the DRAW_FORMAT_DASHED macro a bit.
Patch by Shilpa Singh.

SVN revision: 64135
2011-10-17 12:18:57 +00:00
Tom Hacohen 58602fb861 Revert "evas: Deal with harfbuzz API breakage"
Sorry mate, but they broke API without bumping version, that's why I
didn't do this myself. You should probably add your version of harfbuzz.

This reverts commit 64057.

SVN revision: 64134
2011-10-17 12:18:53 +00:00
Tom Hacohen f1f954185a Evas textblock: Cleaned up DRAW_FORMAT/_DASHED macros.
Fixed compiler warnings.

SVN revision: 64132
2011-10-17 10:43:42 +00:00
Tom Hacohen ea9f23ad28 Evas textblock: Added dashed underline support.
Patch by Shilpa Singh

SVN revision: 64131
2011-10-17 10:43:08 +00:00
Carsten Haitzler be90232bc0 match changes in ews code
SVN revision: 64126
2011-10-17 07:00:38 +00:00
Carsten Haitzler 210c5a9377 handle buffer allocation failure - null buffer.
SVN revision: 64125
2011-10-17 06:59:08 +00:00
Vincent Torri 1a3e8eaa94 Ecore: fix maintainer-clean rule
SVN revision: 64124
2011-10-17 06:56:04 +00:00
Carsten Haitzler 46f9ad78bb sorry. we can't depend on svnrev in versions. wish we could. we can't :(
SVN revision: 64121
2011-10-17 05:22:08 +00:00
Sung W. Park fef1dc318f From: "Sung W. Park" <sungwoo@gmail.com>
"... I've created a resource context per thread using TLS.  Since there is no
TLS support in Eina, I've added 4 APIs for that as well.  Another patch has
been submitted but i'll just include it in here as well. ..."
   


SVN revision: 64120
2011-10-17 05:06:01 +00:00
Mike Blumenkrantz 7c683d0b0c require recent eina
SVN revision: 64115
2011-10-16 15:45:28 +00:00
ChunEon Park ba1bd2a8a1 ecore/animator - never be reached there
SVN revision: 64101
2011-10-16 04:47:42 +00:00
Boris Faure 0d53d91b67 eina: add eina_strbuf_trim/rtrim/ltrim()
SVN revision: 64098
2011-10-15 12:56:27 +00:00
Youness Alaoui 93d79aa509 Evas: Check for dlsym and disable gl engines if not found
SVN revision: 64091
2011-10-15 09:31:04 +00:00
Youness Alaoui 84e9551521 Ecore: IN6_IS_ADDR_V4MAPPED needs an in6_addr as input on OSX
SVN revision: 64090
2011-10-15 09:30:58 +00:00
Youness Alaoui 74c3fe766e Evas: Remove a useless ifdef that was causing dead code.
You can't compile a gl_common .c file based on whether or not the SDL
header was included. The .c file will result in only one .o and since
the Evas_Engine_Sdl.h is not included by evas_gl_context.c itself, then
that ifdef will never be true.
gl_common should request a callback function pointer from the evas engine
for doing symbol resolution. This needs a refactor.

SVN revision: 64086
2011-10-15 09:30:33 +00:00
Carsten Haitzler 4866f72938 commit changes and notes for matrchnig multitouch xcb stuff
SVN revision: 64082
2011-10-15 03:34:01 +00:00
Carsten Haitzler 194df9ef24 for gustavo -> ews matching changes.
SVN revision: 64081
2011-10-15 03:19:25 +00:00
Christopher Michael 3bb739d7fa Evas: Fix compiler warnings wrt uninitialized variables.
SVN revision: 64079
2011-10-15 01:02:55 +00:00
Carsten Haitzler d45161691a and now make my modifications to multittouch this morning also work
again with mpx automatically. yay!



SVN revision: 64071
2011-10-14 09:11:49 +00:00
Carsten Haitzler ee158e76fc 1. make inline image ee buffer non-alpha by default. thats the default
for all eee's. this was wrong.
2. make sure it sets back data when finished - check data in and check
it out.



SVN revision: 64069
2011-10-14 07:28:45 +00:00
Carsten Haitzler 57e5fd31d1 put in hardcoded bitmask define if headers dont provide it.
SVN revision: 64068
2011-10-14 07:23:09 +00:00
Cedric BAIL 534acda075 emotion: work with older version of gstreamer.
SVN revision: 64058
2011-10-14 04:01:43 +00:00
Mike McCormack 2d4cd8058a evas: Deal with harfbuzz API breakage
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64057
2011-10-14 02:52:50 +00:00
Carsten Haitzler bf1b8531b7 support slave pointer and try not to kill mpx support.
SVN revision: 64056
2011-10-14 02:32:34 +00:00
Cedric BAIL 7e30dac83a emotion: use Ecore_X Video Atoms.
SVN revision: 64048
2011-10-13 09:24:45 +00:00
Cedric BAIL e2d8b7892d evas: only draw the hole when it's needed.
SVN revision: 64047
2011-10-13 09:23:42 +00:00
Cedric BAIL c26c5b6fa2 ecore: define Video XAtoms.
SVN revision: 64041
2011-10-13 07:41:55 +00:00
Mike McCormack 3e0c2d16dc eina: Hook clist into the top level documentation
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64039
2011-10-13 07:30:34 +00:00
Mike McCormack 8ab7dd7390 eina: Document Eina_Clist
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64038
2011-10-13 07:06:54 +00:00
Mike McCormack f7d3373df8 eina: Fix bug in eina_clist_element_init
Thanks to Naruto TAKAHASHI for pointing out the problem.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64037
2011-10-13 07:06:44 +00:00
Vincent Torri ce2cb9d8bf Evas: faster "lround"
SVN revision: 64036
2011-10-13 06:55:12 +00:00
Carsten Haitzler 3a59f00292 round negatives right.
SVN revision: 64035
2011-10-13 06:36:22 +00:00
Carsten Haitzler ff8767dbb4 lets just fal back to "stoopid" mode rounding for non-lround platforms
SVN revision: 64033
2011-10-13 06:15:28 +00:00
Mike McCormack ee5446fb13 evas: Use clists to store the render recalculation list
Rather than trying to avoid removing the list element that is
currently being processed, keep two lists and move elements
to the processed list before recalculating them.

Remove items from the list head only, and always append them
to the tail.

Use the fact that an item can be removed from a clist without
needing to know which list it is in.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64030
2011-10-13 02:22:29 +00:00
Mike McCormack ff34e5a0a9 eina: Add eina_clist_element_is_linked()
Allows checking whether an entry is linked or not.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64029
2011-10-13 02:22:18 +00:00
Carsten Haitzler 850ba388a2 oooh bad memory pointer handling as part of group inheritance (part
overriding) patches....!!!!! fix!



SVN revision: 64028
2011-10-13 00:09:04 +00:00
Carsten Haitzler ab7d9bdd84 fix use of invalid program id IF viewport changed - also disable
GLERR. this can really hurt performance.



SVN revision: 64027
2011-10-12 23:22:26 +00:00
Youness Alaoui f139d93896 Ecore: Update changelog with 09/29 changes to ecore-con
SVN revision: 64025
2011-10-12 19:41:30 +00:00
Vincent Torri 3859b0ea96 Evil: simplify evil_wchar_to_char()
SVN revision: 64023
2011-10-12 18:50:11 +00:00
Carsten Haitzler 4d5b4b2f24 fix gl pipeline problem with textures and map and the wrong program id
being set/restored.



SVN revision: 64014
2011-10-12 10:27:17 +00:00
Carsten Haitzler 6412cc1358 fixme--
SVN revision: 64013
2011-10-12 10:15:35 +00:00
Carsten Haitzler f543d932c4 segv over there in xlib ecore_x... suddenly... in a test app.
SVN revision: 64012
2011-10-12 09:26:09 +00:00
Mike McCormack dd51737725 eina: Add Eina_Clist
A clist is an inlist with the following features:

 - allows removal of items without knowing which list they are in.
 - Two pointers per list item & list head

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64007
2011-10-12 04:39:27 +00:00
Carsten Haitzler a7adef691a more sse3 bugs!
SVN revision: 64006
2011-10-12 03:28:53 +00:00
Carsten Haitzler 9e62992fe8 make more bug notes.
SVN revision: 64005
2011-10-12 02:59:44 +00:00
Carsten Haitzler 23df774e8d all vert shaders always highp on gles.
SVN revision: 64004
2011-10-12 02:54:06 +00:00
Bruno Dilly 220e9e7a66 Ecore exe: check for prctl header instead of OS
Suggested by vtorri


SVN revision: 63987
2011-10-11 18:19:37 +00:00
Carsten Haitzler b531487495 some nasty hackery to get affine transform mapping to be "pixel
perfect" with 90 degree rotations. i really should have actually
special cased them, for for now i made the generic routine try and punt
out the right numbers.



SVN revision: 63986
2011-10-11 12:32:21 +00:00
Carsten Haitzler 2cf202ff51 disable buggy sse3 routine! test showed it in ello.
SVN revision: 63985
2011-10-11 11:51:54 +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 2c08cfa53c add env var to disable compositor syncing for testing
SVN revision: 63979
2011-10-11 06:18:13 +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
Carsten Haitzler 0bfb70e48e oops - typo.
SVN revision: 63967
2011-10-11 01:51:49 +00:00
Sebastian Dransfeld 33c929baa8 ecore/ecore_con: Remove the other while multi
SVN revision: 63962
2011-10-10 17:51:34 +00:00
Carsten Haitzler 7597814df2 adapt to SEC direct texture access changes for the last time.
SVN revision: 63959
2011-10-10 10:08:29 +00:00
Carsten Haitzler 11917747d0 try and fix post with null data?
SVN revision: 63956
2011-10-10 09:37:30 +00:00
Carsten Haitzler e5756206b7 this should fix curl support from hacning for up to 0.7* 1/fps sec on
1 or more calls and even in idlers etc. only do it once then rely on
fd's to wake up and do it again.



SVN revision: 63955
2011-10-10 09:36:56 +00:00
ChunEon Park af25636ab8 evas/evas_events - trivial changes
SVN revision: 63953
2011-10-10 08:52:08 +00:00
Carsten Haitzler 371874381b and actually always apply border_scale_by directly as-is even if
border_scale is not set.



SVN revision: 63944
2011-10-10 07:58:14 +00:00
Carsten Haitzler f18d4de8d5 add border_scale_by that adds another scaling factor for border
scaling. use it as a way of super-sampling borders (eg use 0.5 to use
2x over-sampling, 0.25 for 4x oversapling etc.)



SVN revision: 63938
2011-10-10 05:53:02 +00:00
Mike McCormack 74c07498f9 edje: Add a --no-save option to edje_cc
Some people don't want to reveal their edc files...

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63937
2011-10-10 02:49:50 +00:00
Vincent Torri 06a765d5a1 Evas: big mistake in efl_attribute.m4. My bad
SVN revision: 63935
2011-10-09 19:28:40 +00:00
Vincent Torri ac14342f6e Eina: big mistake in efl_attribute.m4. My bad
SVN revision: 63934
2011-10-09 19:27:08 +00:00
Vincent Torri 50cfcfc323 Evas: Add GL_EET_CFLAGS tp CPPFLAGS so that Eet.h is found. Patch by JGMiller, fix ticket #874
SVN revision: 63922
2011-10-08 07:16:36 +00:00
Carsten Haitzler 2f674f7059 be quiet about the EEK.
SVN revision: 63921
2011-10-08 05:33:47 +00:00
Carsten Haitzler 6fd17b839d Commit Neil's patch reported here:
http://trac.enlightenment.org/e/ticket/880



SVN revision: 63920
2011-10-08 04:58:57 +00:00
Carsten Haitzler 4e4e7a03a4 fix cedric's nv12 shader! it worked by luck only. tex_y -> tex_c in
vert shdr



SVN revision: 63918
2011-10-08 03:04:16 +00:00