Commit Graph

5229 Commits

Author SHA1 Message Date
Carsten Haitzler 3306dce0c7 useless clip setting in ctx as it's reset a few lines later.
SVN revision: 66271
2011-12-16 07:20:12 +00:00
Carsten Haitzler 6fd0ee9262 fix map clip issue that shows up in buffer engine.
SVN revision: 66270
2011-12-16 07:04:00 +00:00
Tom Hacohen f51c8f7fc3 Evas liblineabreak: Include the wordbreak headers.
SVN revision: 66264
2011-12-15 22:27:59 +00:00
Tom Hacohen 3e2f474ef8 Evas textblock: Use macros for the unicode chars/strings.
1. Make Obj replacement and Par Sep less confusing.
2. We'll may, at some point, use the Unicode NewLine char instead of \n.
so it's now easily replaceable.

SVN revision: 66255
2011-12-15 13:03:43 +00:00
Tom Hacohen 0e0a275762 Evas textblock: Improved the implementation of *_text_markup_to_utf8.
Also support passing NULL instead of a real textblock object.
Added appropriate tests + improved previous tests.

SVN revision: 66254
2011-12-15 12:40:29 +00:00
ChunEon Park 0c0a34fbd9 evas - simplified instructions
SVN revision: 66248
2011-12-15 09:56:25 +00:00
ChunEon Park 5db2c421b8 evas - removed unnecessary comments
SVN revision: 66246
2011-12-15 09:40:07 +00:00
ChunEon Park 6503e28812 evas - use EINA_TRUE/FALSE
SVN revision: 66244
2011-12-15 09:36:51 +00:00
Jiyoun Park 36e658e20a bug fix related with evas event counter
currently evas_object_event_callback_call checks _evas_event_counter 
for preventing object's callback called several times in one evas event.

but it use global variable(_evas_event_counter), it can be changed while
procssing same event. 

for example , evas_event_feed_mouse_up. 
If there are several object in e->pointer.object.in and object 1's callback
create new evas event, object 2 cannot now event id.
so I change callback call api, and object callbacks can decide wheather it deal with that event.


SVN revision: 66234
2011-12-15 06:23:53 +00:00
Jiyoun Park 69a659fbb8 remove white space
SVN revision: 66233
2011-12-15 05:56:19 +00:00
Jiyoun Park c86d47ae59 remove white space
SVN revision: 66232
2011-12-15 05:25:37 +00:00
Christopher Michael cbbe439629 Evas: Gl_X11: Fix typo? for __UNUSED__ param.
SVN revision: 66224
2011-12-14 18:52:42 +00:00
Christopher Michael 0fccea0dee Evas: Add a Wayland Shared Memory engine (similar to the buffer &
framebuffer engines). Add Evas framespace set/get functions.



SVN revision: 66223
2011-12-14 18:44:20 +00:00
Christopher Michael b3d6859de5 Evas: Software_Generic: Fix typo? for __UNUSED__.
SVN revision: 66222
2011-12-14 18:27:29 +00:00
Tom Hacohen bdab64acae Evas textblock: Added evas_textblock_text_utf8_to_markup.
SVN revision: 66197
2011-12-14 15:04:03 +00:00
Tom Hacohen 4d61bb8329 Evas textblock: Fixed a couple of issues caused by previous commits.
SVN revision: 66194
2011-12-14 13:43:13 +00:00
Tom Hacohen 285aa1b323 Evas textblock: Updated changelog.
SVN revision: 66192
2011-12-14 13:27:18 +00:00
Tom Hacohen c856f86a1f Evas textblock: Made 'br' and 'tab' default tags.
SVN revision: 66191
2011-12-14 13:27:15 +00:00
Tom Hacohen b794e7ff8e Evas textblock: Added support for default tags.
This is useful for defining default tags that can be overridden by style.
For example <b> and <i>.

SVN revision: 66190
2011-12-14 13:27:12 +00:00
Tom Hacohen db2c0ee7e9 Evas tests: Fix textblock text according to function change.
SVN revision: 66189
2011-12-14 13:27:08 +00:00
Cedric BAIL f86908dc15 evas: use Eina_File for wbmp code and fix a potential race condition at the same time.
SVN revision: 66187
2011-12-14 11:17:09 +00:00
Cedric BAIL 54d52f9c43 evas: move space around.
SVN revision: 66185
2011-12-14 10:15:57 +00:00
Cedric BAIL b2c5fede71 evas: update ChangeLog and NEWS.
SVN revision: 66184
2011-12-14 10:03:45 +00:00
Cedric BAIL 565152cee8 evas: use Eina_File for pmaps.
SVN revision: 66183
2011-12-14 09:53:25 +00:00
Tom Hacohen ba3094581d Evas textblock: Renamed *markup_to_plain to *text_markup_to_utf8.
This should conform better to evas and what the function does.

SVN revision: 66182
2011-12-14 09:52:02 +00:00
Cedric BAIL 185ae85db4 evas: fix ico loader use of Eina_File.
SVN revision: 66181
2011-12-14 09:14:27 +00:00
Michael BOUCHAUD f3d4c1b249 evas: ooops
SVN revision: 66171
2011-12-13 17:00:43 +00:00
Michael BOUCHAUD 33eb1e5e79 evas: Add api to know if an evas_object_image could support region
SVN revision: 66170
2011-12-13 16:58:20 +00:00
Tom Hacohen c110802aa6 evas: Fixed svn detection for svn1.7
SVN revision: 66147
2011-12-13 08:53:37 +00:00
Tom Hacohen e34b9dd93c Evas linebreak: Fix wordbreak bug when there are chars < 0x0A.
The binary search used unsigned indexes which didn't work well in
that scenario (would have gotten to -1).

SVN revision: 66137
2011-12-13 07:32:56 +00:00
Carsten Haitzler 0434ce6574 * Fix grab count negative values if you do weird combinations of
press and release with multiple fingers or multiple mouse
        buttons.
        


SVN revision: 66134
2011-12-13 05:59:36 +00:00
Cedric BAIL 8b22f52e80 evas: use Eina_File for ico loader.
SVN revision: 66120
2011-12-12 17:48:53 +00:00
Tom Hacohen 4e29867a30 Evas textblock: Implemented cursor_word_start/end
SVN revision: 66119
2011-12-12 15:25:46 +00:00
Tom Hacohen f147928c84 Evas liblinebreak: Added the wordbreak support.
Will send it upstream soon. My tests worked, but they are far from
complete. Probably needs more complete testing.

SVN revision: 66118
2011-12-12 15:25:39 +00:00
Cedric BAIL f4ea278a71 evas: less warning.
SVN revision: 66115
2011-12-12 13:42:24 +00:00
Cedric BAIL 793caf7faa evas: use Eina_File for accessing BMP file.
SVN revision: 66114
2011-12-12 13:39:35 +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
Mike Blumenkrantz 5eeae75b21 fix annoying spankies
SVN revision: 66077
2011-12-10 07:21:53 +00:00
Jaehwan Kim e8a3c54734 add EAPI. Maybe it is missed.
SVN revision: 66061
2011-12-09 07:55:31 +00:00
Tom Hacohen 346e25b031 Evas textblock: Added evas_textblock_markup_to_plain.
This function converts a textblock markup to plain text.
It converts for example <br/> to \n and a lot more.

SVN revision: 66034
2011-12-08 15:12:25 +00:00
Tom Hacohen a0fa810e82 Evas: Updated NEWS file.
SVN revision: 66032
2011-12-08 13:45:09 +00:00
Tom Hacohen 4fc5a77e1d Evas: Updated changelog to include latest textblock changes.
SVN revision: 66031
2011-12-08 13:39:31 +00:00
Cedric BAIL c05f9ebabc evas: use the right message command when usefull.
SVN revision: 66030
2011-12-08 13:29:02 +00:00
Tom Hacohen 0ec467892d Evas textblock: Support self-closing formats, i.e <br/>.
Also updated tests to follow this. Using <br>, although will work, is
discouraged, please use <br/> instead.

