Commit Graph

183 Commits

Author SHA1 Message Date
Cedric BAIL d636db3c66 evas: cache conversion from Evas_Map to RGBA_Map.
SVN revision: 72119
2012-06-14 09:58:16 +00:00
Tom Hacohen 77e0f02f72 Revert "evas/event - Fixed incorrect events passing. Now child's repeat events does not affect to the parent's level."
This reverts commit 72080.

It broke everything. EFM stopped responding to mouse clicks, same with
clouseau. Seriously, completely broken.

SVN revision: 72093
2012-06-13 17:37:19 +00:00
ChunEon Park c513f84aa8 evas/event - Fixed incorrect events passing. Now child's repeat events does not affect to the parent's level.
SVN revision: 72080
2012-06-13 10:19:19 +00:00
Mike Blumenkrantz a82974536d fix crash when adding an image to an engineless canvas
SVN revision: 72071
2012-06-13 08:20:28 +00:00
ChunEon Park b726de235a evas/map - removed empty evas_object_map_source_set/get APIs.
They does nothing and discarded since the evas_object_image_source_set/get is providing.



SVN revision: 71984
2012-06-12 07:23:46 +00:00
ChunEon Park 3a0f535a40 evas/line - Fixed simple line drawing on s/w backened. Unmatched loop scope caused the destination buffer pointer march in place.
SVN revision: 71977
2012-06-12 02:52:51 +00:00
Cedric BAIL c9cd50983f evas: make pipe rendering faster by forcing it to update region that fit in CPU cache.
NOTE: for people using Evas pipe rendering infrastructure. I am interested in reporting
expedite test before and after this patch with the associated type of CPU (number, thread,
cache). Thanks.


SVN revision: 71887
2012-06-10 04:58:24 +00:00
Carsten Haitzler 9d96a8ec62 fix bvitmap font handling. woot. can use pcf's and bitmap ttf's well n
ow. :)



SVN revision: 71886
2012-06-10 03:23:57 +00:00
Carsten Haitzler 7772b28002 chlog++
SVN revision: 71553
2012-05-30 10:42:22 +00:00
Cedric BAIL ef3e42033b evas: Don't wake up prepare thread when there is nothing to do.
SVN revision: 71543
2012-05-30 08:15:42 +00:00
ChunEon Park 140e97171b evas/map - fixed to update the rendering when map is enabled.
Now children objects of the mapped object should be cleaned from the internal cache lists.



SVN revision: 71519
2012-05-30 00:51:11 +00:00
Tom Hacohen ef25a41a76 Evas object text: Make the object size big enough to show the whole text.
I.e even if advance is smaller than width, take it into account.

SVN revision: 71507
2012-05-29 14:43:21 +00:00
Tom Hacohen d7f811fe8f Evas font-draw: Use bitmap offset in the glyph when drawing.
SVN revision: 71505
2012-05-29 14:43:10 +00:00
ChunEon Park 63d97b8441 evas/rendering - Fixed to clean up when map actually changed. Now rendering updates will be correct after evas_map acutally disabled for the smart object.
SVN revision: 71490
2012-05-29 05:13:03 +00:00
Carsten Haitzler 5f88a3598b add chlog for memfile change
SVN revision: 71415
2012-05-25 03:31:37 +00:00
ChunEon Park 36bbac26ca evas - updated changelog
SVN revision: 71228
2012-05-18 08:28:55 +00:00
Cedric BAIL e3575cb505 evas: remove librsvg svg loader.
NOTE: as librsvg is a massive source of bugs in e17, it is now
removed from evas. You can still use librsvg by using the
evas_generic_loader. Please not that you need to properly delete
it from your disk if you don't use a package manager. The file to
remove :
/*/lib/evas/modules/loaders/svg/linux-gnu-i686-1.2.*/module.so



SVN revision: 71223
2012-05-18 05:02:44 +00:00
Vincent Torri 2ce55a9f86 Missing entries
SVN revision: 71181
2012-05-16 21:46:56 +00:00
Sung Park b0f7d91c32 Adding MSAA (Multisample Anti-Aliased) Surface Option to Evas GL.
Currently, this feature is only supported in EGL/GLESv2 environment
with GL_IMG_multisampled_render_to_texture extension supported.

