Commit Graph

300 Commits

Author SHA1 Message Date
Cedric BAIL 3ef31223f6 cleanup, remove warning, useless if and tab . 2014-08-22 18:29:02 +02:00
Cedric BAIL 281bbd90fd move to use Ecore and Ecore_Evas. 2014-08-22 18:28:59 +02:00
Stefan Schmidt ec0863e6ed engine_drm: Fix typo in error message 2014-07-10 12:34:08 +02:00
Cedric BAIL bacba21ab0 eo: fix build due to change in the Eo API.
Apparently nobody is running expedite this days...
2014-06-25 10:47:42 +02:00
Tom Hacohen acf7130b52 Update code according to the recent eolian generation changes. 2014-06-03 14:21:17 +01:00
Tom Hacohen ea387769f5 Adjusted code to use the Eo2 API. 2014-04-03 12:27:57 +01:00
Jean-Philippe Andre 26ba629f00 Fix previous commit's API usage and improve layout
Font effects now have "padding_set" which will fix the geometry
of the text object. Thanks to Jaeun for preparing this work :)
2014-03-25 11:56:29 +09:00
Jaeun Choi c3890ffeb1 Add font effect tests (alpha blur, rgba blur)
Patch by eunue (Jaeun Choi): D658
2014-03-25 11:34:27 +09:00
Chris Michael d68739908f expedite: Use proper engine field name
@bugfix: The engine field name for Drm engine changed in master.
Update expedite drm engine code to match.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 14:39:54 +00:00
Carsten Haitzler c52f943e6e add 1050p mode for output res 2014-03-04 14:56:06 +09:00
Cedric Bail 01ff7df1f2 expedite: report the resolution size in pixels in help. 2014-02-28 13:05:11 -03:00
Cedric Bail 21d03f8a61 expedite: add Samsung Serie 9 resolution. 2014-02-28 12:59:54 -03:00
Chris Michael d846790c37 expedite: Add support for setting vsync in drm engine
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 12:42:35 +00:00
Chris Michael 3571eef532 Add expedite drm engine files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-12 08:22:48 +00:00
Chris Michael 64cdd1677e Add expedite drm engine functions if built with drm engine support
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-12 08:22:11 +00:00
Chris Michael e6442777a4 Add expedite drm header to includes if building with drm support
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-12 08:21:22 +00:00
Chris Michael ac729f10f4 Add drm build sources for expedite drm tests
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-12 08:20:48 +00:00
Chris Michael 5174c08f1f Fix expedite to build for wayland engines
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-12 08:18:04 +00:00
Chris Michael 196b527d51 Fix expedite to build for wayland engines
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-12 08:17:49 +00:00
Chris Michael 5f70cec6e5 Fix expedite to build for wayland engines
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-12 08:16:27 +00:00
Thanatermesis a5e6af917a document the -y option in the default help output 2013-12-02 17:12:30 +01:00
Cedric Bail 1a9f0c74ae expedite: cleanup formatting. 2013-06-28 10:20:52 +09:00
Chris Michael 394ce6a170 Flush display events after dispatching.
NB: speedup in fps.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 13:55:27 +01:00
Chris Michael 3c7b6797da Flush display events after dispatching
NB: slight speedup in fps.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 13:54:59 +01:00
Chris Michael 504bb0e2bb If we cannot connect to the wayland display, then print an error and
exit.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 12:53:00 +01:00
Chris Michael 078473137f Add missing initializer for wl_seat_listener name function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 12:39:47 +01:00
Carsten Haitzler 5dabf01fca fix valgrind complaint in proxy test 2013-06-11 11:35:43 +09:00
Daniel Juyung Seo 02f1fb2a92 Applied recent evas_canvas_render_async API change.
-EAPI Eina_Bool         evas_render_async(Evas *e, Evas_Event_Cb func, void *data) EINA_ARG_NONNULL(1);
+EAPI Eina_Bool         evas_render_async(Evas *e) EINA_ARG_NONNULL(1);
2013-03-27 09:32:11 +09:00
Christopher Michael b5916516c1 We should use dispatch_pending here.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84381
2013-02-26 14:51:11 +00:00
Carsten Haitzler 4689ceb088 add new test to expedite.
SVN revision: 84374
2013-02-26 09:53:51 +00:00
Cedric BAIL 244a1da63c expedite: test and benchmark lines.
SVN revision: 84039
2013-02-18 06:50:33 +00:00
Eduardo Lima (Etrunko) 81676f217d Remove unecessary code
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
2013-01-25 13:24:17 +00:00
ChunEon Park dce0fb3159 expedite - removed filter/mask codes
SVN revision: 83323
2013-01-25 10:55:11 +00:00
Christopher Michael a9e39877d2 Modify expedite wayland shm engine to work with new Evas one.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83295
2013-01-24 12:16:33 +00:00
Yakov Goldberg f473d6996b adding if (obj) before eo_do(obj) to avoid Eo warning messages
"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
2013-01-23 15:05:24 +00:00
Yakov Goldberg faf1579d35 expedite: porting to Eo
Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>