SVN revision: 66023
2011-12-08 12:05:56 +00:00
Tom Hacohen 7f8dca2fda Evas textblock: Improve internal handling of formats.
SVN revision: 66022
2011-12-08 12:05:47 +00:00
Carsten Haitzler 70b6239ec3 disable sse3 if immintrin.h not found.
SVN revision: 65980
2011-12-07 00:10:36 +00:00
Cedric BAIL b7a86e79e0 evas: less unused warning.
SVN revision: 65963
2011-12-06 16:08:30 +00:00
Cedric BAIL dfe1ef0fc6 evas: include stdlib.h as required.
SVN revision: 65962
2011-12-06 16:07:59 +00:00
Christopher Michael 9935288eaa Evas (gl engine): Remove incorrect __UNUSED__ on paramaters that are
actually used.



SVN revision: 65928
2011-12-06 00:44:25 +00:00
Cedric BAIL 6bb99f243c evas: don't randomly move code around !
SVN revision: 65916
2011-12-05 16:50:40 +00:00
Mike Blumenkrantz 580ee6e6ac same for these
SVN revision: 65913
2011-12-05 15:39:04 +00:00
Mike Blumenkrantz ca4485f21d always have the file which includes config.h first!
SPANK SPANK SPANK cedric!


SVN revision: 65912
2011-12-05 15:38:55 +00:00
Cedric BAIL ad7e82bae0 evas: use already existing macro.
SVN revision: 65906
2011-12-05 14:32:10 +00:00
Cedric BAIL 8c2e7f7b87 evas: use eina_lock a little bit more.
SVN revision: 65904
2011-12-05 14:01:42 +00:00
Cedric BAIL 792e7bffed evas: more fine grained system detection.
SVN revision: 65903
2011-12-05 14:00:53 +00:00
Cedric BAIL 1c70650afc evas: cast as we did in eina.
SVN revision: 65902
2011-12-05 13:59:44 +00:00
Carsten Haitzler 6865d04e5e chlog++
SVN revision: 65897
2011-12-05 09:47:49 +00:00
Carsten Haitzler c75637b6bf remove warnings!
SVN revision: 65896
2011-12-05 09:26:04 +00:00
Carsten Haitzler e477ff0629 remove warning - bug ready to happen with fastpath. didnt pass
sharedlist or direct down.



SVN revision: 65895
2011-12-05 09:18:05 +00:00
Carsten Haitzler 9f5a8809c7 fix gles/egl bugs/issues in sungwoo's new patch
SVN revision: 65894
2011-12-05 09:05:04 +00:00
Carsten Haitzler 5967841988 I'm attaching a patch for the initial version of the GL Fastpath
addition to evas gl backend.

Working on different mobile devices, we've noticed that the cost of context
switch (MakeCurrent) in GL can be very expensive depending on the driver
implementation.  To minimize the poorly written driver's context switch
overhead, I've implemented a state tracking layer on top of the driver
implemented GL.

Essentially, this layer wraps all the GL/Glue(GLX/EGL) APIs and manages its own
state changes.  Internally, only one real GL context is created and logical
contexts are created every time a user requests context creation.  The logical
contexts keep track of its states and sets only the necessary states
(the ones that are different than the current ones)
when there is a MakeCurrent request.  The real MakeCurrent gets called when
there is a Surface/Window change request.

The GL library is dlopened and all the APIs are dlsym'ed and wrapped
accordingly.  All the GL functions are in evas_gl_core.{h,c}.

Here's a very simply flow of the code.
   - all the APIs are exported as function pointers (*glsym_glBegin),
     (*glsm_eglCreatContext), and etc.
   - all the native GL/Glue(GLX/EGL) APIs are dlsym'ed as _sym_glBegin,
     _sym_eglCreateContext, and etc.
   - all the fastpath APIs are implmemnted as fpgl_glBegin,
     fpgl_eglCreateContext, and etc.
   - if faspath is seletected, the exported APIs are set accordingly
     ie. glsym_glBegin = fpgl_glBegin;
   - default mode is the regular gl symbols are directly set.
     ie. glsym_glBegin = _sym_glBegin;
             
I have an Environment variable where you can set it to three different Modes

EVAS_GL_FASTPATH = 0    // Default mode. Regular GL symbols are directly loaded
EVAS_GL_FASTPATH = 1    // Fastpath mode. Takes the path described above.
EVAS_GL_FASTPATH = 2    // Wrapped mode.  All the regular GL functions are
                           wrapped once.  This can be used for various
purposes

Since all the GL symbols are now loaded in this library, I took out all
the gl symbol loading parts in the evas gl backend as you'll see in the patch.
The changes to the engine and the backend itself is pretty minor.

There are still some known issues to hammer out but I thought we're at a good
place for an initial version so that my source doesn't diverge too much.

Known Issues and To Do's
* Current GL Fastpath version doesn't support multiple threads. Instead of
  having one global real context, I would need to do it for each thread. I'll
  get on this soon.
  
  * Issues running Evas GL on certain conditions.  When running the elementary
  test (with gl engine), if you run ELMGLview test that runs in ON_DEMAND mode,
  everything works fine. BUT, when you run the ELMGLView test in ALWAYS
    mode, the subsequent elm tests shows blank screen. When you destroy the
  GLView window, everything else comes on fine.
  
  * Resource protection code.  This actually applies to Evas GL code in general
  as well. Since all the resources are shared among all the contexts that get
  created, I would like to eventually have a resource protecting mechanism that
  prevents access to resources outside of its context unless specifically
  specified.
  
  I'm attaching three files
     - evas_gl_core.h, evas_gl_core.c, fastpath.patch
     
  To get the code running...
     - copy evas_gl_core.{c,h} to src/modules/engine/gl_common/
     - apply the fastpath.patch
     - compile/install evas
     - to run with fastpath GL (ie. % EVAS_GL_FASTPATH=1 ./evasgl_sample1)



SVN revision: 65891
2011-12-05 08:54:14 +00:00
Mike Blumenkrantz 96f572f8b3 add a newline before api link
SVN revision: 65865
2011-12-04 04:29:55 +00:00
Carsten Haitzler ac4c70ab7b fix changelogs to mention release.
SVN revision: 65860
2011-12-04 01:56:31 +00:00
Carsten Haitzler f834ab3e12 re-enable evas_gl for trunk dev
SVN revision: 65841
2011-12-03 14:15:14 +00:00
Carsten Haitzler 4797954c4d and now go to normal-like svn revs
SVN revision: 65806
2011-12-02 09:45:25 +00:00
Carsten Haitzler e51c9a6705 revert my 1.x.99 stuff so i can branch.
SVN revision: 65803
2011-12-02 09:32:11 +00:00
Carsten Haitzler b90b289063 and lets bump on to 1.x.99 (or so) for svn... and back to adding snap
rev.



SVN revision: 65802
2011-12-02 09:10:56 +00:00
Rafal Krypa 20896e3c14 From: Rafal Krypa <r.krypa@samsung.com>
Subject: Fix Neon build with Thumb-2

    In assembly part of function evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90:
    Don't use 3-operand add instructions (e.g. add r2, r5, #2) as this is
    not supported in unified syntax.
    


SVN revision: 65768
2011-12-01 10:00:44 +00:00
Carsten Haitzler ef98c28a61 2 functions had pure specified when it shouldn't be for those.
SVN revision: 65635
2011-11-28 05:37:41 +00:00
Christopher Michael f0b80715e4 Evas: Add missing __UNUSED__ in buffer engine.
SVN revision: 65614
2011-11-27 16:27:02 +00:00
Carsten Haitzler b2bbceff4b Fix repeat event inheritance from parent smart just like
pass events are inherited. This was inconsistent.
                


SVN revision: 65574
2011-11-24 13:01:15 +00:00
Carsten Haitzler 9ce2648464 improve the tga fix by not blacklisiting some incorrect tga files that
actually do work normally due to junk in the headers in unused areas.



SVN revision: 65511
2011-11-22 09:20:44 +00:00
ChunEon Park 33b8560d38 evas/evas_object_smart - revert 65482 but more bracket added
SVN revision: 65485
2011-11-21 14:28:54 +00:00
ChunEon Park 4df374b0f4 evas/evas_object_smart - don't need compare each layer
SVN revision: 65482
2011-11-21 10:16:25 +00:00
Mike Blumenkrantz 6662d6ae6e add direct link to header file in api docs
tweet: hey, SeoZ here, I really like Microsoft. I mean REALLY like them. I think they're a fantastic company and I hope everyone uses winmo!