_____________________

from:    (sanghee park) sh15.park@samsung.com

Dear all,

     I compose this mail to ask reviewal this patch about multisampling on the evasgl.
     I want to make multisampling capacity to enhance rendering quality of the evasgl.
     But if MSAA is applied always, this have possibility lowering rendering performance,
     I separated user's input level to high, mid, low, none.
     If you want to test this patch, try to examine rendering qulity on EGL circumstance with multisampling level.
     Plaese review it, and any suggestion will be appreciated.

     Best Regards,
     SangHee






SVN revision: 70992
2012-05-14 08:52:56 +00:00
Carsten Haitzler ce4a431e4d Fix pixman rendering support if you set alpha flag AFTER
setting image size for custom image data.
                


SVN revision: 70987
2012-05-14 06:56:22 +00:00
Iván Briano 15328efb85 evas/cserve2: fix typo that kept cserve2 disabled
now seriously...

Introducing Cache Serve 2.

This cache server will initially load images for clients connected to
it. It starts slave processes to load these images, and share the loaded
images through shm with the clients. All the connection done between
clients and the server goes through sockets.

The cserve2 build option is turned on by default, while the old cserve
was disabled, but in order to make clients use it, the environment
variable EVAS_CSERVE2 must be set, and a server must be running.

Clients will try to find the socket on a specified location using the
environment variable EVAS_CSERVE2_SOCKET. If it's not defined, then the
XDG_RUNTIME_DIR path should be used, and finally HOME, TMPDIR and /tmp.



SVN revision: 70699
2012-05-03 21:01:31 +00:00
Cedric BAIL 0f424acb6e evas: and for this nice international hollyday let me introduce a dynamic bounding box for smart object.
This make it possible to use the object tree to reduce the number of object, we need to explore to know
what is under a specific position. First used by propagation event code. That code is now 4 times faster, enjoy !
As a side cost evas_object_move goes from 925 to 980 valgrind cycle on my computer, so not something you
will notice.

NOTE: if you notice any breakage regarding event propagation, map, cats, minor or major, please report to
me ! I hope I didn't loose my mojo, with such a scary change, I have a big chance to get it back !


SVN revision: 70564
2012-05-01 07:31:42 +00:00
Cedric BAIL 71090cd4fd eina,evas,edje,elementary: add missing files from tarballs.
Patch by Jérôme Pinot <ngc891@gmail.com>


SVN revision: 70543
2012-04-30 01:55:06 +00:00
Tom Hacohen 7985383914 Evas textblock: Fixed two textblock issues (range_delete).
Found using raster's cat-debugging skills.
** No cats were harmed during debugging. **

SVN revision: 70535
2012-04-29 09:09:14 +00:00
Cedric BAIL 377cc2368a evas: remove EVAS_FRAME_QUEUING.
NOTE: This should be part of evas_render itself and not
delegated to the engine. So cleaning things to make it easier
during evas_render rewrite.


SVN revision: 70503
2012-04-26 09:53:03 +00:00
Cedric BAIL 9dbaea6dd1 evas: remove WORD_CACHE and METRIC_CACHE.
Note: this two were broken. Current plan to bring
that feature back in, is to attach this information
to Evas_Text_Prop during the prepare stage. This
would improve both single and multiple core rendering
without increasing the number of lock and the complexity
of the code.


SVN revision: 70501
2012-04-26 09:04:08 +00:00
Cedric BAIL 5965fb4282 evas: remove EVAS_SLI code path, it was to slow and unused for years.
NOTE: other things that may join it in the near futur EVAS_FRAME_QUEUE,
EVAS_METRIC_CACHE and maybe EVAS_WORD_CACHE also. This is all part of
cleaning up our rendering path so we can actually improve it more easily.


