Commit Graph

3089 Commits

Author SHA1 Message Date
Sung Park 9afd5b3f3f Added Direct Rendering to Evas' window instead of an FBO in Evas_GL.
This optimization is significant for rendering to a large surface 
because it'l save an extra copy overhead as well as an extra rendering pass.

To enable it, you can give EVAS_GL_OPTIONS_DIRECT hint in the surface
config options_bits. The following conditions have to be met in order
for evas to render directly into the Evas' window. If they are not met, the 
engine will fallback to rendering to an FBO as it normally does. 

conditions: 
1.) All the GL calls have to be called using the pixel_get_callback function.
This is necessary for the evas object order to be maintained.
2.) Alpha must be disabled on the image ojbect that renders evas_gl.
3.) No rotation allowed.

One way to override above condition is to set EVAS_GL_DIRECT_OVERRIDE=1 but 
there is no guarantee in its behavior.

Currently, this optimization is added for gl_x11 engine only. 




SVN revision: 67388
2012-01-20 12:29:14 +00:00
Stefan Schmidt 0802e6a28d evas_blend_ops: Fix gcc complains about static used in non static inline functions.
Make the functions static as well to avoid gcc warnings like this:
warning: 'ALPHA_SSE3' is static but used in inline function 'sub4_alpha_sse3' which is not static

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>



SVN revision: 67355
2012-01-19 16:55:17 +00:00
Gustavo Sverzut Barbieri 9a47bffc98 fix gcc warnings about set-but-unused and shadows of y1.
NOTE: did not touch mess that is jpeg, someone else can deal with it :-P



SVN revision: 67353
2012-01-19 16:49:47 +00:00
Tom Hacohen 7266659814 Evas textblock: Fix a bug with ellipsis and word-wrap.
Ellipsis didn't work well with word wrapping textblocks.

SVN revision: 67333
2012-01-19 12:11:44 +00:00
Tom Hacohen 1941918cdd Evas textblock: Also add tab support to prev commit, oops.
SVN revision: 67328
2012-01-19 08:44:01 +00:00
Tom Hacohen c6d242426f Evas textblock: Filter out illegal chars from format.
This really just filters them out. The solution is not complete, nor is
it the best one. But this fixes the bugs for the meanwhile.

SVN revision: 67327
2012-01-19 08:41:37 +00:00
Tom Hacohen e37d4495d3 Evas textblock: Indentation adjustment for the previous commit.
(I wanted the actual changes to be clear for review, so I split the
commit to two).

SVN revision: 67321
2012-01-19 07:52:37 +00:00
Tom Hacohen ef0ac9d69a Evas textblock: Merge text and format wrapping handling.
This should add a more standard compliant line breaking for format items
as well.

SVN revision: 67320
2012-01-19 07:52:34 +00:00
Sebastian Dransfeld 7f9dc64529 evas: correct notation to indicate unused variable
SVN revision: 67305
2012-01-18 23:34:05 +00:00
Sebastian Dransfeld 45f0dcbd45 evas: only check references ifndef EVAS_CSERVE
We only check the value of references if EVAS_CSERVE isn't defined, so
no need to define it or assign it if EVAS_CSERVE isn't defined.

SVN revision: 67304
2012-01-18 23:33:54 +00:00
Sebastian Dransfeld 26de65cf2c evas: before_char is only used with BIDI_SUPPORT
SVN revision: 67303
2012-01-18 23:33:43 +00:00
Sebastian Dransfeld c9abcf691d evas: Remove unused variables
SVN revision: 67302
2012-01-18 23:33:33 +00:00
Sebastian Dransfeld ccfb163282 evas: par_len is only used with BIDI_SUPPORT
SVN revision: 67301
2012-01-18 23:33:21 +00:00
Sebastian Dransfeld 28dff90eff evas: Fix shadow warnings
SVN revision: 67300
2012-01-18 23:33:07 +00:00
Carsten Haitzler 0e9a475092 update all minor versions to 2 (or 6) - and yes. i missed making most
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.



SVN revision: 67284
2012-01-18 02:32:36 +00:00
Carsten Haitzler a70fc50208 we can optimize matching by breaking loop when match becomes 0 :)
SVN revision: 67267
2012-01-17 09:15:31 +00:00
Carsten Haitzler ad3aca617f and in a fit of rage... i'm removing those EINA_PURE's - one of them i
found was causing compiler optimizations to, in some compielr versions
and optimization levels, to skip a func in the eva stest suites...
which is wrong. no more pure mumbo. gone entirely.
evas_textblock_string_escape_get() was the one.



SVN revision: 67266
2012-01-17 09:15:05 +00:00
Carsten Haitzler 4ae6816486 add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN for accessibility
:)



SVN revision: 67264
2012-01-17 08:35:32 +00:00
Iván Briano 11d67f493d Add evas_object_smart_callback_del_full API
Patch by Raphael Kubo Costas (rakuco)


SVN revision: 67246
2012-01-16 17:25:40 +00:00
Sung Park 20b3d52669 Added new Evas GL api called evas_gl_config_new/free()
to ensure backward compatibility.  Previously, the user
simply declared a Evas_GL_Config object but this can
cause problems if more config options are added.  So,
we have Evas allocate the config object for the user
so it can handle addition in the future.

Also, added some safety code around _extensions_init