SVN revision: 65469
2011-11-21 05:01:23 +00:00
Vincent Torri b5d99fd6f9 Evas: remove extra parenthesis
SVN revision: 65456
2011-11-20 16:59:01 +00:00
Vincent Torri c1e22d9e5c Evas define BUILD_ASYNC_EVENTS...
SVN revision: 65454
2011-11-20 16:48:02 +00:00
Cedric BAIL 76b2798b5e evas: correct header order.
SVN revision: 65452
2011-11-20 15:17:29 +00:00
Cedric BAIL 2b51e449e7 evas: use Eina_File for a more porable and cleaner code.
SVN revision: 65450
2011-11-20 15:10:05 +00:00
Cedric BAIL 7156816e8a evas: remove warning when fontconfig is disabled.
SVN revision: 65434
2011-11-20 13:55:17 +00:00
Cedric BAIL a1ae7ad174 evas: shutup warning with some configuration option.
SVN revision: 65433
2011-11-20 13:54:03 +00:00
Cedric BAIL 889b6c749f evas: warning--
SVN revision: 65432
2011-11-20 13:52:18 +00:00
Cedric BAIL 546d1e1461 evas: remove wrong non null definition.
SVN revision: 65431
2011-11-20 13:50:27 +00:00
Carsten Haitzler 92dcf51ca8 TGA loader gets fixed alpha decode - real life tga's have
proper alpha values. also reduce false positive tga file
detection



SVN revision: 65411
2011-11-19 15:09:27 +00:00
Vincent Torri 6ae5eeb893 Evas: fix nonnull argument with out-of-range operand number
Patch by Fabien Romano via Jonathan Armani


SVN revision: 65381
2011-11-18 09:23:22 +00:00
Cedric BAIL 84cbdd9a04 evas: video surface can be NULL.
SVN revision: 65379
2011-11-18 08:49:59 +00:00
Mike McCormack 997a3aa756 [evas] Always clear recalc count of items that have been on calc list
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65326
2011-11-17 04:31:43 +00:00
Vincent Torri bc97e65b9c evil >= 1.0.0
SVN revision: 65301
2011-11-16 17:48:50 +00:00
Carsten Haitzler 16d5eb14bb ok - longstanding issue. quality of jpeg encode and decode dropped
quickly when uf your-encoded anything due to using IFAST decoder (and
encoder). this does drop speed for decode and encode (except encoding
< 60% quality where it now uses IFAST), but we don't see progressively
worse artifacts.



SVN revision: 65293
2011-11-16 11:52:36 +00:00
Carsten Haitzler 9e655af267 update release candidate trees to their release version in preparation
for alpha



SVN revision: 65280
2011-11-16 05:34:37 +00:00
ChunEon Park 61655ba055 evas/events - removed events_frozen check in evas_event_passes_through()
in most cases, it is performed twice inside and outside of the function in inefficient way.

and calling of events_frozen in the passes_through() is not understable in the view of functional consistency.

Check is separately would be better.




SVN revision: 65269
2011-11-15 15:10:19 +00:00
ChunEon Park 9614a4027f evas - fixed typo
SVN revision: 65266
2011-11-15 14:16:31 +00:00
Carsten Haitzler df48b430b8 update evas README
SVN revision: 65238
2011-11-15 11:35:35 +00:00
Carsten Haitzler 27705ad95b fix dyn image data return due to change i made a little bit ago
SVN revision: 65159
2011-11-14 09:27:29 +00:00
Carsten Haitzler e6cf094c9d remove internal rect list declarations that are never used outside of
evas_tiler.c



SVN revision: 65145
2011-11-14 07:15:38 +00:00
Cedric BAIL e0df29b4f2 evas: upload the right texture size whatever rounding the hardware require.
SVN revision: 65138
2011-11-13 22:21:58 +00:00
Cedric BAIL 5d07e7691f evas: actually include Evas_GL.h in the tarball, just don't install it.
SVN revision: 65131
2011-11-13 13:10:31 +00:00
Carsten Haitzler 86b8de2f7e update NEWS file format for evas
SVN revision: 65123
2011-11-13 06:15:47 +00:00
ChunEon Park 0bc308dcd7 evas/evas_events - modified unsigned char -> Eina_Bool for some fields in the Evas_Key_Grab structure.
removed white spaces and fixed indent also



SVN revision: 65092
2011-11-12 08:06:30 +00:00
ChunEon Park 6dbe2c7443 evas/evas_event - evas_object_freeze_set for the key events.
SVN revision: 65091
2011-11-12 07:51:58 +00:00
ChunEon Park c5f717d2b0 evas/evas_event - trivial changes
modify indentation to look more clearly. 
use Eina_Bool 



SVN revision: 65089
2011-11-12 07:01:38 +00:00
ChunEon Park d908a5d876 evas - trivial changes.
SVN revision: 65087
2011-11-12 06:12:42 +00:00
Carsten Haitzler 507c8f9edb fill news for evas 1.1
SVN revision: 65060
2011-11-11 12:33:58 +00:00
Vincent Torri f0b1de83cc Evas: we want the opengl cocoa engine only on mac os x
SVN revision: 65059
2011-11-11 09:57:15 +00:00
Carsten Haitzler a4f94d2a09 fix nonnull val in jpeg loader proto.
SVN revision: 65056
2011-11-11 08:11:16 +00:00
Carsten Haitzler 0902d538a4 fix nonnull macro - errant ;
SVN revision: 65055
2011-11-11 08:07:03 +00:00
Carsten Haitzler 34988a54e4 ooh aznd other part of dyn img patch goes in.
SVN revision: 65053
2011-11-11 07:47:25 +00:00
Carsten Haitzler f6b826fde9 oops - typo in dyn image fix. fix!
SVN revision: 65052
2011-11-11 07:43:38 +00:00
Carsten Haitzler dcb34d789b handle refcounting of dyn img data to allow for get, get, set, set
pairs.



SVN revision: 65051
2011-11-11 07:36:15 +00:00
Carsten Haitzler edaeefa288 fix another evas map clip issue! hooray! never ending list!
SVN revision: 65044
2011-11-11 05:56:40 +00:00
Vincent Torri d103ed2551 Evas: use -pthread instead of -lpthread
SVN revision: 65030
2011-11-10 18:14:48 +00:00
Vincent Torri 6483e5c166 Evas: use -pthread instead of -lpthread
SVN revision: 65029
2011-11-10 18:02:43 +00:00
Vincent Torri 120d3d6ce0 Evas: use __always_inline__ and not always_inline
SVN revision: 65028
2011-11-10 17:39:35 +00:00
Tom Hacohen 52ca712a14 Evas font: Fix clang errors.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-09/report-qpiPpZ.html#EndPath

SVN revision: 65019
2011-11-10 12:11:17 +00:00
Jiyoun Park c049c0e12b remove white space and tab
SVN revision: 65009
2011-11-10 08:59:09 +00:00
EunMi Lee 1b00894c58 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch][Evas] Fix wrong location of
_evas_touch_point_remove()

I have a small patch to fix the wrong location of _evas_touch_point_remove().
_evas_touch_point_remove() should be called in the evas_event_feed_mouse_up(),
but it is called in the evas_event_feed_mouse_cancel() in the current code.
Would you apply attached patch?



SVN revision: 65005
2011-11-10 06:25:56 +00:00
Carsten Haitzler f10e5fd0c9 disable evas_gl for evas 1.1
SVN revision: 65003
2011-11-10 06:02:15 +00:00
Jiyoun Park 5d65b627a6 remove white space
SVN revision: 64979
2011-11-09 08:01:00 +00:00
Tom Hacohen 2bb72a2965 Evas textblock: Fix clang error.
Shouldn't ever happen, but whatever.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-Va2XPK.html#EndPath

SVN revision: 64978
2011-11-09 07:51:14 +00:00
Tom Hacohen 4b5e727023 Evas textblock: Fix clang error.
Shouldn't ever happen, but whatever.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-kOFp88.html#EndPath

SVN revision: 64977
2011-11-09 07:51:11 +00:00
Tom Hacohen 789b487da2 Evas textblock: Fixed 1 more clang error.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-XA8yiy.html#EndPath

