Commit Graph

3790 Commits

Author SHA1 Message Date
Paulo Alcantara a33afe35f9 efl/wayland_egl: Fix invalid argument being passed
evas_common_font_draw() should be called with glyphs array for now,
instead of intl_props.

This patch should fix ticket #2149.

Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>

Patch by: Paulo Alcantara <pcacjr@profusion.mobi>

SVN revision: 82229
2013-01-04 19:37:22 +00:00
Rafael Antognolli f8dbdafae6 evas/wayland_egl: Force EGL_PLATFORM to wayland to skip autodetection.
Since we are already inside wayland_egl code, force this env var to
avoid the EGLNativeDisplayType autodetection (done by EGL code), which
seems to be incorrect.

This commit should fix ticket #1972.

Note: revert this as soon as EGL autodetection gets fixed.

SVN revision: 82183
2013-01-04 16:00:43 +00:00
Gustavo Sverzut Barbieri 9ea2ce1041 efl: merge edje.
this is still in progress, mostly the multisense stuff is pending.

it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).

Changes:
 * __UNUSED__ to EINA_UNUSED
 * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
   will assume the binaries are still not installed, running from
   build tree location (needs more testing, maybe doesn't work with
   srcdir != builddir, still doesn't solve cross compile builds)



SVN revision: 82139
2013-01-04 02:08:14 +00:00
Gustavo Sverzut Barbieri 68188ac0c8 efl: merge eeze.
Changes also in this commit:
 * fix missing EAPI in symbols used by modules
 * removed old libudev and libmount support as agreed by discomfitor/zmike
 * replaced __UNUSED__ with EINA_UNUSED
 * fixed docs hierarchy



SVN revision: 82100
2013-01-03 20:37:42 +00:00
Gustavo Sverzut Barbieri 0a2d116119 efl: eina_alloca.h to simplify alloca() usage.
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/



SVN revision: 82082
2013-01-03 15:10:34 +00:00
Rafael Antognolli 68d21e2e73 evas/loaders: Use png function to access private pointer.
SVN revision: 82065
2013-01-03 12:04:37 +00:00
Cedric BAIL 59ebafcb85 efl: rename eet_map to eet_mmap.
SVN revision: 82051
2013-01-03 09:18:05 +00:00
Cedric BAIL 1e8b9a90bf efl: use Eina_File for PNG to.
SVN revision: 82047
2013-01-03 07:57:18 +00:00
Carsten Haitzler 83574d3ec3 oops - this one got moved byt not changed. fix.
SVN revision: 82022
2013-01-03 00:00:21 +00:00
Carsten Haitzler a34941c17f fix mask write line stuff.
SVN revision: 81998
2013-01-02 15:01:27 +00:00
Cedric BAIL 49b2bfea5a efl: and now tiff also use Eina_File.
SVN revision: 81973
2013-01-02 06:44:26 +00:00
Cedric BAIL 23e6e67ac8 efl: evas gif loader now use Eina_File.
SVN revision: 81971
2013-01-02 05:30:06 +00:00
Cedric BAIL 663d56e498 efl: add eet_map and use it.
SVN revision: 81970
2013-01-02 02:46:05 +00:00
Cedric BAIL 311fe62f75 efl: use Eina_File for evas webp loader.
SVN revision: 81969
2013-01-02 01:50:50 +00:00
Jihoon Kim 8263e62028 scim_immodule: remove EINA_UNUSED in parameter of slot_beep()
SVN revision: 81965
2013-01-01 23:43:23 +00:00
Gustavo Sverzut Barbieri 4668d04f04 efl: cleanup HAVE_THREADS and pthread usage outside of eina.
Eina now abstracts threads, so use that.

the touched files had the EFL_HAVE_THREADS as it's mandatory now.



SVN revision: 81935
2012-12-31 16:14:40 +00:00
Cedric BAIL 51f8fe26fc efl: forgotten evas commit.
SVN revision: 81914
2012-12-31 00:24:40 +00:00
Carsten Haitzler 87d15b8d20 how about we export symbols we intend to dlsym() ?
SVN revision: 81860
2012-12-29 03:56:54 +00:00
Paulo Alcantara 0809c7de3f efl/cserve2: Fix ref/unef of image entries for threads
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>


SVN revision: 81584
2012-12-21 21:13:06 +00:00
Mike McCormack 4680279070 efl: Fix signed comparison warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 81522
2012-12-21 09:01:29 +00:00
Leandro Pereira b3c76a8bc2 evas/software_generic: Remove invalid EINA_UNUSED and other cleanups
SVN revision: 81473
2012-12-20 18:02:33 +00:00
Paulo Alcantara 76932dcc9f evas/engines: Introduce render mode
The render mode should be useful for engines other than software one.

Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>


SVN revision: 81384
2012-12-19 16:15:58 +00:00
Carsten Haitzler 9e5266109d fix 24bpp rendering problem and pixel fetch problem found in qemu/kvm.
SVN revision: 81378
2012-12-19 15:40:52 +00:00
Gustavo Sverzut Barbieri 412c269b1c efl/ecore_evas_extn: don't leak bdata.
PS: I cannot backport this to 1.7.x, could someone do this for me?



SVN revision: 81305
2012-12-18 20:59:44 +00:00
Gustavo Sverzut Barbieri 57da05d406 efl/ecore_evas_extn: fix memory errors.
- EVAS_CALLBACK_FREE and EVAS_CALLBACK_DEL were doing the same thing
   at different stages, causing a segv due double free.

 - extn->file.updates and its Ipc_Data_Update were leaking.

PS: I can't backport this to 1.7, but the problem is still
there. Could someone look into those?



SVN revision: 81304
2012-12-18 20:51:50 +00:00
Leandro Pereira cb10c7d019 evas: Modify software_generic and gl_x11 to with with threaded renderer
SVN revision: 81284
2012-12-18 16:28:55 +00:00
Leandro Pereira 613659b1d8 ecore-evas: Async render
SVN revision: 81283
2012-12-18 16:27:26 +00:00
Leandro Pereira 274c9159c9 evas: Use refcounted glyph arrays
This is in preparation for threaded render landing: the render thread will
hold a reference to a text object's glyphs while it hasn't been rendered
yet (and will drop that reference after drawing). This changes the internal
API a little bit (evas_common_font_rgba_draw() now takes an Evas_Glyph_Array
instead of an Evas_Text_Props).


SVN revision: 81183
2012-12-17 21:27:07 +00:00
ChunEon Park a949b185e6 evas/gl - fix the line incorrect position in arm.
line position is slightly different between gl drivers.

I have no idea why it is. So added to work differently based on the manufacturers.

This work may be based on the renderer. If you can test it with much drivers then please test and fix.

Also changed the ENV name from EVAS_GL_LINE_NO_OFFSET_HACK  to EVAS_GL_LINE_OFFSET_HACK_DISABLE.



SVN revision: 81016
2012-12-15 09:40:47 +00:00
Carsten Haitzler fd90f7b882 start some work on allowing ecore_extn to double-buffer. doesn't do
anything atm about it.. just sets up infra for 2 buffers to exist and
be locked. :)



