Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
this stops a very blantant segv when accessing async->tex when it is
NULL on _evas_gl_preload_main_loop_wakeup().
|
|
this fixes the color multiplication logic in the fast path to be
correct.
|
|
It is common that some types of ee's will fail as the underlying system
does not support it, just warn.
|
|
|
|
Should fix CID 1129611 and CID 1129612 from this week coverity scan.
|
|
|
|
|
|
|
|
true.
Fixes Phab Ticket T501
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
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>
|
|
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
context being used.
See commit d2b647d2b378a88bee07610a7416d4257bbebbb6.
|
|
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>
|
|
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
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
|
|
|
|
|
|
|
|
|
|
nvidia > 319 broke alpha windows. this code that was left commented
out fixes it. it didn't used to have any use.
|
|
|
|
Since we are allocating this list and returning it, let's make it more
EFL-like.
|
|
Problem: Software engine fails to render on Tizen device.
|
|
Instead of use direct access to the Ecore_Wl_Window structure, just use
the getter, so we can hide the internals.
|
|
|
|
We can set it from the ecore_wl_window_move() function, instead of
directly changing the attribute.
|
|
It's something specific to the ecore_evas engine/module, so there's no
need to keep this info in the Ecore_Wl_Window.
|
|
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.
|
|
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.
|
|
Some attributes might have been useful in the past, but not anymore.
Just remove since they are not been used anywhere.
|
|
it is used in various places later.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
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.
|
|
Use a getter for it instead, so we don't need to expose the
Ecore_Wl_Window struct just because of it.
|
|
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.
|
|
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.
|
|
still need to account for frame height, but not frame width when we
are maximizing.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
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.
|
|
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.
|
|
Cleaning up unnecessary code.
|
|
a focus in. Similar change for focus_out also.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
the mouse_in function of the ecore_evas.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
Return NULL and check for nullity in the only calling function.
Fixes CID 1039461 (Logically dead code)
|
|
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.
|
|
This reverts commit b87afd1b943b260c92f8493647b7d9cae327656e.
Wrong branch, wrong commit.
|