SVN revision: 64976
2011-11-09 07:36:50 +00:00
Tom Hacohen 3fea444dce Evas font: Fixed a clang error and gcc compiler warnings.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-SsIayB.html#EndPath

SVN revision: 64975
2011-11-09 07:30:34 +00:00
Tom Hacohen 260f07ed81 Evas textblock: Fix clang complaint.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-FBRb3Q.html#EndPath

SVN revision: 64974
2011-11-09 07:19:09 +00:00
Carsten Haitzler deb93c0d4a to make up for not using xft.dpi anymore that was a fix essentially
to buffer engine rendering, allow env var for evas font dpi.



SVN revision: 64970
2011-11-09 05:58:19 +00:00
Tom Hacohen 5db25b11cb Evas textblock: Add ellipsis handling for format items.
Just cut before them.

SVN revision: 64817
2011-11-06 12:56:10 +00:00
Tom Hacohen 1b8ba7e17d Evas textblock: Fixed a bug with textblock ellipsis.
There was a possible segfault because we don't check if the current item
is a text item or a format item. I just removed the loop which triggered it
because it's not needed anyway, and now it works. Removing the loop also
let me remove some code that was only needed in the case of a loop.

SVN revision: 64816
2011-11-06 12:56:07 +00:00
Carsten Haitzler d12d08fd14 Ticket #824 - no readme.in's
SVN revision: 64802
2011-11-06 08:47:38 +00:00
Youness Alaoui c21427071b Evas: Add a psl1ght engine for the PS3
SVN revision: 64779
2011-11-05 17:49:37 +00:00
Vincent Torri 29c1292c7a forget that. That's the problem when dealing with
windows and linux in different repo...


SVN revision: 64768
2011-11-05 16:56:03 +00:00
Vincent Torri 3de60c77b4 Evas: fix use of __always_inline__ attribute
Fix multiple storage bug.
 * __forceinline is the equivalent of __always_inline__ on Windows. It has
   'extern' as storage, so static must not be used with it
 * use __always_inline__ and not always_inline as attribute value instead.
   No need to add storage class with __always_inline__ too.
 * static inline is fine


SVN revision: 64767
2011-11-05 16:51:13 +00:00
Cedric BAIL decb9b6377 evas: always retrieve the latest available pixels for a video.
SVN revision: 64755
2011-11-05 11:58:41 +00:00
Vincent Torri e7d87f2539 Evas: efl_attributes.m4
NEVER define a macro whose name is the name of the attribute, it breaks compilation on some platforms


SVN revision: 64749
2011-11-04 22:08:54 +00:00
Vincent Torri 22dffda1e7 Evas: efl_attribute.m4 : put definition in the prologue
SVN revision: 64748
2011-11-04 21:04:49 +00:00
Vincent Torri 4f307f62ce AM_PROG_CC_STDC is deprecated
SVN revision: 64742
2011-11-04 20:28:56 +00:00
Jiyoun Park fb44314af1 Currently, only software engine checks animation flag during rendering.
I add animation check code to gl engine.


SVN revision: 64704
2011-11-03 15:20:30 +00:00
Vincent Torri ba6be5b709 Evas: fix eina version check
SVN revision: 64664
2011-11-02 20:54:31 +00:00
Nicolas Aguirre 7f39765a08 evas: gl_cocoa fix installation of Evas_Engine_Gl_Cocoa header
SVN revision: 64663
2011-11-02 20:15:42 +00:00
Nicolas Aguirre 79eab0b7e7 evas: Add changelog and add my name to authors list.
SVN revision: 64659
2011-11-02 20:05:22 +00:00
Nicolas Aguirre 7c4cd009b5 evas: Add missing file
SVN revision: 64655
2011-11-02 18:34:22 +00:00
Nicolas Aguirre bdfeb1df14 evas: Add gl_cocoa engine
SVN revision: 64653
2011-11-02 18:23:54 +00:00
ChunEon Park f96e677847 evas - trivial changes.
SVN revision: 64595
2011-11-01 01:41:09 +00:00
ChunEon Park 9db17a253c evas - supplemented more cases for object_freeze_events completion.
SVN revision: 64564
2011-10-31 14:50:00 +00:00
ChunEon Park 160370b0e6 evas/evas_object_polygon - removed whitespaces and fixed indent.
SVN revision: 64561
2011-10-31 13:36:43 +00:00
ChunEon Park 169ffa5fcd evas/evas_object_polygon - fixed wrong.
SVN revision: 64553
2011-10-31 10:30:39 +00:00
ChunEon Park 52a4c4bc7c evas/evas_stack - just removed white spaces and fixed indentations
SVN revision: 64552
2011-10-31 10:16:18 +00:00
Vincent Torri 346eba9259 declare the variables at the beginning of the block
SVN revision: 64516
2011-10-30 05:02:05 +00:00
Mike Blumenkrantz 80b018b790 add missing variable from r64139
direct all spankies to raster and Sung W. Park


SVN revision: 64514
2011-10-30 02:04:50 +00:00
Sung W. Park a3a5a85d92 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] [E-Devel][Patch] Evas GL Color Format Enum change
(and ElmGLview changes accordingly)

I'm submitting a patch that changes the color format for Evas GL.

When I first wrote Evas_GL, I just had EVAS_GL_RGB_8 and EVAS_GL_RGBA_8 and etc
but it was misleading for some people.  It was more of a filler since I couldn't decide on
a name.  I'm finally changing it to make it more clear.



SVN revision: 64491
2011-10-28 11:08:23 +00:00
ChunEon Park 9785b53f28 evas - updated Changelog and @since for evas_object_freeze_events_set/get
Thank you Vincent. 



SVN revision: 64434
2011-10-27 13:19:52 +00:00
ChunEon Park 000aed92b8 evas - added new API evas_object_freeze_events_set/get
and will handle for the key events also soon. 



SVN revision: 64432
2011-10-27 10:36:09 +00:00
Carsten Haitzler ccf5af6c44 and fix evas map used as mapbuf with clipping and stuff! ugh! the
forever shifting bug! evas_render needs a rewrite



SVN revision: 64429
2011-10-27 09:39:18 +00:00
Tom Hacohen 962d8c85c8 Evas font: Removed double ;.
SVN revision: 64414
2011-10-26 14:33:51 +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 e92b545bee we can't limit sizes on load because of "i'm just loading the header
to find out the size" tricks. :(



SVN revision: 64410
2011-10-26 08:33:41 +00:00
Carsten Haitzler 122a51f16a warning--
SVN revision: 64390
2011-10-25 12:25:15 +00:00
Carsten Haitzler d7c699670e warn--
SVN revision: 64389
2011-10-25 12:20:53 +00:00
Carsten Haitzler a75ecced08 warn--
SVN revision: 64388
2011-10-25 12:14:48 +00:00
Carsten Haitzler 4483c0ef6f warning--
SVN revision: 64387
2011-10-25 12:07:56 +00:00
Carsten Haitzler bc10321643 disable getting of xft.dpi - always been an option but it just leads
to inconsistent rendering.



SVN revision: 64386
2011-10-25 12:01:44 +00:00
Carsten Haitzler fb447485e8 oh dear.. lewft and right pixle duplication for interpolation had the
WRONG PIXELS!!! amazing it never crashed! fix fix! (also handle
opengls that doesnt support unpack row length)



SVN revision: 64377
2011-10-25 09:27:54 +00:00
ChunEon Park d12a0879d2 evas/evas_object_smart - trivial changes
SVN revision: 64375
2011-10-25 08:37:43 +00:00
EunMi Lee 8b5d185038 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch] [Evas] Patch to provide information of
touched points

Hello,
I made a new patch to get information of current touched point instead
of Touch Event.

I added touch_points (Eina_List) to the Evas structure and it maintains touched points on the evas.
New touched point is added to the touch_points when we get Mouse_Down and Multi_Down,
touched point is updated when we get Mouse_Move and Mult_Move,
and touched point is removed when we get Mouse_Up and Multi_Up.

