Commit Graph

37 Commits

Author SHA1 Message Date
Sung Park 57f2e02b9e Fixed a bug where if an image object rendered using Evas GL
direct rendering and then another image object using Native
Surface rendering, there was a potential for it to fall into
the same direct rendering path.

Also, fixed some minor Evas GL extension bugs that came from refactoring.

SVN revision: 79532
2012-11-22 07:58:06 +00:00
Carsten Haitzler abb71f7234 hm ooops - my multi-frame update tracking breaks WHEN the swap modes
change from triple to double etc. buffered.

SVN revision: 79531
2012-11-22 06:09:28 +00:00
Christopher Michael 4d6ace7272 Patch from Alex Wu to fix egl engine for 1.4 spec.
Signed-off-by: Christopher Michael <>

SVN revision: 79506
2012-11-21 10:02:40 +00:00
Christopher Michael 190e65dac3 evas/wayland_egl: Don't create EGLSurface for internal gl resource if we already have one in re->win.
EGL 1.4 spec Section 3.5.1: If there is already an
EGLSurface associated with win (as a result of a previous
eglCreateWindowSurface call), then an EGL_BAD_ALLOC error is

So that this eglCreateWindowSurface() will fail if the egl driver is
a strict conformance to the spec.

SVN revision: 79505
2012-11-21 10:02:18 +00:00
Sung Park 2b0829785f Oops... cleaned up some code/warnings. Should have been a part of
last commit. 

SVN revision: 79494
2012-11-21 05:11:17 +00:00
Sung Park 995e0a6613 Fixed Evas GL direct rendering bug from refactoring. The conditions
weren't set properly where if a program uses evas_gl to do GL rendering
in direct rendering mode and then use a pixmap to do native 
GL rendering in the same program, native pixmap rendering would 
also fall into the direct rendering path and not render anything for 
image object. It's been fixed.

SVN revision: 79493
2012-11-21 04:59:52 +00:00
Carsten Haitzler 242e9bb9ee and now have a real implementation with drmey things... with some

SVN revision: 79486
2012-11-21 02:48:49 +00:00
Carsten Haitzler 3a9784e8e2 fix blank screen bug added by our good mate... mike_m :)
SVN revision: 79459
2012-11-20 01:17:09 +00:00
Carsten Haitzler dfc1ccde24 comment out unused vars - name the px/yN...
SVN revision: 79458
2012-11-20 01:13:26 +00:00
Carsten Haitzler fac8ec4ca7 this is the START of something.. disabled at runtime for now - the
swapper infra is intended to have the ability to map pixels of
backbuffers right in for total zero-copy updates.

SVN revision: 79452
2012-11-19 13:43:48 +00:00
Mike McCormack 4081a3450d evas: Fix shadow warnings
x1, x2 shadow something in the math library.

Would probably be better to turn off -Wshadow, but for some
reason people think this there's some value in it...

Signed-off-by: Mike McCormack <>

SVN revision: 79446
2012-11-19 13:10:07 +00:00
Mike McCormack 82126b8ffd efl: Fix set but unused warnings
Unfortunately setting unused variable to zero still produces
a warning about variables being set but not used (on gcc 4.6.3).

Signed-off-by: Mike McCormack <>

SVN revision: 79445
2012-11-19 13:09:53 +00:00
Rafael Antognolli 766a0c790d evas/gles: Remove GL_STENCIL_INDEX from _string_get() on GLES.
This was removed on latest mesa, and seems to don't belong to GLES. See
the specification at

Additionally, it wasn't being used anywhere.

SVN revision: 79400
2012-11-16 18:37:47 +00:00
Sebastian Dransfeld 092b8ed76b evas: cleanup
SVN revision: 79372
2012-11-16 10:14:12 +00:00
Sung Park 3e6b22aaed Fixed glGetIntegerv() in Direct Rendering mode for Evas GL
to properly handle GL_SCISSOR_BOX and GL_VIEWPORT parameters.

SVN revision: 79364
2012-11-16 08:32:32 +00:00
Carsten Haitzler c417fab157 yet more warn--
SVN revision: 79315
2012-11-15 05:20:21 +00:00
Carsten Haitzler 66a43d2a7a more warn-- in efl tree.
SVN revision: 79314
2012-11-15 05:19:14 +00:00
Carsten Haitzler dc0946e205 warning--
SVN revision: 79313
2012-11-15 05:03:45 +00:00
Carsten Haitzler 940a75b5a8 devilhorns: warning told me that x is not being used.. and that looks
bad... i added it into dest as thats obviously how it should be.. can
u double check?