SVN revision: 67141
2012-01-12 13:54:06 +00:00
Daniel Juyung Seo d6c052a65a evas: applied eina_array_count_get -> eina_array_count change.
SVN revision: 67020
2012-01-10 15:34:39 +00:00
Youness Alaoui 8c91b5b493 Evas: Do not build altivec feature if disabled in configure
On macosx i386, that code fails because even though __VEC__ is defined,
the compiler doesn't understand the 'vector' keyword (that macro is
irrelevent here). So there was no way to make evas compile for ppc if
altivec was not supported by the compiler.

SVN revision: 66966
2012-01-08 07:22:01 +00:00
Daniel Juyung Seo 6bdf286cdb evas Evas.h: Fixed documentation.
SVN revision: 66888
2012-01-05 02:07:50 +00:00
Cedric BAIL b39ff33ff7 evas: disable dead code.
SVN revision: 66867
2012-01-04 11:46:39 +00:00
Cedric BAIL 1400dc9892 evas: forgotten inclusion of config.h.
SVN revision: 66866
2012-01-04 11:45:22 +00:00
Tom Hacohen 2d1166d846 Evas textblock: Fixed a possible bug with generic poppers removal.
Patch by Hyoyoung Chang.

SVN revision: 66798
2012-01-03 14:33:35 +00:00
Christopher Michael e98c22f96c Evas: Framespace width & height Could be zero (it is possible), so
remove checks.



SVN revision: 66762
2012-01-03 01:01:58 +00:00
Christopher Michael 8e2de5ae3d Evas: Fix move/resize of smart objects when using a frame (fixes elm
borders in wayland).



SVN revision: 66761
2012-01-02 21:27:46 +00:00
Carsten Haitzler a5638a0a65 clarify docs that you must free when done.
SVN revision: 66744
2012-01-02 11:29:51 +00:00
Mike McCormack 2489fd44bf evas: Avoid crash when there's no GL implementation
Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 66708
2011-12-31 23:07:22 +00:00
Carsten Haitzler 36ef335ae9 fix mouse out handler to out all objects mouse is in - right thing to
do.



SVN revision: 66699
2011-12-30 15:20:15 +00:00
Carsten Haitzler e3c2428b9b notes.
SVN revision: 66698
2011-12-30 15:17:13 +00:00
Christopher Michael 6dd4ff46ba Evas: Send proper intercept size based on 'is_frame' or not.
SVN revision: 66637
2011-12-29 18:02:23 +00:00
ChunEon Park e735350d91 evas - removed white spaces
SVN revision: 66624
2011-12-29 11:18:44 +00:00
Daniel Juyung Seo 0c167d3052 evas Evas.h: Fixed typo.
SVN revision: 66618
2011-12-29 04:45:30 +00:00
Carsten Haitzler 295e53e24b warn--
SVN revision: 66592
2011-12-28 06:02:53 +00:00
Carsten Haitzler 2e250ed50e actually allow cursion levels to be set/limited.
SVN revision: 66590
2011-12-28 06:00:37 +00:00
Carsten Haitzler d72c60d269 add recursive name fund func evas_object_name_child_find()
SVN revision: 66587
2011-12-28 05:07:31 +00:00
Carsten Haitzler 6f5a4382d0 fix some formatting i spotted.
SVN revision: 66570
2011-12-27 12:03:03 +00:00
Carsten Haitzler d832fca15c add feature to help fix bug in ecore-evas
SVN revision: 66567
2011-12-27 12:01:17 +00:00
Christopher Michael e696f0d43f Evas: Add 'since' on new functions.
SVN revision: 66544
2011-12-26 23:41:24 +00:00
Christopher Michael 810cf11241 Evas: Default framespace to zero on new canvas creation.
Some cleanup of commented out code.
Fix some formatting.



SVN revision: 66538
2011-12-26 23:11:07 +00:00
Christopher Michael f1e9715711 Evas: Fix calculations for framespce when changed.
SVN revision: 66537
2011-12-26 23:10:27 +00:00
Christopher Michael c4aa1944f9 Evas: Default 'is_frame' to false for new objects.
Handle 'moving' nad 'resizing' of objects if they are not 'frame objects'
Add code for frame_object_get/set functions.
Fix some formatting.



SVN revision: 66536
2011-12-26 23:09:45 +00:00
Christopher Michael 1e7bfab5ee Evas: Add functions to get/set if an object is a 'frame object'.
SVN revision: 66535
2011-12-26 23:08:17 +00:00
Christopher Michael 0740555698 Evas: Add 'is_frame' property for objects (used in wayland engines).
SVN revision: 66534
2011-12-26 23:07:52 +00:00
Sanghee Park 550b8417c7 From: Sanghee Park <sh15.park@samsung.com>
Subject: Drawing objects by pixman

        * Extend pixman support to allow other operations to use
          pixman when doing software rendering. On x86 this isn't useful
          but on ARMv7 with NEON pixman happens to do better with image
          blending and nearest scale blending.
        * Add tiled rotator for 32bit display as an option.



SVN revision: 66478
2011-12-23 11:50:29 +00:00
ChunEon Park bf8ddb5ecb evas - one more line duplicated.
SVN revision: 66470
2011-12-23 02:24:19 +00:00
ChunEon Park ad007a72d6 evas - removed duplicated lines
SVN revision: 66469
2011-12-23 02:20:56 +00:00
Cedric BAIL e94feaf21b evas: now that we use eina_lock, we don't need this #ifdef.
SVN revision: 66466
2011-12-22 16:54:44 +00:00