The each touch point has coordinate, id and state information as follows:
id - identifier. 0 for Mouse Event and device id for Multi Event. coordinate - (x, y) coordinate of point.
state - state of point. type is Evas_Touch_Point_State enum.
(EVAS_TOUCH_POINT_DOWN, EVAS_TOUCH_POINT_UP, EVAS_TOUCH_POINT_MOVE,
EVAS_TOUCH_POINT_STILL, EVAS_TOUCH_POINT_CANCEL)

There are 4 new APIs to get touch point's information as follows:
unsigned int evas_touch_point_list_count(Evas *e);
void evas_touch_point_list_nth_xy_get(Evas *e, unsigned int n, Evas_Coord *x, Evas_Coord *y);
int evas_touch_point_list_nth_id_get(Evas *e, unsigned int n);
Evas_Touch_Point_State evas_touch_point_list_nth_state_get(Evas *e, unsigned int n);

I added APIs to get each information instead of exposing whole
structure to make it easy to expand in the future as you mentioned in
the below e-mail :)



SVN revision: 64373
2011-10-25 05:03:50 +00:00
ChunEon Park 8658d955ce Evas - Modified field names in Evas structure to be more clear.
SVN revision: 64371
2011-10-25 02:26:51 +00:00
Vincent Torri fe2e2a1787 emacs users don't like trailing white spaces
SVN revision: 64319
2011-10-23 06:59:40 +00:00
Carsten Haitzler ce882f55ae annoy vim users with spaces at the start of blank lines. :)
SVN revision: 64317
2011-10-23 03:51:41 +00:00
Mike McCormack c9dcb7dc5f evas: Fix a warning
CC     evas_cserve_tool.o
evas_cserve_main.c: In function ‘message’:
evas_cserve_main.c:993:14: warning: braces around scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 64310
2011-10-22 23:33:23 +00:00
Vincent Torri 01c03642a2 Evas: bump libpng version to 1.2.10.
libpng 1.2.8 does not have the symbol png_set_expand_gray_1_2_4_to_8.
It seems that 1.2.10 has no problem, so we check for libpng >= 1.2.10
and we drop libpng 1.0.*


SVN revision: 64303
2011-10-22 19:39:56 +00:00
Carsten Haitzler 3cf77b0b30 and fix chglog and @since for max img size api
SVN revision: 64290
2011-10-22 05:42:48 +00:00
Carsten Haitzler 9e08e27995 and zero out previous rect info on clear.
SVN revision: 64289
2011-10-22 03:56:36 +00:00
Carsten Haitzler c52bc1cdb9 and fix tiler to do full resolution. yes - more mem, some more
overhead, but fewer bugs.



SVN revision: 64288
2011-10-22 03:36:39 +00:00
Carsten Haitzler 62106ea76a oh dear. debugging snuck in in my other fixes. remove.
SVN revision: 64287
2011-10-22 02:40:52 +00:00
Carsten Haitzler 30517bc67c oh this one was a doosey to find. objects still having map applied BUT
map is the same as a normal display (no mapping at all) are not
considered opaque. fix!



SVN revision: 64264
2011-10-21 17:14:03 +00:00
Rafael Antognolli 78410d7e8f evas/fb: use virtual sizes to describe the fb mode geometry.
This was causing the fb engine to draw incorrectly when the virtual size
was different from the size (xres != xres_virtual). For example, it
happens an additional monitor is plugged into a notebook.
Patch for SiT.



SVN revision: 64259
2011-10-21 16:21:09 +00:00
Cedric BAIL ce3a658ef7 evas: coorectly dirty YUV data.
SVN revision: 64254
2011-10-21 14:06:42 +00:00
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
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 a396da70de we dont need the dirty at the end either.
SVN revision: 64173
2011-10-19 09:50:55 +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
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
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 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
Mike Blumenkrantz 7c683d0b0c require recent eina
SVN revision: 64115
2011-10-16 15:45:28 +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 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
Christopher Michael 3bb739d7fa Evas: Fix compiler warnings wrt uninitialized variables.
SVN revision: 64079
2011-10-15 01:02:55 +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
Cedric BAIL e2d8b7892d evas: only draw the hole when it's needed.
SVN revision: 64047
2011-10-13 09:23:42 +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
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
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 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
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 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
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
ChunEon Park af25636ab8 evas/evas_events - trivial changes
SVN revision: 63953
2011-10-10 08:52:08 +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 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
Carsten Haitzler 7c7f8803f5 try and make newgl work again... fail! why does glx hate me?
SVN revision: 63885
2011-10-06 15:05:32 +00:00
Carsten Haitzler 837165ed8a no no.. oops. i missed an error!
SVN revision: 63883
2011-10-06 13:46:06 +00:00
Carsten Haitzler bdbfbbd2d3 newgl work.. now.. why?
SVN revision: 63882
2011-10-06 13:45:14 +00:00
Carsten Haitzler 82b843d222 only use highp *IF* compiler supports it.
SVN revision: 63880
2011-10-06 13:25:18 +00:00
Mike McCormack e5c1e7cc4f evas: remove extra CR
SVN revision: 63867
2011-10-06 02:23:57 +00:00
Jim Kukunas 5d45544329 [PATCH] evas: fix typo in LOOP_ALIGNED_U1_A48_SSE3
The old version works because in every function in which
this macro is used ``l'' is the length and ``d'' is the
destination. This patch prevents future headaches when
those constraints no longer hold.

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63856
2011-10-05 23:41:01 +00:00
Cedric BAIL a33eccf6e2 evas: fix shader for nv12.
SVN revision: 63835
2011-10-05 10:16:25 +00:00
Carsten Haitzler 27431cacdd oh and compile script missing updates to make shd's... grrr. and nv12
shader bad!



SVN revision: 63832
2011-10-05 09:52:08 +00:00
WooHyun Jung fb371c8aa6 evas/evas_object_textblock : When cursor_mode is BEFORE, dir_cur->node
can be NULL. So modified the conditional state.


SVN revision: 63824
2011-10-05 07:29:06 +00:00
Carsten Haitzler 4ddeed5933 all shaders -> use high precision not medium to avoid rounding errors.
SVN revision: 63804
2011-10-04 11:21:22 +00:00
Cedric BAIL 8edb994133 evas: cleanup and reorder video function call to be more usable.
SVN revision: 63799
2011-10-04 09:34:01 +00:00
Cedric BAIL 7b33abd685 evas: forgotten commit with since.
SVN revision: 63798
2011-10-04 09:33:40 +00:00
EunMi Lee c6681aa189 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch] Evas touch event patch.

Nice to meet you.
I'm Eunmi Lee, developing mobile web browser and working on WebKit EFL port.
I need new type of event for touch, so I've made patch to add
EVAS_CALLBACK_TOUCH event to the evas.

I will explain history of this patch.
Currently, many web applications and sites use TouchEvent and they can
do everything(scrolling, zooming and so on) like native application
using TouchEvent.
So, I'm also want to provide TouchEvent for web in the WebKit EFL port,
but I got a problem during making TouchEvent because EFL's touch
event's structure (Mouse, Multi Event) is different from Web
TouchEvent's one.

Let me explain about Web TouchEvent firstly.
Web TouchEvent is consist of type and touch points list simply.
There are 3 kinds of type.
TouchStart: Happens every time a finger is placed on the screen.
TouchEnd: Happens every time a finger is removed from the screen.
TouchMove: Happens as a finger already placed on the screen is moved
across the screen.
for example, we can make (1 finger starts to touch), (2 fingers are
moving), (1 finger is released duirng 3 fingers are moving) and so on.
You can see the detailed information in the following url:
http://www.sitepen.com/blog/2008/07/10/touching-and-gesturing-on-the-iphone

However, EFL's touch event is consist of six kinds of type :
MOUSE_DOWN, MOUSE_UP, MOUSE_MOVE, MULTI_DOWN, MULTI_UP, MULTI_MOVE.
So, I have to make a converter to make web touch event from EFL's
touch event.
You can reference attatched image file : evas_touch_event.png.

To tell the truth, converting code is not a big one.
But, I want to reduce this additional job and make code simple.
In the WebKit QT port, they don't have to make converting code for
TouchEvent,
because they have QTouchEvent, it has type and touchPoints list and
they can be mapped to Web TouchEvent one by one.
I think iPhone and Android also have such kind of event.

That's all why I want to add new touch event type to the evas.

