With the fresh new Evas Wayland SHM engine, it is not necessary to handle with
surface damage and commits anymore. Also let's not synchronize the rendering
with the compositor, because we want to be as fast as possible for the sake of
the benchmark.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
SVN revision: 83329
"if (obj)" was added automatically before every "eo_do()" call.
Later I removed this check from some places, so they are clean.
Places, where check is still presenting,
could either cause warning, or not.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
SVN revision: 83181
Most of those functions in engine_wayland_common.h should be static.
Also, move the shell surface listener to the common codebase.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
SVN revision: 79526
Moved most of the seat/keyboard code to a common file so both shm and egl
engines can reuse the code.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
SVN revision: 79516
t_count gets only incrmented and starts with 0. Safe to make it unsigned which make its sane to
comapre against another unsigned value in i.
SVN revision: 75074
Expedite: Fix bug with mouse handling in sdl engine
A button press would send '1' as the button (the pressed state) and the
release would send '0', so evas would think button 1 was never released
so it would never register any button releases.
SVN revision: 74322
when the mouse cursor goes to outside of the window, then the mouse up event in the rect would be skipped (is it correct?)
So the down would be never 0 again.
We can make it simpler and working better also.
SVN revision: 71713
This result in an overall drop of 17% in performance. I think it
may be due to some stuff related to HWSURFACE, the fact it use
double buffer or that maybe SDL_FillRect was faster for cleaning up
memory. If someone is really interested by this performance drop,
better fix them with buffer engine.
SVN revision: 68351
Subject: [Patch] expedite: fix segfault at exit
shutdown the engine before evas because Xext, Xrender and GL (loaded by evas)
seem to register a hook which is called in XCloseDisplay (in engine_shutdown()).
this segfault because evas_shutdown() should unload those libs, and so,
invalidate the hook pointer.
this bug was already noted by caro in @43373:
> strangely, the xrender xlib and gl xlib engines are segfaulting when
XCloseDisplay is called (in the shutdown function). > It does not with soft
xlib. I absolutely don't know why.
with this proper fix, remove also Xext, Xrender from dependencies,
which are not used directly by expedite.
triggered by compiling with --as-needed, because it removed unused libs:
libXrender, libXext.
tested with xlib, gl and sdl engine
SVN revision: 65336