SVN revision: 70499
2012-04-26 08:41:39 +00:00
Cedric BAIL 0a5c840c48 evas: lock less font rendering.
SVN revision: 70497
2012-04-26 08:18:51 +00:00
Cedric BAIL 8053f61f86 efl: add release point in ChangeLog files.
SVN revision: 70494
2012-04-26 08:07:22 +00:00
Carsten Haitzler c5bdc9e53e news+chlog
SVN revision: 70383
2012-04-22 04:56:24 +00:00
Carsten Haitzler 057a8a2394 add missing changelog and update news.
SVN revision: 70202
2012-04-16 03:03:26 +00:00
Tom Hacohen cacdc89766 Evas textblock: Updated changelog about previous change.
SVN revision: 70130
2012-04-12 10:09:50 +00:00
Carsten Haitzler 6a18b75743 * Fix gl engine clipping bug when rendering to evas map fbo's
when gl window buffer is smaller than the fbo. used wrong
        surface size in clipping logic.
        


SVN revision: 70125
2012-04-12 08:01:13 +00:00
Gustavo Sverzut Barbieri 2757e05a59 evas box layout bugfix.
Due typo the weight was being handled as an integer, not floating
point. It worked with examples since they were usually being round to
int after being sum (0.3 + 0.7 -> 1.0, 3 + 7 -> 10).



SVN revision: 69910
2012-04-03 17:03:47 +00:00
Carsten Haitzler 6a2b539682 add reg_get api for evas objects in order to help fix elm bug.
SVN revision: 69722
2012-03-29 07:46:30 +00:00
Carsten Haitzler 05ad7092d9 evas changelog/news fixed/up to date
SVN revision: 69627
2012-03-26 05:44:18 +00:00
Tom Hacohen 45993d284f Evas textblock: Replaced style_user_set/get with push/pop/peek.
SVN revision: 68952
2012-03-07 14:02:35 +00:00
Cedric BAIL 0dbc99f33a evas: remove software SDL engine, use buffer engine directly.
NOTE: I would like to do the same with software SDL 16bits engine.
But as we don't have a buffer_16 backend, I am likely to just remove
it and use buffer conversion code to match a 16bits target. This
will come with a performance impact, that will make it useless. So
I am just tempted to completly remove it.


SVN revision: 68352
2012-02-23 16:25:07 +00:00
Carsten Haitzler c29416e0d8 fix update region handling with scaling.
SVN revision: 68303
2012-02-23 06:07:37 +00:00
Carsten Haitzler 767e40227c revert cedricism's. this just creates an infintie evas_image_entry leak.
SVN revision: 67755
2012-02-08 11:22:09 +00:00
Cedric BAIL 7055227957 evas: use evas_image_cache_drop instead of plain wrong call to free.
SVN revision: 67681
2012-02-01 17:28:30 +00:00
Tom Hacohen 98c61bfe6c Evas textblock: Added user style support.
This should make it easier to override the style set in textblock.

SVN revision: 67473
2012-01-23 16:08:36 +00:00
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
Cedric BAIL 54fdc48d6a evas: add double buffer support to buffer engine.
NOTE: This patch is a first step to replace and remove
Evas SDL Software backend.


SVN revision: 67347
2012-01-19 15:17:24 +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
Sung Park 2f6b837c7c Added EvasGL support for software backend finally.
* This feature requires libOSMesa to be installed.   

One caveat with OSMesa is that a surface config (ie. Depth Buffer and etc)
is associated with a context rather than a surface, which is the case 
in EvasGL.  So for now, when a user specifies a surface config, it gets 
associated with the first context that the surface does a make current to.
For typical usage case, this shouldn't be a prolem. Will need to fix it 
eventually.




SVN revision: 66896
2012-01-05 07:55:23 +00:00
Cedric BAIL 5438cc6844 evas: use Eina_File for PSD loader.
SVN revision: 66787
2012-01-03 10:26:53 +00:00
Cedric BAIL 41ba3a77d4 evas: use Eina_File when openning XPM files.
SVN revision: 66756
2012-01-02 14:32:21 +00:00