SVN revision: 80931
2012-12-14 11:19:09 +00:00
Cedric BAIL 981b5f7d40 efl: fix an uninitialized data path in OpenGL engine.
SVN revision: 80808
2012-12-13 10:26:02 +00:00
Cedric BAIL b8ffd432b1 efl: fix potential segv in Evas software engine native_set code.
SVN revision: 80805
2012-12-13 09:46:32 +00:00
ChunEon Park 19e600254f evas/gl - actually, this is correct.
SVN revision: 80758
2012-12-12 12:39:32 +00:00
ChunEon Park 7d98f2be38 evas - fix the gl line inccorect position problem.
I tested gl line drawing on a few devices and found the x line start position was 1.

On the other hand, our evas draws the line on start position 0.

So it needs to shift by 1 pixel if evas is working on gl backcned.



SVN revision: 80734
2012-12-12 08:03:46 +00:00
Jihoon Kim 39bde067b8 scim-immodule: remove unnecessary code
SVN revision: 80557
2012-12-10 02:48:01 +00:00
Jihoon Kim 7de7a24644 scim-immodule: fix wrong parameter name
SVN revision: 80549
2012-12-09 12:36:35 +00:00
Jihoon Kim e13743279f scim-immodule: use ecore_x_display_get instead of XOpenDisplay
SVN revision: 80548
2012-12-09 12:34:10 +00:00
Jihoon Kim bae5080e50 scim_immodule: implement slot_beep
SVN revision: 80513
2012-12-08 07:07:57 +00:00
Gustavo Sverzut Barbieri 2abb5474c4 efl/evas: make egl stuff compile with xcb
SVN revision: 80503
2012-12-07 22:50:47 +00:00
Sung Park 931e4f9325 Fixed polygon rendering bug in GL backend when there are cutouts.
It was clipping everything to (0,0,0,0) so it was all clipped out.


