Commit Graph

73 Commits

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