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
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
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
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
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
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
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
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
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
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
Mike Blumenkrantz
4dde203f06
fix textblock parsing of tags with stupid trailing spaces like <br /> which people use for some stupid reason
...
SVN revision: 66444
2011-12-22 03:32:23 +00:00
ChunEon Park
0d3a9bd25c
evas/evas_events - repeat events should not be affected by children.
...
Fixed to object passes events to the next object in the same layer if the repeat_events is enabled
SVN revision: 66416
2011-12-21 07:55:22 +00:00
ChunEon Park
9674e97ef5
evas - proper coding convention.
...
SVN revision: 66364
2011-12-20 07:06:53 +00:00
Carsten Haitzler
885c618f20
add new events for pre/post rendering
...
SVN revision: 66318
2011-12-19 05:50:06 +00:00
Christopher Michael
ac49da31df
Evas: Handle framespace changes also during 'render'.
...
SVN revision: 66306
2011-12-17 18:45:09 +00:00
Carsten Haitzler
34581d0300
Add new api to set and get default event flags.
...
SVN revision: 66275
2011-12-16 09:24:18 +00:00
ChunEon Park
2dd552f003
evas/main - removed unnecessary casting.
...
SVN revision: 66272
2011-12-16 07:22:09 +00:00
Carsten Haitzler
3306dce0c7
useless clip setting in ctx as it's reset a few lines later.
...
SVN revision: 66271
2011-12-16 07:20:12 +00:00
Carsten Haitzler
6fd0ee9262
fix map clip issue that shows up in buffer engine.
...
SVN revision: 66270
2011-12-16 07:04:00 +00:00
Tom Hacohen
3e2f474ef8
Evas textblock: Use macros for the unicode chars/strings.
...
1. Make Obj replacement and Par Sep less confusing.
2. We'll may, at some point, use the Unicode NewLine char instead of \n.
so it's now easily replaceable.
SVN revision: 66255
2011-12-15 13:03:43 +00:00
Tom Hacohen
0e0a275762
Evas textblock: Improved the implementation of *_text_markup_to_utf8.
...
Also support passing NULL instead of a real textblock object.
Added appropriate tests + improved previous tests.
SVN revision: 66254
2011-12-15 12:40:29 +00:00
ChunEon Park
0c0a34fbd9
evas - simplified instructions
...
SVN revision: 66248
2011-12-15 09:56:25 +00:00
ChunEon Park
5db2c421b8
evas - removed unnecessary comments
...
SVN revision: 66246
2011-12-15 09:40:07 +00:00
ChunEon Park
6503e28812
evas - use EINA_TRUE/FALSE
...
SVN revision: 66244
2011-12-15 09:36:51 +00:00
Jiyoun Park
36e658e20a
bug fix related with evas event counter
...
currently evas_object_event_callback_call checks _evas_event_counter
for preventing object's callback called several times in one evas event.
but it use global variable(_evas_event_counter), it can be changed while
procssing same event.
for example , evas_event_feed_mouse_up.
If there are several object in e->pointer.object.in and object 1's callback
create new evas event, object 2 cannot now event id.
so I change callback call api, and object callbacks can decide wheather it deal with that event.
SVN revision: 66234
2011-12-15 06:23:53 +00:00
Jiyoun Park
69a659fbb8
remove white space
...
SVN revision: 66233
2011-12-15 05:56:19 +00:00
Jiyoun Park
c86d47ae59
remove white space
...
SVN revision: 66232
2011-12-15 05:25:37 +00:00
Christopher Michael
0fccea0dee
Evas: Add a Wayland Shared Memory engine (similar to the buffer &
...
framebuffer engines). Add Evas framespace set/get functions.
SVN revision: 66223
2011-12-14 18:44:20 +00:00