about my patch:
- EVAS_CALLBACK_TOUCH event is added
- touch_points Eina_List is added to the Evas structure to maintain
current touch lists.
- process MOUSE/MULTI UP, DOWN, MOVE to make TOUCH event.

It is my first time to modify eves codes and actually I don't know too
much about evas.
So, I will be grateful if you send any feedback and comments.




SVN revision: 63796
2011-10-04 07:30:22 +00:00
Carsten Haitzler 157224ffef jiyoun bug! you didnt fix the hkey string properly.. you set the last
2 chars to o? where ? is "undefined". you set the same string char to
/ then o. fix!



SVN revision: 63785
2011-10-04 01:41:45 +00:00
Carsten Haitzler 620d2573f3 so... gcc was optimizing the test out... that sucks! fix. make sure gcc
doesnt know what to do with optimizing and actually compiles the code!



SVN revision: 63775
2011-10-03 16:29:12 +00:00
ChunEon Park 69fc731318 evas/configure.ac - fixed typo.
SVN revision: 63764
2011-10-03 05:06:11 +00:00
Carsten Haitzler 2aed2cf20a isolate sse3 to only its own file, so it only uses -msse3 for that
SVN revision: 63762
2011-10-03 04:44:23 +00:00
Cedric BAIL d724205a6e evas: add basic support for video support.
SVN revision: 63758
2011-10-03 03:28:52 +00:00
Carsten Haitzler 182a9f9eed ok. sse3 OFF for 32bit builds. as we cant guarantee the compiler and
arch does sse3. the wasy sse3 is done makes this stupidly ugly. so too
bad for 32bit builds - no sse3 for u unless u specifically enable at
build time and then u have a binary that never runs on pre-sse3 chips.



SVN revision: 63745
2011-10-02 11:29:03 +00:00
Carsten Haitzler c31b6a9dcd NO - SSE3... add -msse3.... NO! NEVER!
SVN revision: 63744
2011-10-02 10:57:26 +00:00
Carsten Haitzler de8b0a1137 formatting - space++
SVN revision: 63743
2011-10-02 10:43:17 +00:00
Carsten Haitzler f054f04d08 bad cedric! broke gl engine!
SVN revision: 63729
2011-09-30 16:18:41 +00:00
Cedric BAIL 0d03abde6b evas: remove warning.
SVN revision: 63728
2011-09-30 15:54:26 +00:00
Cedric BAIL cc71e34616 evas: zero swizzeling code for Samsung platform.
SVN revision: 63727
2011-09-30 15:51:32 +00:00
Cedric BAIL 308cf81312 evas: correctly handle direct mapping of data for non RGBA case.
SVN revision: 63726
2011-09-30 15:43:51 +00:00
Josef Reidinger 37b04168d6 evas: fix make dist
Patch by: Josef Reidinger <jreidinger@suse.cz>



SVN revision: 63723
2011-09-30 13:33:40 +00:00
Jiyoun Park c231bf108b From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] support Animation gif's disposal mode

I make patch support animation gif disposal mode.

Before, gif loader only decode & render based on previous frame. 

This patch can support "do not dispose mode" & "restore background
mode". 

So It solve after image problem of restore background mode.




SVN revision: 63716
2011-09-30 07:10:40 +00:00
Mike Blumenkrantz 5d4c95d975 fix ambiguous docs and add notes about premultiplied coloring books
SVN revision: 63715
2011-09-30 06:05:33 +00:00
Carsten Haitzler cbb0dcbb3d include config.h - it isnt included.. otherwise we'd have had redefine
warnings....



SVN revision: 63714
2011-09-30 06:04:53 +00:00
Vincent Torri 6c59cdc4f4 fix warning
SVN revision: 63710
2011-09-30 04:14:30 +00:00
Vincent Torri 993fa90cb3 unneeded checks
SVN revision: 63708
2011-09-30 04:04:28 +00:00
Vincent Torri 0861f8edff add Jim Kukunas as authors
SVN revision: 63707
2011-09-30 03:50:30 +00:00
Carsten Haitzler 34ca6b6738 you know.... i was reviewing this patch this morning and i found
several problems with it... but SOMEONE... (lucas) committed it
without even so much as replying to the list saying he was going to...
:)



SVN revision: 63705
2011-09-30 03:29:03 +00:00
Jim Kukunas 24c56344eb evas: enable SSE3 blend functions
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63704
2011-09-30 02:37:12 +00:00
Jim Kukunas a058ae7a5e evas: add SSE3 _op_blend_pixel_mask blend functions
_op_blend_p_mas_dp_sse3
_op_blend_pas_mas_dp_sse3
_op_blend_rel_p_mas_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63703
2011-09-30 02:37:02 +00:00
Jim Kukunas e7f1e55f81 evas: add SSE3 op_blend_pixel_color blend functions
_op_blend_p_c_dp_sse3
_op_blend_pan_c_dp_sse3
_op_blend_p_can_dp_sse3
_op_blend_pan_can_dp_sse3
_op_blend_p_caa_dp_sse3
_op_blend_pan_caa_dp_sse3
_op_blend_rel_p_c_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63702
2011-09-30 02:36:51 +00:00
Jim Kukunas a374dd7b35 evas: add SSE3 op_blend_pixel blend functions
_op_blend_p_dp_sse3
_op_blend_pas_dp_sse3
_op_blend_rel_p_dp_sse3
_op_blend_rel_pan_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63701
2011-09-30 02:36:30 +00:00
Jim Kukunas 21991884f4 evas: add SSE3 op_blend_mask_color blend functions
_op_blend_mas_c_dp_sse3
_op_blend_mas_can_dp_sse3
_op_blend_rel_mas_c_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63700
2011-09-30 02:36:15 +00:00
Jim Kukunas 793c7d1031 evas: add SSE3 op_blend_color blend functions
_op_blend_c_dp_sse3
_op_blend_rel_c_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63699
2011-09-30 02:36:01 +00:00
Jim Kukunas 937a5a91f1 evas: add common SSE3 blending functions/macro
mul_256_sse3
sub4_alpha_sse3
interp4_256_sse3
mul_sym_sse3
mul4_sym_sse3
mul3_sym_sse3

LOOP_ALIGNED_U1_A48_SSE3

__attribute__((always_inline)) is needed to coax GCC (< 4.6.0)
into inlining the common blend ops. Not inlining these functions
causes a steep performance penalty.

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63698
2011-09-30 02:35:45 +00:00
Jim Kukunas eec4b913ea evas: add SSE3 support
Readme entry
configure --[enable/disable]-cpu-sse3
processor capability test

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63697
2011-09-30 02:35:31 +00:00
Michael BOUCHAUD 7b2355eff1 evas: fix make dist
SVN revision: 63669
2011-09-29 15:13:27 +00:00
Cedric BAIL b70d6a0556 evas: oops forgot that.
SVN revision: 63664
2011-09-29 09:48:13 +00:00
Cedric BAIL 442589f4ca evas: handle exif rotation information directly inside evas jpeg loader.
Patch by Jiyoun Park <jy0703.park@samsung.com>


SVN revision: 63659
2011-09-29 09:02:30 +00:00
Vincent Torri 51781d7985 use another m4 macro for __atribute__
add check of gcc vector extension, requested by cedric


SVN revision: 63652
2011-09-29 06:26:03 +00:00
Daniel Juyung Seo 3adea31a4a evas Evas.h: Fixed typo.
SVN revision: 63640
2011-09-28 09:14:40 +00:00
Carsten Haitzler 7be30a23bf and another commit in an attempt to fix mouse grabs + event callbacks
to be consistent



SVN revision: 63607
2011-09-26 02:45:06 +00:00
Carsten Haitzler 0088ea3d8b new attempt to fix the hidden object event thing without breaking
dnd... this makes for consistent behavior. :)



SVN revision: 63599
2011-09-25 04:43:02 +00:00
Carsten Haitzler 64940b1bf4 oops - and dont need to sub the rgabbed count - i missed that it was
already done above. no bug there. move on.