SVN revision: 79312
2012-11-15 05:01:16 +00:00
Carsten Haitzler 7873cc2124 warn-- for new jpect color conversion modes - default case.
SVN revision: 79311
2012-11-15 04:31:33 +00:00
Carsten Haitzler 463614021a and this fixes compositing on newest intel+mesa drivers... wrong fb
config wasa being chosen as it was done by hand not accounting for
multisample buffers. now using glxchoosefbconfig instead and it works.

SVN revision: 79232
2012-11-13 14:07:39 +00:00
Carsten Haitzler 208ad94428 more null checks in evas to avoid segs.
SVN revision: 79167
2012-11-12 14:45:07 +00:00
ChunEon Park 0d8488a478 evas/jpeg, cserve2 - removed unused
SVN revision: 79094
2012-11-10 11:35:42 +00:00
ChunEon Park 7ae9a85094 evas/gl_common - removed unused
SVN revision: 79093
2012-11-10 11:18:27 +00:00
ChunEon Park 09486ba3bb evas/gl_x11 - trivial fix.
SVN revision: 79092
2012-11-10 11:07:35 +00:00
Carsten Haitzler ad3b10f7ef why does the code have void ptr arithmetic in it... this should never
have happened...

SVN revision: 79073
2012-11-10 01:42:32 +00:00
Rafael Antognolli 9a673b2d4c evas/wayland_egl: Check re->win before calling glMakeCurrent.
This pointer could be NULL if the window was hidden before calling
glMakeCurrent, which would make the program crash. In fact, at least
elm_win hides the window before actually deleting it (thus calling this

SVN revision: 79017
2012-11-09 11:13:26 +00:00
Vincent Torri c15e9c6575 merge: and now Evas
I've tested make -j 3 install and it works nicely

I've tested expedite with software and opengl xlib,
and it works. Not tested other engines, so please
report any problems (engines or other) on the ML.

TODO: examples and tests, I'll add them later

ISSUE: Eina_Unicode size check. It indirectly depends on
       eina_config.h, which is created at the end of the
       configure script. So its size is always 0. I don't
       know how that size is used, so I can't do a lot,
       for now.

SVN revision: 78895
2012-11-04 11:51:42 +00:00
Vincent Torri 58a9a0ad57 merge: don't use recursive subdirs. Compilation should be faster.
Please check.

note1: Only lib and bin for now, but should be extended to other stuff
note2: distcheck does not work because eo_suite is failing.

SVN revision: 78758
2012-11-01 12:56:52 +00:00
Vincent Torri aac3e95ccf merge: -Wl,--enable-auto-import is useless with recent versions of gcc on Windows
SVN revision: 78495
2012-10-25 22:01:28 +00:00
Vincent Torri 77d90bd45e merge: pass directly to the preprocessor the Windows macro instead of using autotools
SVN revision: 78350
2012-10-23 05:43:57 +00:00
Gustavo Sverzut Barbieri 67a8770fac efl: remove duplicate paths due header move.
eina headers used to be in their own directory, but now they live
inside src/lib/eina. The mempools were still including
include/lib/eina/ and with "sed" they became src/lib/eina/, which
already existed.

SVN revision: 77837
2012-10-10 22:51:18 +00:00
Gustavo Sverzut Barbieri c432e72582 efl: unify EFL_DEBUG_THREADS and EINA_HAVE_DEBUG_THREADS
SVN revision: 77821
2012-10-10 21:48:34 +00:00
Gustavo Sverzut Barbieri 4d35e4ca03 efl: simplify mempools, nuke some and make remaining statically built.
Now we always build the following memory pools statically:
 - pass_through: calls malloc/free directly, useful to debug.
 - chained_pool: default for ages.
 - one_big: used by some embedded systems (should we remove?)

 - ememoa_fixed and ememoa_unknown: depends on a separate lib, not supported?
 - buddy: nobody uses it?

NOTE: we do not need the src/modules/eina/mp/*/ anymore
since they are statically built. But I'll keep these and the
references in src/modules/eina/mp/

SVN revision: 77792
2012-10-10 19:57:53 +00:00
Vincent Torri 7fe3d35994 merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Carsten Haitzler 156f4a783f and more include dir fixes.
SVN revision: 77122
2012-09-27 04:14:38 +00:00
Vincent Torri 785f2a6b3a merge : add eina
currently, examples, tests and benchmark are not set. That's the next things i'll do

SVN revision: 76710
2012-09-16 10:57:48 +00:00