SVN revision: 80427
2012-12-07 10:02:26 +00:00
Sung Park dbcdaa6b68 Added EVAS_GL_LINE_NO_OFFSET_HACK evn var control to handle
line coordinate fiddling in gl line drawing code.  This fiddling
caused issues on some GPU drivers on ARM target.



SVN revision: 80417
2012-12-07 08:28:42 +00:00
Flavio Vinicius Alvares Ceolin ad7579c129 ecore_evas: Make the engines loadable modules
Implementing support for loadables modules. It makes the engines been
loaded when they are needed. It not breakes the api, so each engine
still has its own api.

The implementation basically is:

* Functions that creates Ecore_Evas, for example
  ecore_evas_software_x11_new, request to load its module and then get
  the module's function to create the Ecore_Evas.
* The other functions such as \(.*\)_window_get from the Ecore_Evas
  its interface and then call the appropriate method.
* As there is no unified interface to communicate with the engines
  (not break api problem), all interfaces were declared in
  ecore_evas_private.h
* Now the data necessary for each module is not declared in the
  Ecore_Evas_Engine structure, instead of this, the struct has a void
  pointer that is used by the modules.
* In this first moment engines as software_x11 and gl_x11 were put
  together in the same module, but obviously exporting all the things
  necessary.


SVN revision: 80280
2012-12-05 21:15:42 +00:00
Rafael Antognolli 8ea3c29132 ecore/wayland_egl: Remove image_mask_create from this engine too.
SVN revision: 80267
2012-12-05 16:33:46 +00:00
Gustavo Sverzut Barbieri a332d1c869 efl/evas: remove mask of non-rectangle objects.
it was broken and mostly disabled, so now we do remove it in the hope
who does that next time, does it properly.



SVN revision: 80252
2012-12-05 13:52:59 +00:00
Gustavo Sverzut Barbieri 545057d0b1 efl/evas/filters: say goodbye.
This task wasn't completed and it was all disabled in code, then
remove it so it doesn't add cruft to be looked at.



SVN revision: 80240
2012-12-05 13:03:51 +00:00
Gustavo Sverzut Barbieri dfe93a7f0a directfb says bye...
After agreement in the mail list, core developers agree to remove this
engine that was not being supported for a long time.

Given that most operations Evas uses are not accelerated in DirectFB,
or at least hardware that exclusively supports DirectFB, it's better
for those people to just use Evas/Ecore software (buffer) rendering
and expose DirectFB's framebuffer as destination surface.



SVN revision: 80232
2012-12-05 12:24:01 +00:00
Jiyoun Park aa53580814 if somebody make corrupted bmp file, it can cause crash
SVN revision: 80225
2012-12-05 09:58:56 +00:00
Iván Briano 509abd1aed Fix build of IMF modules
SVN revision: 80066
2012-12-03 13:33:03 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00
Vincent Torri 09358c71d1 merge: remove direct3d (there are some remaining files, they will be deleted with ecore merge)
SVN revision: 79989
2012-12-02 21:07:10 +00:00
Paulo Alcantara f8f79f8599 evas/cserve2: Add scalecache support
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>

Patch by: Paulo Alcantara <pcacjr@profusion.mobi>



SVN revision: 79754
2012-11-27 18:23:25 +00:00
ChunEon Park 4e55742f4a evas/gl - don't need to keep the texture altas height for the framebuffer.
they won't be utilized anything by atlas. 

Cause of this, It wasted unnecessary texture memory. :(



SVN revision: 79637
2012-11-24 17:25:43 +00:00
ChunEon Park 575ecb0ea2 evas/gl - return quickly as possible.
SVN revision: 79634
2012-11-24 14:54:31 +00:00
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 <cp.michael@samsung.com>

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
generated.

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
debugging.



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 <mikem@atratus.org>

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 <mikem@atratus.org>

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 http://www.khronos.org/registry/gles/.

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
function).

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?)

Removed:
 - 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/*/Makefile.am anymore
since they are statically built. But I'll keep these and the
references in src/modules/eina/mp/Makefile.am



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