SVN revision: 63586
2011-09-24 07:46:37 +00:00
Carsten Haitzler 0df0084dba as suspected... this breaks drag and drop! :( revert.
SVN revision: 63577
2011-09-24 04:01:36 +00:00
Carsten Haitzler 222644dc67 try this for fixing grab count when callbacks play with further events
in the in list copy (like moving, resizing, hiding etc. them).



SVN revision: 63554
2011-09-23 06:37:03 +00:00
Carsten Haitzler f3899ddecb fix grab event counter miss.
SVN revision: 63553
2011-09-23 06:19:20 +00:00
ChunEon Park b653b18526 evas_object_smart - trivial changes.
SVN revision: 63514
2011-09-21 10:56:23 +00:00
ChunEon Park ad59819a7d evas/evas_events - just removed white spaces.
SVN revision: 63511
2011-09-21 10:35:03 +00:00
Tom Hacohen 7b374f1dd3 Evas textblock: Fixed an issue when deleting A from <a><a>A</a></a>.
Reported by WooHyun. Thanks a lot, great catch, also told me where and what
the issue is exactly.

Also added a test to verify this works.

SVN revision: 63493
2011-09-20 08:05:50 +00:00
Carsten Haitzler 913a41adbe actually no - wrong pixman... remove if.
SVN revision: 63487
2011-09-20 05:45:00 +00:00
Carsten Haitzler bc988911e8 software xcb cvant build without pixman... fix autofoo
SVN revision: 63486
2011-09-20 05:28:20 +00:00
Cedric BAIL 3171f01b00 evas: remove a fixme by making the engine list dynamic.
SVN revision: 63481
2011-09-19 14:20:18 +00:00
Carsten Haitzler 823fa1b566 make fonts obey the same cutout rules as images.
SVN revision: 63478
2011-09-19 10:48:33 +00:00
Carsten Haitzler 9522d5b359 warning--
SVN revision: 63477
2011-09-19 10:48:11 +00:00
Tom Hacohen 0de47ae436 Evas textblock: Replace the rbtree index with a fixed ptr array.
This possibly doesn't scale as good but it's good enough for everything I've
tried. It's a lot easier to maintain comparing to the rbtree, and takes a
lot less memory. Next step is probably changing the array size according
to the actual content of the textblock.

SVN revision: 63474
2011-09-19 09:17:17 +00:00
Tom Hacohen 52302f9664 Evas font: Adjust yet again to the new harfbuzz API.
SVN revision: 63473
2011-09-19 09:17:08 +00:00
Youness Alaoui 2d413eae60 Evas: Remove lazy ifdef WIN32 and check for siglongjmp and sigaction availability
SVN revision: 63463
2011-09-18 21:57:17 +00:00
Daniel Juyung Seo 61b786c4e8 evas evas_name.c: Fixed indentation.
SVN revision: 63369
2011-09-14 04:41:12 +00:00
Christopher Michael 1a1248b689 Evas: Add simple .Xdefaults files parsing to get DPI.
NB: Xcb has no support (yet) for dealing with xrdb (Xresource
database), so add a simple parser to read an .Xdefaults file and get
things like xft.dpi.



SVN revision: 63297
2011-09-08 21:49:45 +00:00
Gustavo Lima Chaves 8224761b1e [evas] This seems to be the least fontconfig's compatible
version with our (current) code.



SVN revision: 63293
2011-09-08 18:37:29 +00:00
Youness Alaoui 4f96340279 Evas: If not threading, then LKT should not return 0, otherwise it will think it's a stuck lock
SVN revision: 63270
2011-09-07 18:00:57 +00:00
Tom Hacohen c0b309e43e Evas textblock: Added a workaround for the coords_recalc not being called.
Please, when you fix this annoying issue, revert this terrible commit. This
commit is intended to be a temporary fix.

SVN revision: 63267
2011-09-07 10:41:44 +00:00
Youness Alaoui ada2b9e072 Evas: Small fixes to clean software-sdl and software-16-sdl engines
Comparing software-sdl and software-16-sdl showed many small differences
this makes both engines' code much more alike.
The software-16-sdl was especially buggy, hopefully, this should make
it just as stable as the software-sdl engine.

SVN revision: 63248
2011-09-07 06:53:35 +00:00
Youness Alaoui efea89b471 Evas: Allow independent static compilation of software_16_sdl engine
SVN revision: 63247
2011-09-07 06:53:28 +00:00
Cedric BAIL 120306f05f evas: add YUV double buffering for OpenGL backend.
SVN revision: 63225
2011-09-06 07:56:47 +00:00
Cedric BAIL ce8904076d evas: fix alignment issue.
SVN revision: 63202
2011-09-05 15:21:23 +00:00
Cedric BAIL 35da5ff856 evas: use a tricky NULL texture.
Note: this help the driver to know that we don't it
to swizzle back the pixel from GPU format, because we
are going to replace all pixels.


SVN revision: 63201
2011-09-05 14:58:18 +00:00
Tom Hacohen 9182147b5f Evas font: Fixed compilation with g++.
Patch by cnook

SVN revision: 63196
2011-09-05 12:48:02 +00:00
Tom Hacohen fe8c41c6c5 Evas textblock: Use viewport for getting visible range, not clip.
SVN revision: 63191
2011-09-05 12:03:53 +00:00
Tom Hacohen 8f07a73106 Evas textblock: Fixed an issue when there are no available fonts.
The problem was that our rbtree implementation doesn't support chaining
duplicates and with no fonts, all the paragraphs had the same y coord (0).
Changing the paragraph index to work on line_no for sorting fixes it,
as line numbers are also correct when there are no fonts.

Thanks a lot to KaKaRoTo for letting me know about this issue.

SVN revision: 63188
2011-09-05 09:04:43 +00:00
Carsten Haitzler 325dbc04ae fix COPYING to say 2011.
SVN revision: 63187
2011-09-05 07:15:41 +00:00
Tom Hacohen 54ebd93cde Evas font: Fix compilation with C++ compilers.
Thanks to cnook for pointing that out.

SVN revision: 63186
2011-09-05 07:13:23 +00:00
Tom Hacohen c4229776de Evas textblock: Fixed compiler warnings.
SVN revision: 63185
2011-09-05 07:13:07 +00:00
Cedric BAIL 2654b654e7 evas: fix tarball generation.
SVN revision: 63179
2011-09-04 23:19:41 +00:00
Cedric BAIL 20300dfedc evas: and now MT12 gain Open GL support.
SVN revision: 63174
2011-09-04 21:15:04 +00:00
Cedric BAIL d88567f49f evas: make MT12 a little bit faster so we can see Bunny a little more longer.
SVN revision: 63157
2011-09-04 16:26:47 +00:00
Cedric BAIL f6f2eb77f7 evas: forgotten patch for enabling colorspace properly.
SVN revision: 63152
2011-09-04 14:31:24 +00:00
Cedric BAIL 54373b9fbe evas: fix mt12 to se squirrel and bunny.
SVN revision: 63151
2011-09-04 14:30:41 +00:00
Carsten Haitzler 27ebb83c4e put generic loaders in libdir/evas/utils/
SVN revision: 63103
2011-09-03 03:48:39 +00:00
Rafael Antognolli 92b98ad145 evas/canvas - Update the pointer to engine_data after pixels_get().
The "pixels" pointer was set in the beginning of evas_object_image_render(),
and never updated, even after pixels_get() changed the content of
o->engine_data.

This patch updates that pointer if it becomes different from engine_data.



SVN revision: 63090
2011-09-02 14:06:25 +00:00
Rui Seabra d7a9d539a1 Rename xcb-devel to libxcb-devel. According to KainX, on IRC, «Caos is dead and no one has been maintaining SuSE compatibility anyway».
SVN revision: 63074
2011-09-01 21:54:42 +00:00
Rui Seabra 639bded43a Fix build breakage.
SVN revision: 63070
2011-09-01 21:39:43 +00:00
Vincent Torri 7fec95cb58 add Youness Alaoui
SVN revision: 63017
2011-08-31 08:49:15 +00:00
Cedric BAIL ea61ff9379 evas: SPANK ! SPANK ! SPANK ! Tasn you forgot some engine !
Patch by Youness Alaoui <kakaroto@kakaroto.homelinux.net>.


SVN revision: 63013
2011-08-30 23:03:07 +00:00
Carsten Haitzler 6694437c15 lets up the max recalc count a bit now that things re-schedule
themselves more.



SVN revision: 62994
2011-08-30 15:33:46 +00:00
Tom Hacohen c2964c42cb Evas font: Adjust to harfbuzz's latest and hopefully last API break.
SVN revision: 62989
2011-08-30 14:38:48 +00:00
Carsten Haitzler 8833075666 lets do that again. recalc list instead of recalc array. why? fixes
nasty ordering issues where recalc items dont get pushed later into
the recalc queue after the things they depend on.



SVN revision: 62977
2011-08-29 23:45:24 +00:00
Cedric BAIL 5a4163f5f2 evas: use simpler format as much as possible.
SVN revision: 62975
2011-08-29 21:52:00 +00:00
Cedric BAIL 26ee52dd61 evas: add NV12 and MT12 colorspace.
MT12 is has documented in Linux videodev documentation
a 64 * 32 macro block tiled colorspace format used on
Samsung hardware.


SVN revision: 62967
2011-08-29 20:56:48 +00:00
Vincent Torri 93ded6d380 revert rev. 62944
SVN revision: 62963
2011-08-29 19:05:03 +00:00
Carsten Haitzler e7c63bd333 i've found a subtle issue with how we queue recalcs of smart objs. if
an obj is already queued we dont push it FURTHEr down the queue if
smart recalc is enabled. now at least we keep order of operation/calc
correctly!



SVN revision: 62944
2011-08-29 12:14:55 +00:00
Carsten Haitzler f8c2a95c1a ok- we'll be nice and 0 your w & h - also x, y, w, h did this too.
SVN revision: 62942
2011-08-29 11:49:31 +00:00
Carsten Haitzler 9987945719 dont need ti check priv - macro did it anyway
SVN revision: 62941
2011-08-29 11:39:43 +00:00
Carsten Haitzler 3c456311b3 add a call to get the number of smart caluclation counts. very useful
for one evil situation in elementary factory.



SVN revision: 62856
2011-08-26 12:26:45 +00:00
Tom Hacohen 9f23c221d6 Evas callbacks: Do the same change daniel did to smart callbacks.
Spank Spank for not applying it here as well.

SVN revision: 62798
2011-08-25 10:06:12 +00:00
Daniel Juyung Seo 733ac6e274 evas evas_object_smart.c: Reverted smart callback calling sequence.
Now, smart callback is prepended among the same priorities. After the
discussion with hermet and raster.

I fixed this because I think it's better keeping the default behavior
even we have new priority option. This is for evas backward
compatibility and for the world peace. Although I know there is no
official policy and it's not recommended to rely on the smart callback
calling sequence in application, I really hope evas needs to have
compatibility. Otherwise we need to adopt the new policy in next
version of evas. 


SVN revision: 62792
2011-08-25 09:18:39 +00:00
Cedric BAIL a4601bb4b7 evas: refactorise code.
SVN revision: 62788
2011-08-25 08:28:34 +00:00
Sung W. Park f3d21a04d0 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel]  [Review] [Patch] Evas_GL bug fixes/updates