SVN revision: 83180
2013-01-23 15:05:09 +00:00
Cedric BAIL f0bca469a9 expedite: enable benchmarking of async renderer.
SVN revision: 81777
2012-12-28 03:24:07 +00:00
Cedric BAIL 1477f6b155 expedite: add back a expedite-cmp parsable output.
SVN revision: 79816
2012-11-29 07:01:54 +00:00
Eduardo Lima (Etrunko) 5e69c24b6e Don't leak struct wl_registry
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 79565
2012-11-23 17:49:39 +00:00
Eduardo Lima (Etrunko) 267f9e2106 Cleanup and Reuse Code
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
2012-11-21 22:17:45 +00:00
Eduardo Lima (Etrunko) 167611c5f1 Added support for wayland SHM too
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
2012-11-21 15:45:20 +00:00
Eduardo Lima (Etrunko) d27dc525eb Added keyboard support for Wayland EGL
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 79515
2012-11-21 15:45:02 +00:00
Eduardo Lima (Etrunko) 7eab217299 Remove warnings
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 79514
2012-11-21 15:44:54 +00:00
ChunEon Park 902905ef60 expedite - here is good to use EINA_LIST_FOREACH
SVN revision: 78880
2012-11-03 09:43:56 +00:00
ChunEon Park 6f135f2734 expedite - calc weighted fps more clearly.
SVN revision: 78878
2012-11-03 09:39:59 +00:00
ChunEon Park 533fa58a7e expedite - let it print more meaningful words
SVN revision: 78827
2012-11-02 07:07:20 +00:00
ChunEon Park d78ed2e298 expedite - --white spaces & trailings.
SVN revision: 78825
2012-11-02 05:15:34 +00:00
Eduardo Lima (Etrunko) f81697bb99 Basic support for wayland engines
Next: Mouse/Keyboard support

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 78799
2012-11-01 15:57:18 +00:00
Eduardo Lima (Etrunko) 8ac751d68e Expedite: Remove software_16_X11 code
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 78402
2012-10-24 14:14:25 +00:00
Carsten Haitzler 6bf7790fa7 vincent wanted 16bit ddraw gone from expedite.. so it shall be!
SVN revision: 75204
2012-08-13 10:17:48 +00:00
Stefan Schmidt 1fcf0101f3 expedite: For the ifdefs we use Xinit we should include the header
SVN revision: 75077
2012-08-10 09:19:05 +00:00
Stefan Schmidt fc24feaee2 expedite: Switch to newer keycode to keysym handling from XKBlib.h
SVN revision: 75076
2012-08-10 09:19:01 +00:00
Stefan Schmidt ad8e7a7e8c expedite: Remove unused vars and paramater copy and pasted around
SVN revision: 75075
2012-08-10 09:18:57 +00:00
Stefan Schmidt 4311466d1a expedite: Don'T compare signed and unsigned values.
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
2012-08-10 09:18:52 +00:00
Youness Alaoui 5fb6f8bccf Expedite: Applying same patch as the one I put for sdl engine on September 7th.
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
2012-07-23 11:58:57 +00:00
Cedric BAIL 025ea406ee expedite: don't leak Evas_Map.
SVN revision: 73272
2012-07-04 12:02:17 +00:00
ChunEon Park 8030912040 expedite - fixed mouse grab lost problem.
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
2012-06-05 12:25:59 +00:00
ChunEon Park 0375436758 expedite - fixed indentations before fixing a bug
SVN revision: 71712
2012-06-05 12:21:17 +00:00
Vincent Torri f161656713 expedite: fix label
SVN revision: 70938
2012-05-12 08:23:59 +00:00
Cedric BAIL d6821d5d8b expedite: don't overallocate things.
SVN revision: 70609
2012-05-02 06:57:59 +00:00
Cedric BAIL a1beb50ce7 expedite: remove SDL 16bpp engine support.
SVN revision: 68445
2012-02-25 17:54:54 +00:00
Cedric BAIL 98b733080e expedite: remove software_sdl backend and use buffer instead.
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
2012-02-23 16:11:52 +00:00
Tom Hacohen 38cd554da6 Expedite: Use the new default tags.
SVN revision: 66195
2011-12-14 13:47:09 +00:00
Tom Hacohen 012af4d3d8 Elm test: Update tests to use the new self-closing textblock tags.
SVN revision: 66027
2011-12-08 12:40:03 +00:00
Bruno Tarquini 44476d7e76 From: Bruno Tarquini <btarquini@gmail.com>
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
2011-11-17 10:54:54 +00:00
Youness Alaoui 798a3e739c Expedite: Add support for the PSL1GHT engine
SVN revision: 64780
2011-11-05 17:49:43 +00:00
Nicolas Aguirre 336c043d87 expedite: Add gl_cocoa support in expedite
SVN revision: 64654
2011-11-02 18:31:31 +00:00
ChunEon Park 7045c20e5b expedite - warning--
SVN revision: 64592
2011-11-01 01:24:55 +00:00
Youness Alaoui da98dde899 Expedite: Do not call sync() if unavailable on the system (replaces #ifdef WIN32)
SVN revision: 63464
2011-09-18 21:57:24 +00:00
Youness Alaoui e277ec0fbf 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: 63259
2011-09-07 06:59:07 +00:00
Youness Alaoui ad8e55c611 Expedite: Add 480p as a supported resolution
SVN revision: 63255
2011-09-07 06:58:41 +00:00
Carsten Haitzler 3889c081cd fix weighting calc for expedite
SVN revision: 63055
2011-09-01 12:36:19 +00:00
Boris Faure a0de575d9f remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Carsten Haitzler 1e4840e5de disable filter tests.
SVN revision: 59897
2011-06-02 10:39:56 +00:00
Tom Hacohen 717e0ed2e6 Expedite textblock-intl: Correct the hebrew test string.
Note: It still doesn't make sense, but at least it now correctly tests BiDi
support.

SVN revision: 59874
2011-06-01 14:39:15 +00:00
ChunEon Park 0b475a7a46 expedite / removed warnings.
SVN revision: 59089
2011-05-02 00:12:48 +00:00
Brett Nash d9d9ca82d1 Add brightness tests.
SVN revision: 59069
2011-05-01 06:39:31 +00:00
Carsten Haitzler 6ddaefaaf6 more tests that fail. woot.
SVN revision: 58999
2011-04-28 10:46:41 +00:00
Carsten Haitzler 2f2dd23ee4 more tests - use text as mask.. no go.
SVN revision: 58997
2011-04-28 10:07:25 +00:00
Carsten Haitzler 39635aa465 ooh so many more mask tests... and oh so many more mask bugs.
SVN revision: 58994
2011-04-28 09:44:29 +00:00
Tom Hacohen 60a3053453 Expedite tb-autoalign: Added an LRM to fix rendering in \n compat mode.
SVN revision: 58921
2011-04-26 07:29:30 +00:00
Vincent Torri 5067f72bcb Expedite: warnings--
SVN revision: 58872
2011-04-24 17:14:34 +00:00
Vincent Torri 9b5b9e48a6 Expedite: use cross platform values
SVN revision: 58866
2011-04-24 10:32:54 +00:00
Carsten Haitzler 422ab6ba43 and fix filter api to be consistent with evas.. letalone all of efl.
VERB AT END!!!! (get/set/whatever)



SVN revision: 58749
2011-04-20 08:13:33 +00:00
Brett Nash 180423aefc Add filter tests.
SVN revision: 58728
2011-04-19 06:09:34 +00:00
Brett Nash 758cbafbda Expedite: Add image mask test.
SVN revision: 58727
2011-04-19 06:09:31 +00:00
Cedric BAIL 2a6efe355b expedite: remove Evas GL Glew user.
SVN revision: 58361
2011-04-05 13:21:15 +00:00
Cedric BAIL 3a86dd96a7 expedite: remove deprecated Evas Quartz backend.
SVN revision: 58356
2011-04-05 12:10:51 +00:00
Carsten Haitzler 62c2d26768 only warm up if runing all tests
SVN revision: 57467
2011-03-02 09:33:47 +00:00
Brett Nash ebe7b0745e Expedite: Proxy tests: Add some proxy tests.
So this covers a basic image, and some text tests.

SVN revision: 56976
2011-02-13 00:27:08 +00:00
Carsten Haitzler 0eb947b47b fix weight calcs!
SVN revision: 56252
2011-01-21 07:04:26 +00:00
Carsten Haitzler 04ed2e9e8b fix weighting table! tasn brokesd it. :)
SVN revision: 56235
2011-01-20 05:23:18 +00:00
Vincent Torri 23b182c2f7 sync() does not exist on Windows (XP or CE)
SVN revision: 55982
2011-01-07 18:08:42 +00:00
Tom Hacohen 0a90736d71 Expedite: Added a new test for textblock text appending.
SVN revision: 54990
2010-11-25 16:40:39 +00:00
Cedric BAIL ba990a5681 * expedite: don't segv when GL SDL engine is not compiled.
SVN revision: 54593
2010-11-16 15:31:44 +00:00
Carsten Haitzler f9b851a365 warm up cpu on auto-tests
SVN revision: 54332
2010-11-08 15:02:58 +00:00
Cedric BAIL 2881402e2c * expedite: fix stride usage (stride are indexing bytes not pixels).
SVN revision: 53030
2010-10-04 15:59:08 +00:00
Vincent Torri 755d81b728 fix gdi engine wrt shape windows fixes
SVN revision: 52417
2010-09-18 17:19:57 +00:00
Carsten Haitzler 11a0377961 add tests for yuv rotated map thing. :)
SVN revision: 51894
2010-09-05 02:58:51 +00:00
Lucas De Marchi 9572d6f406 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00