summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)AuthorFilesLines
2013-11-26evas: allow fuzziness on the texture format returned by GL.Cedric Bail1-1/+37
2013-11-25evas - gl engine - async texture upload - protect null tex handle accessCarsten Haitzler (Rasterman)1-9/+17
this stops a very blantant segv when accessing async->tex when it is NULL on _evas_gl_preload_main_loop_wakeup().
2013-11-21evas - map fast path for rectangular objects had color mul wrongCarsten Haitzler (Rasterman)1-7/+15
this fixes the color multiplication logic in the fast path to be correct.
2013-11-21ecore_evas: No error if window creation failsSebastian Dransfeld1-5/+5
It is common that some types of ee's will fail as the underlying system does not support it, just warn.
2013-11-21evas: No error if blacklisted, just warnSebastian Dransfeld1-8/+8
2013-11-18evas: those if (re) are useless indeed.Cedric Bail1-2/+2
Should fix CID 1129611 and CID 1129612 from this week coverity scan.
2013-11-17oops - remove printf debug.Carsten Haitzler (Rasterman)1-1/+0
2013-11-17evas - evasgl ... make osmesa sw render support work againCarsten Haitzler (Rasterman)1-5/+13
2013-11-16evas - gl - osmesa also try older osmesa major versionsCarsten Haitzler (Rasterman)1-11/+18
2013-11-15Don't call input panel show/hide methods unless input_panel_enabled isChris Michael1-3/+6
true. Fixes Phab Ticket T501 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15Unify ecore_evas resize code across both shm and egl engines.Chris Michael3-228/+52
This reduces code duplication for ecore_evas resize routines inside wayland engines by using a common _ecore_evas_wl_common_resize function as the resize code for both engines was the same anyway. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15Add function prototype for _ecore_evas_wl_common_resizeChris Michael1-0/+1
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15evas: fix potential similar problem as with GL X11 backend with wrong ↵Cedric Bail1-2/+8
context being used. See commit d2b647d2b378a88bee07610a7416d4257bbebbb6.
2013-11-15evas: fix a missing eglMakeCurrent in image_cache_flush/image_cache_set in ↵Wonsik Jung1-0/+5
the GL X11 backend. [Problem] When glTextureDelete is called in image_cache_flush(), it sometimes doesn't work. [Cause] glTextureDelete is called with the wrong eglContext. [Solution] Call eng_window_use() in image_cache_flush() and image_cache_set() to use the correct eglContext. Change-Id: Id7ab1aaeb456be6dbc5f09cb2731ace5399a5dce Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-11-14Fix some formattingChris Michael1-6/+6
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-14Remove blank lineChris Michael1-1/+0
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-13evas_gl : Fixed macro substitution bug in evas_glSung W. Park1-2/+2
In evas_gl_api_ext_def.h there're calls such as: _EVASGL_EXT_DRVNAME(EGL_KHR_image_base) The macro is defined in evas_gl_api_ext.c as: (strstr(glexts, #name) != NULL || strstr(glueexts, #name) != NULL) if (_EVASGL_EXT_CHECK_SUPPORT(name)) *ext_support = 1; But EGL_KHR_image_base is itself a macro, which is defined in EGL/eglext.h like this: Thus, the _EVASGL_EXT_CHECK_SUPPORT macro will unwrap into: (strstr(glexts, "1") != NULL || strstr(glueexts, "1") != NULL) instead of intended: (strstr(glexts, "EGL_KHR_image_base") != NULL || strstr(glueexts, "EGL_KHR_image_base") != NULL) This patch fixes this by applying stringification earlier in _EVASGL_EXT_DRVNAME Bugfix reported by jinhyung.jo@samsung.com
2013-11-10eina: avoid warning.Cedric BAIL1-0/+1
2013-11-10ecore_evas: use portable infrastructure to detect page size.Cedric BAIL1-1/+4
2013-11-10eina: use portable infrastructure to detect page size.Cedric BAIL1-2/+4
2013-11-09warning--Carsten Haitzler (Rasterman)1-1/+1
2013-11-09evas - gl engine - this fixes the breakages in new nvidia driversCarsten Haitzler (Rasterman)1-6/+6
nvidia > 319 broke alpha windows. this code that was left commented out fixes it. it didn't used to have any use.
2013-11-07evas: Nice catch from Coverity, fix defect CID 1126097, 1126096 and 1126088.Cedric Bail1-3/+2
2013-11-04ecore/wayland: Use eina_inlist instead of wl_list for globals.Rafael Antognolli1-2/+2
Since we are allocating this list and returning it, let's make it more EFL-like.
2013-11-04evas/x11: Fix Xlib swapper buffer sizeJean-Philippe Andre1-0/+2
Problem: Software engine fails to render on Tizen device.
2013-11-01ecore/wayland: Add ecore_wl_window_keyboard_get().Rafael Antognolli1-1/+1
Instead of use direct access to the Ecore_Wl_Window structure, just use the getter, so we can hide the internals.
2013-11-01ecore/wayland: Set win->resizing flag inside ecore_wl_resize().Rafael Antognolli2-2/+0
2013-11-01ecore/wayland: Set win->moving from inside ecore_wayland.Rafael Antognolli1-4/+1
We can set it from the ecore_wl_window_move() function, instead of directly changing the attribute.
2013-11-01ecore(_evas)/wayland: Move frame callback to engine data.Rafael Antognolli2-10/+16
It's something specific to the ecore_evas engine/module, so there's no need to keep this info in the Ecore_Wl_Window.
2013-11-01ecore/wayland: Add title_set and class_name_set APIs.Rafael Antognolli3-20/+4
These two APIs will save the title and class_name inside Ecore_Wl_Window, so if they are called before the shell surface is created, the stored names will be used later when the window is finally shown (shell surface is created). This way we are also hiding the shell surface from ecore_evas modules.
2013-11-01ecore_evas/wayland: Do not update opaque region to the same value.Rafael Antognolli1-6/+0
This should not be necessary, since it's setting exactly the same current opaque region. Changing the opaque region might be needed, but not here.
2013-11-01ecore/wayland: Remove attributes that are not used anymore.Rafael Antognolli3-25/+2
Some attributes might have been useful in the past, but not anymore. Just remove since they are not been used anywhere.
2013-11-01Fix compiler warning: Need to define _state_update function early asChris Michael1-6/+6
it is used in various places later. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31ecore/wayland: Do not store "edges" in Ecore_Wl_Window.Rafael Antognolli3-7/+1
This is a configure event info, so put it in the right place. Some places adding edges info were also removed, which means that they were redundant. Tested with <Meta> + middle click resize, and with window border resize, on all the edges. Apparently, nothing breaks.
2013-10-31ecore/wayland: Do not use win->id directly.Rafael Antognolli3-4/+4
Use a getter for it instead, so we don't need to expose the Ecore_Wl_Window struct just because of it.
2013-10-31ecore/wayland: Make Ecore_Wl_Input private.Rafael Antognolli1-4/+8
It's mostly only used inside ecore_wayland library anyway. The only bit needed outside of the library is the "seat" pointer, but a new function was added to retrieve such pointer from Ecore_Wl_Input.
2013-10-31ecore/wayland: Hide Ecore_Wl_Display.Rafael Antognolli1-2/+7
This struct is only used inside ecore_wayland itself, so there's no real reason to expose it. Apparently, hiding it doesn't break anything, except for the ecore_imf wayland module, which was easily fixed. If anyone notices a breakage, please let me know.
2013-10-31Ok, This actually fixes maximized state properly now :) Basically, weChris Michael1-3/+4
still need to account for frame height, but not frame width when we are maximizing. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31Fix ecore_evas_wayland maximized support to function properlyChris Michael1-4/+3
Previously, a "maximize" of an efl client would not actually resize to the provided size as it would account for framespace width & height. This fixes that so now "maximize" is Actually maximized. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31Implement ability to call the ecore_evas state_change function ifChris Michael1-2/+11
needed. NB: Currently, this will only work for fullscreen or maximized states as other ones like sticky, withdrawn, iconic, etc, etc are not supported via wayland protocol yet. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31whitespace--Chris Michael1-1/+1
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31Call _ecore_evas_mouse_move_process function on mouse_in and mouse_outChris Michael1-0/+2
events. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-30evas/cserve2: Fix image preload with gl-x11 engineJean-Philippe Andre5-7/+80
Cserves supports only the SW (xlib) and GL (gl-x11) engines. Also, improve cs2 support for some lesser used functions in the gl_x11 engine.
2013-10-30evas - gif loader rewrite (clean up code, document it a lot AND fix bugs)Carsten Haitzler (Rasterman)1-814/+602
after several days of beating head on desk, i gave up trying to find the exact cause of some gifs not rendering right as animated gifs due to the loader. it had something to do with dispose mode handling and which frame it was applied to. i noticed the structure made it also hard to fix, so this re-structures the entire thing with cleaner code, less code AND more comments, with a limited memory cache (512k) for previous frames per image (to avoid eating up huge memory blobs for big/long animations - though at the expense of cpu), and with some notes for future fixes - like fixing the "load 2 copies of the same animated gif" issue... that's another day. this does fix https://phab.enlightenment.org/T443 along with many other things.
2013-10-30EvasGL: cleaning up unnecessary code.Sung W. Park3-58/+0
Cleaning up unnecessary code.
2013-10-29On a focus_in event, if the ecore_evas already has focus, don't resendChris Michael1-1/+2
a focus in. Similar change for focus_out also. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-29If mouse is already inside the ecore_evas, then we don't need to callChris Michael1-4/+3
the mouse_in function of the ecore_evas. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-29evas/cserve2: Fix error path in evas_cache2_image_writable()Jean-Philippe Andre1-1/+8
Return NULL and check for nullity in the only calling function. Fixes CID 1039461 (Logically dead code)
2013-10-28ecore/wayland: Use sync callback to report end of ecore_wl_init().Rafael Antognolli2-4/+0
At the end of the ecore_wl_init() function, send a sync request to the server, and add a callback listener to the "done" event. When this event is received, we are sure that all the registry bind requests done so far were processed already, and that the registry and globals are available and can be used. Now, on the functions that request interfaces or registry, we call _ecore_wl_init_wait(), which will check if the callback was received already (that means that all requests inside the init were processed). If it was not yet, then we wait until receiving that callback, before returning the requested data.
2013-10-28Revert "change init done bindings."Rafael Antognolli2-0/+4
This reverts commit b87afd1b943b260c92f8493647b7d9cae327656e. Wrong branch, wrong commit.