I've fixed some minor issues that I've been pushing off for later.

The patch does the following:

1. Evas_GL and Evas had an issue where the viewport parameters were
being reset in the wrong context. Previously, this issue was temporarily
patched by flushing evas' pipeline and setting
evas_gl_common_context_use(NULL) in EvasGL's
make current. I know, it was pretty hacky. It turns out that in
evas_engine,
there was a code evas_gl_common_context_resize(NULL) without doing
eng_window_use() first.  So i've added that part and problem went was
resolved properly. :-)

2. Naturally, I've taken out the temporary patch from 1.

3. I've added code that took care of glBindFramebuffer(..., fbo) where
the
fbo had to be saved and restored in case the user wanted to use his
own fbo.
Also, I've had to take care of the case when fbo is 0 since 0 need to
point
to evas_gl surface.

4. I've updated make_current a little as well.



SVN revision: 62780
2011-08-25 06:30:52 +00:00
ChunEon Park c3676cdabd Evas - updated AUTHORS
SVN revision: 62779
2011-08-25 06:14:43 +00:00
Carsten Haitzler 5cc90f00d9 oh my bad! i broke desktop gl compilation! bad bad bad me. spank! fix.
SVN revision: 62777
2011-08-25 05:17:43 +00:00
Jiyoun Park 4b59fd460e From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] evas gl engine's texture creation

Hello. 

1. _pool_tex_dynamic_new function, it didn’t set pt to NULL when secsym_eglCreateImage function failed.
In this case, it returns wrong pt pointer and it has possibility to make crash.
So I add free pt code and return NULL code into _pool_tex_dynamic_new function.

2. I modified eng_image_data_get of gl engine.

If Evas_GL_Image's texture creation failed and evas_gl_image's cache image was droped, 
Im->im can be NULL. So I add check code. 
Example: evas_gl_common_image_content_hint_set
     1) EVAS_IMAGE_CONTENT_HINT_DYNAMIC , it drop cache image
     2) if evas_gl_common_texture_dynamic_new failed
     3) then, im->im =NULL, im->tex=NULL
        In this situation, if application call's evas_object_image_data_get function, 
It make crash in evas_cache_image_load_data function.

3. I think function's related with evas_object's engine data have to be return NULL if it failed.
If function's returns null, evas object code can handle error more easily.  
But evas object's code was implemented differently each case. Does my suggestion right?
I add engine data null check code to evas_object_image based on upper consumtion.
If it is wrong , the patch code related with evas object image have to be removed.
If it is right , I will survey other evas object type also.  



SVN revision: 62775
2011-08-25 04:48:45 +00:00
Cedric BAIL cea7b9dddb evas: refactorize OpenGL engine.
SVN revision: 62752
2011-08-24 16:20:15 +00:00
Cedric BAIL ca93d80a3c evas: update ChangeLog.
SVN revision: 62723
2011-08-23 16:08:00 +00:00
Cedric BAIL efcceff953 evas: fix evas_object_image_data_convert.
SVN revision: 62722
2011-08-23 16:06:41 +00:00
Cedric BAIL 7ae4bd0f31 evas: add YUY2 shader to GL engine.
TODO: add NV12 and NV12T to evas.


SVN revision: 62721
2011-08-23 15:13:40 +00:00
Jiyoun Park 9cce5f3959 From: Jiyoun Park <jy0703.park@samsung.com>
Sometimes, gif loader can miss some previous frame.
In that case, display can be dirty.
If frame N loaded without N-1 make these problem.
I fixed this problem. 
And I modified wrong document.



SVN revision: 62712
2011-08-23 06:08:02 +00:00
Tom Hacohen f6724cc23b Evas font: Did some style fixes, we don't like tabs.
SVN revision: 62695
2011-08-22 14:45:23 +00:00
Tom Hacohen 54fd7dc69f Evas font: Fixed font cache.
Apparently someone (probably me) broke it a while ago, now it works.

SVN revision: 62694
2011-08-22 14:45:19 +00:00
Tom Hacohen 4cba183f96 Evas font: Revert "evas/font - removed an unusefull handling."
This reverts commit 62684.

This is needed to verify we don't access info->ot when info is NULL.

SVN revision: 62691
2011-08-22 11:51:18 +00:00
ChunEon Park 3184b6e863 evas/font - removed an unusefull handling.
Thank you TAsn. 



SVN revision: 62684
2011-08-22 09:39:13 +00:00
Tom Hacohen 15a3582483 Evas font: Revert last 2 commits by Hermet (62659, 62675).
SPANK SPANK, they broke compilation. Please use the builtin revert
functions when you revert commits. Either:
GIT: 'git revert <commit hash>' (yeah, git is better).
or
SVN: 'svn merge -c <revision> .'

This will prevent this kind of erros from happenning in the future.

Also, plesae compile before committing.

SVN revision: 62678
2011-08-22 08:23:04 +00:00
ChunEon Park 3bd87ec51a evas/evas_font - revert exceptin handlings
requested by TAsn

I do understand. :p

then, it seems no need to set the _ot_itr = NULL in EVAS_FONT_WALK_TEXT_START.



SVN revision: 62675
2011-08-22 03:34:43 +00:00
ChunEon Park 1bed664303 evas/evas_font - added exeption handlings.
SVN revision: 62659
2011-08-21 12:47:11 +00:00