Commit Graph

4892 Commits

Author SHA1 Message Date
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