Commit Graph

15806 Commits

Author SHA1 Message Date
Carsten Haitzler 9847de083b let's not fail to include standard headers when we need things like..
ooh.. malloc? calloc? printf?....



SVN revision: 65982
2011-12-07 00:49:00 +00:00
Carsten Haitzler 70b6239ec3 disable sse3 if immintrin.h not found.
SVN revision: 65980
2011-12-07 00:10:36 +00:00
Vincent Torri 112f992a0e Ecore: fix warnings
SVN revision: 65976
2011-12-06 22:33:01 +00:00
Cedric BAIL a285a94120 eina: the new endless story of fixing header in all possible configuration.
SVN revision: 65974
2011-12-06 21:33:39 +00:00
Cedric BAIL 05827596b6 eina: last header fix.
SVN revision: 65970
2011-12-06 17:05:14 +00:00
Cedric BAIL 2ca68a95c6 eina: fix system header usage.
SVN revision: 65969
2011-12-06 16:57:28 +00:00
Cedric BAIL ca6d71618b eina: move clist around as needed.
SVN revision: 65968
2011-12-06 16:55:50 +00:00
Cedric BAIL 98ced4dd20 eina: only include system header as necessary.
SVN revision: 65966
2011-12-06 16:09:56 +00:00
Cedric BAIL 38567fbf32 ecore: include stdlib.h when required.
SVN revision: 65964
2011-12-06 16:09:05 +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
Cedric BAIL ca142c2404 emotion: turn fps debugging on also on classic Gstreamer.
SVN revision: 65955
2011-12-06 11:36:29 +00:00
Cedric BAIL 9c3332f2de eet: no reason to duplicate environment variable.
SVN revision: 65954
2011-12-06 11:00:50 +00:00
Vincent Torri 23043ed40e Ethumb: source files should have their names with lower case letters
SVN revision: 65948
2011-12-06 06:50:10 +00:00
Vincent Torri 4d5063985b Ethumb: formatting, fix future compilation on Windows
SVN revision: 65946
2011-12-06 06:31:45 +00:00
Vincent Torri a10fb296c4 Ethumb: fix future compilation on Windows, formatting
SVN revision: 65945
2011-12-06 06:12:15 +00:00
Mike Blumenkrantz bb3f0ffa4b one of these days I'm going to snap and throw my computer off my balcony because of this
SVN revision: 65944
2011-12-06 05:52:45 +00:00
Mike Blumenkrantz e7a491b1be @since
SVN revision: 65943
2011-12-06 05:37:29 +00:00
Vincent Torri cb1efe97d8 Ethumb: remove and move header file
SVN revision: 65942
2011-12-06 05:32:35 +00:00
Vincent Torri 44c9a67c69 Ethumb: remove unused macro
SVN revision: 65941
2011-12-06 05:27:13 +00:00
Vincent Torri 621382a899 Ethumb: fix future compilation on Windows
SVN revision: 65940
2011-12-06 05:21:30 +00:00
Mike Blumenkrantz 77f039eb73 @since
SVN revision: 65939
2011-12-06 05:20:13 +00:00
Mike Blumenkrantz adc327c8f8 last ssl bugger
SVN revision: 65938
2011-12-06 05:14:03 +00:00
Mike Blumenkrantz 88a69e2a8f fix some ssl socks buggies
SVN revision: 65937
2011-12-06 04:48:55 +00:00
Mike Blumenkrantz 8a8242016e ...make that twice
SVN revision: 65936
2011-12-06 03:51:01 +00:00
Mike Blumenkrantz db16af76ee just kidding before, had to break svn at least once today
SVN revision: 65935
2011-12-06 03:41:16 +00:00
Mike Blumenkrantz 0099b08234 introducinggggggggggggggg <drum roll>:
ECORE-CON-SOCKS! SOCKS ON!!!!

now ecore_con supports socks (v4 and v4a only, so no ipv6) connections natively for making remote connections
for those of you who want their apps to start proxying immediately, just update and export this handy environment variable:
ECORE_CON_SOCKS_V4=[user@]PROXY_IP_ADDRESS:PROXY_PORT[:1] <--use :1 here to enable dns lookups on the proxy


SVN revision: 65934
2011-12-06 03:32:16 +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 97bd076da0 eina: fix typo.
SVN revision: 65921
2011-12-05 21:19:19 +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 0d4c616dc5 eina: follow Vincent advice.
SVN revision: 65905
2011-12-05 14:25:25 +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
Cedric BAIL a6d8ebc55d eina: disable log if fnmatch is not present.
NOTE: would be better to have an explicit --disable option I think.


SVN revision: 65901
2011-12-05 13:58:09 +00:00
Cedric BAIL 1561954c05 eina: improve system header detection.
SVN revision: 65900
2011-12-05 13:57:10 +00:00
Joerg Sonnenberger 30af9a785f From: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: [E-devel] eina 1.1.0beta patches for/from pkgsrc

Several patches to fix warnings and potential on netbsd/solaris. minor
so i think i'll skip changelog for this.



SVN revision: 65898
2011-12-05 10:17:57 +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 39467c29b6 giant patch refactoring ecore-con-url from bluezery <opowel@gmail.com>
will it blend?!


SVN revision: 65888
2011-12-05 06:08:46 +00:00
Mike Blumenkrantz 32808c9760 totally meant to write this wrong the first time to see if anyone was watching.
SVN revision: 65878
2011-12-04 23:54:41 +00:00
Mike Blumenkrantz 7e3d3eb914 another failure attempt at pleasing Demon Lord Vincent Torri
SVN revision: 65877
2011-12-04 23:16:25 +00:00
Mike Blumenkrantz 955e23a8a9 +ecore_timer_reset
SVN revision: 65876
2011-12-04 23:12:06 +00:00
Mike Blumenkrantz ba15384eaf unfuck header formatting
SVN revision: 65874
2011-12-04 23:01:36 +00:00