Commit Graph

4639 Commits

Author SHA1 Message Date
Rafael Antognolli c9f610366c evas/cserve2: Slave thread is only a simple callback.
The implementation of the slave doesn't need to care about reading
commands and sending answers. It just receives the arguments for its job
and returns the processed data.



SVN revision: 71599
2012-05-31 21:33:43 +00:00
Rafael Antognolli 9a469b778c evas/cserve2: Add threaded slave support.
It's not being used yet, but the font slave will be done using this
code.



SVN revision: 71598
2012-05-31 21:33:37 +00:00
Sung Park 7aadae8ff2 Adding MSAA extension define for Evas GL MSAA surface support.
SVN revision: 71570
2012-05-31 01:16:53 +00:00
Carsten Haitzler 0ccd4cdf2a FRom daniel zaoui -> spotted issues with callback deletionon evas_free
that may cause evas's to not be freed. fixxxxors!



SVN revision: 71552
2012-05-30 10:41:19 +00:00
ChunEon Park 88c5f1df74 evas/map - fixed afterimage problem. now we don't need work-around code anymore.
SVN revision: 71549
2012-05-30 10:12:10 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
ChunEon Park 6473f0316c evas/map - simplify code
SVN revision: 71545
2012-05-30 08:40:21 +00:00
Cedric BAIL 7909cb7bd6 evas: finally got rid of that nasty dancing font issue with pipe rendering.
SVN revision: 71544
2012-05-30 08:29:29 +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 ba47683a9b evas/render - pre render will be always. don't need if and else if which will be never reached.
SVN revision: 71540
2012-05-30 07:32:27 +00:00
ChunEon Park 84f38fea16 evas/evas_object_smart - simpler code.
SVN revision: 71531
2012-05-30 06:29:14 +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 af55fb6217 Evas text: apply italic correction for run-time slanted texts (disabled).
Also, put the slant angle calculations in a macro for easier future changes.
Just have it there so people who want it can turn it on.

SVN revision: 71506
2012-05-29 14:43:17 +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 054360207b evas/render - they are already cleaned.
SVN revision: 71499
2012-05-29 09:09:13 +00:00
ChunEon Park b2a3f3b540 evas/render - removed duplicated call
SVN revision: 71491
2012-05-29 05:24:43 +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
Christopher Michael 1fbf92cc36 Evas: (wayland): Use Seb's strncmp statement (easier to read, cleaner,
simpler, and possibly faster).

Thanks Seb ;)



SVN revision: 71431
2012-05-25 23:51:21 +00:00
Christopher Michael 909d83bf3a Evas: Fix clipping issue for wayland engines (were drawing outside the
viewort). This fixes the Elm Map 3D test issue where the cube was
drawing onto the window border (and perhaps other tests).



SVN revision: 71426
2012-05-25 12:55:45 +00:00
Christopher Michael ba863e5a41 Evas: Add framespace clip object (for efl wayland clipping issue).
SVN revision: 71425
2012-05-25 12:54:38 +00:00
ChunEon Park c3ace0d8e3 evas - trivial code refactoring for evas_object_clip_recalc
SVN revision: 71418
2012-05-25 08:13:40 +00:00
Daniel Juyung Seo 51c2d442f5 e, evas, elementary: Synced @author with AUTHORS.
SVN revision: 71399
2012-05-24 07:17:05 +00:00
Daniel Juyung Seo 2c7898e5d9 evas evas_object_smart_clipped.c: Fixed formatting.
SVN revision: 71396
2012-05-24 06:48:25 +00:00
Daniel Juyung Seo 2ff06b9333 evas Evas.h: Fixed typo.
SVN revision: 71395
2012-05-24 06:48:21 +00:00
Carsten Haitzler b249d37ce4 based on Raphael's idea of tmpdir env vars and such - but different.
still disables unlink on non-linux.



SVN revision: 71386
2012-05-24 05:07:22 +00:00
Rafael Antognolli 796df2896c evas/cserve2: Refactory slave to inherit from a slave base.
The Slave_Proc now inherits from Slave, which implements all the
communication logic. The Slave_Proc only has specific code for
processes, while a new Slave_Thread should be added soon with code for
slave threads.



SVN revision: 71368
2012-05-23 20:39:39 +00:00
Rafael Antognolli 44ba936c9c evas/cserve2: Add basic font search when a font load is
requested.
This will only look for fonts already loaded before, no new fonts will
be loaded.



SVN revision: 71365
2012-05-23 18:10:39 +00:00
Rafael Antognolli c0f46df5d3 evas/cserve2: Make Font_Entry inherit from Entry.
Also update some code paths to reflect the new type of entry.



SVN revision: 71364
2012-05-23 18:10:32 +00:00
Rafael Antognolli f17b43eb40 evas/cserve2: Add font entries and sources hashes.
Added the needed struct members too, and some functions to manipulate
the hashes.



SVN revision: 71363
2012-05-23 18:10:26 +00:00
Rafael Antognolli 1338b95b15 evas/cserve2: Adding code to receive font messages on
server.



SVN revision: 71362
2012-05-23 18:10:17 +00:00
Rafael Antognolli a97a4f99cc evas/cserve2: Adding some font structs to the cache.
This will allow to create answer messages based on the content of these
structs.



SVN revision: 71361
2012-05-23 18:10:10 +00:00
Rafael Antognolli 9398a60c22 evas/cserve2: Adding message structs for font rendering
communication.



SVN revision: 71360
2012-05-23 18:09:57 +00:00
Iván Briano 02be0a3382 Lil' refactor on CServe2's cache. More to come when the last book of 'A Song of Ice and Fire' is published.
SVN revision: 71356
2012-05-23 17:13:46 +00:00
Tom Hacohen f35bbc3923 Evas grid/table: Add const to objects where needed.
SVN revision: 71312
2012-05-22 10:18:46 +00:00
Tom Hacohen 1d7cdc8348 Evas box: Add const to some getters.
Thanks to Daniel Zaoui for letting me know.

SVN revision: 71308
2012-05-22 08:48:03 +00:00
Carsten Haitzler 69bd9ce72e let's make server work out of the box if u set:
export EVAS_CSERVE2=1

(and run cserve2)



SVN revision: 71274
2012-05-21 08:44:55 +00:00
Sung Park 8250180aec Separated checks for gl2.h defines and gl2ext.h defines in Evas_GL.h.
SVN revision: 71270
2012-05-21 08:01:28 +00:00
Cedric BAIL d30a9bf8be evas: this should fix the last remaining bug with my lockless font rendering.
SVN revision: 71236
2012-05-19 07:43:37 +00:00
ChunEon Park 2a9f42c47e evas/evas_render - and should update the mapped objects when their color is changed since color should be multiplied again.
SVN revision: 71226
2012-05-18 07:17:34 +00:00
ChunEon Park 03995b4e98 evas/evas_render - should call the render_post since the object color can be changed without changing map
SVN revision: 71224
2012-05-18 06:51:30 +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
Cedric BAIL 495addd041 evas: don't try to walk if we don't have anything to walk on.
SVN revision: 71221
2012-05-18 03:16:22 +00:00
Cedric BAIL b0d3526d89 evas: another improvement part of the previous lock less font rendering patch.
Now evas will in all case do the layout during the prepare stage. It will do that
once and as long as the text didn't change. This does improve by a factor of at
least 2.3 in all expedite test case except the text change that only get a 30%
increase (I expect a drop in performance on non pipe rendering for text change
expedite test only, but this case is not common in real life).

This also fix the issue that show random size glyph when using pipe rendering.


SVN revision: 71220
2012-05-18 02:16:54 +00:00
ChunEon Park c21bfb49c2 evas - removed unnecessary fields, changed_nomove and changed_move_only.
These are actually not necessary right now.



SVN revision: 71199
2012-05-17 10:51:54 +00:00
ChunEon Park df0296e0b7 evas/evas_render - removed dead code
SVN revision: 71198
2012-05-17 10:34:53 +00:00
Vincent Torri 2f8a239437 fix a couple of warnings
SVN revision: 71192
2012-05-17 08:31:51 +00:00
Sung Park 38f87ea80b Updating documentation and NEWS for EvasGL Multisample Surface
bits along with general doc update. 



SVN revision: 71191
2012-05-17 06:54:06 +00:00
Vincent Torri 61656c2ecc Evas: use Esvg for svg rendering.
If Esvg is not found, librsvg is used (if found)

See README to see how to installe Esvg


SVN revision: 71180
2012-05-16 21:28:36 +00:00
ChunEon Park a2c7fa2dcc evas/evas_render - trivial changes
changed from integers to Eina_Bool
removed white spaces and fixed indentations



SVN revision: 71170
2012-05-16 13:21:37 +00:00
ChunEon Park 14e43d84fd evas/evas_render - added evas_object_change_reset internal function to remove much duplicated code
SVN revision: 71169
2012-05-16 12:59:33 +00:00
Christopher Michael 81e987e363 Evas (gl_x11): Unbreak build for gles_sgx & s3c6410. Someone removed a
variable that was actually being used :(



SVN revision: 71146
2012-05-16 08:03:31 +00:00
Gustavo Lima Chaves a79ac2aba1 [evas] Just some tweaks on Evas_Smart_Class' docs.
SVN revision: 71137
2012-05-16 01:39:53 +00:00
Jihoon Kim dc340bbd74 evas gl_x11 engine: remove unused variables
SVN revision: 71133
2012-05-16 01:01:55 +00:00
Rafael Antognolli ad37a5e7bf evas/cserve2: Use width and horizontal bearing from
glyph metrics.
Instead of having to render the glyph to get the width and horizontal
bearing of it, it's possible to get this information from the glyph
metrics (which are available on the glyph slot).

This change now allows Evas to only render the glyph at the rendering
phase, instead of having to render it during layout phase.



SVN revision: 71132
2012-05-15 21:15:20 +00:00
Rafael Antognolli d94025ca29 evas/cserve2: Split out the glyph rendering code from
glyph_get().
Now it's possible to get a font glyph without needing to render it
(although Evas is not doing so).



SVN revision: 71131
2012-05-15 21:15:08 +00:00
Christopher Michael 5fbecabb43 Evas (wayland_egl): Fix compiler warnings. Use proper log_domain name.
Fix static build of the engine. Define the proper module name.



SVN revision: 71116
2012-05-15 13:21:01 +00:00
Christopher Michael a4cfab66ab Evas (gl_x11): Fix commit snafu so gl_x11 builds again.
SVN revision: 71115
2012-05-15 13:13:05 +00:00
Christopher Michael 5354f8078a Evas (wayland_egl): Fix build. Add missing files, remove unused ones.
SVN revision: 71114
2012-05-15 13:07:32 +00:00
Christopher Michael 726b718812 Evas (wayland_egl): Update wayland_egl engine to match recent gl_x11
changes.



SVN revision: 71109
2012-05-15 12:03:01 +00:00
ChunEon Park 0645d65c8a evas/evas_render - clean code more in _evas_render_phase1_object_process
SVN revision: 71106
2012-05-15 11:43:23 +00:00
ChunEon Park 5a077b9f85 evas/render - removed unnecessary parameter in _evas_render_phase1_object_process
SVN revision: 71105
2012-05-15 11:29:28 +00:00
Cedric BAIL f9650433ed evas: apparently i am not the only user of the pipeline rendering.
SVN revision: 71104
2012-05-15 11:11:33 +00:00
ChunEon Park fb934425e9 evas - reverted 71099. my mistake
SVN revision: 71101
2012-05-15 08:22:06 +00:00
ChunEon Park b838e41bab evas - removed unnecessary compares
SVN revision: 71099
2012-05-15 07:30:15 +00:00
Iván Briano 148d9cd110 and fix wrong merge, damn it!
SVN revision: 71077
2012-05-14 15:17:12 +00:00
Iván Briano 2810fcd583 bot warnings begone, hopefully
SVN revision: 71076
2012-05-14 15:05:04 +00:00
Cedric BAIL c686762c35 evas: warning--, tasn.happy++.
SVN revision: 70993
2012-05-14 09:21:50 +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 b0907e89b8 LEAKS! GONE!
- Cleanup cache2 things on shutdown
 - Use Eina_File instead of straight shm_open + mmap when loading things from cserve2
 - Do free the mapped images when we don't need them


SVN revision: 70936
2012-05-11 20:12:56 +00:00
Cedric BAIL 4494035fa7 evas: detect properly when we wippe out font information.
SVN revision: 70923
2012-05-11 01:50:40 +00:00
Iván Briano f9de301af5 Fix whatever went wrong here that made software sluggish when not using pipe render
SVN revision: 70911
2012-05-10 17:42:25 +00:00
Daniel Juyung Seo 123185958e evas Evas.h: Fixed formatting while reading the code.
SVN revision: 70877
2012-05-08 23:05:49 +00:00
Sung Park 2687e46077 Fixed a few minor bugs and cleaned up unnecessary code for evas_gl.
Mainly, glDeleteBuffers was being called instead of glDeleteRenderbuffers. 
Also, there was an error when checking if surface is valid.



SVN revision: 70870
2012-05-08 09:40:01 +00:00
Iván Briano a033707137 And make map work with cserve2
SVN revision: 70858
2012-05-07 19:58:34 +00:00
Iván Briano c97f25128b cserve2 warnings begone
SVN revision: 70845
2012-05-07 17:22:06 +00:00
Cedric BAIL 3d04d95a1f evas: track the number of childs.
SVN revision: 70835
2012-05-07 02:11:35 +00:00
Jonas M. Gastal faed16346b Small improvement to evas_object_rectangle_add docs.
SVN revision: 70763
2012-05-04 19:25:33 +00:00
Jonas M. Gastal 14bd718aee Fixing typo.
SVN revision: 70762
2012-05-04 19:25:30 +00:00
Tom Hacohen ab28901628 Evas textblock: Warnings - go away and please don't stay.
SVN revision: 70757
2012-05-04 10:10:29 +00:00
Iván Briano 1e6d85af97 Why this doesn't break for me? Now I have to use the bot for testing.
SVN revision: 70700
2012-05-03 21:17:55 +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 b8ade6a7cf evas: try to fix another breakage by preventing the size of the bounding box to be smaller than the actual object geometry.
SVN revision: 70693
2012-05-03 10:58:12 +00:00
Cedric BAIL f644afebf0 evas: \o/ My mojo is back, unbork pipeline font rendering.
SVN revision: 70687
2012-05-03 07:31:04 +00:00
Sung Park 9c4b7e003d For Evas_GL surface config, prefer to use GL_DEPTH24_STENCIL8
format internally when it's  available instead of using them 
separately.  



SVN revision: 70686
2012-05-03 06:42:37 +00:00
Cedric BAIL 3438ce3f68 evas: a little bit faste.
SVN revision: 70684
2012-05-03 04:40:09 +00:00
Cedric BAIL 9d405225fe evas: let's try to determine the smallest possible size
for the bounding box. This vastly improve the time spent
during event propagation when playing with elm_genlist.


SVN revision: 70683
2012-05-03 03:58:27 +00:00
Sung Park ef0e4dcaec Cleaned up some evas_gl code and added surface cap feature.
(Trying it again since this commit broke evas build yesterday.)

Previously, evas_gl_surface_create() didn't actually do
the render buffer attach to the the FBO. It was performed when
the make_current was called for the first time.  The issue
was that even though the surface was successfully created with
the given configuration, there was a possibility of make_current
failing with the error message "FBO not complete" because of
the surface configuration.

So, I've added a piece of code that checks the FBO
capabilities beforehand to set up a available surface configurations
so that it doesn't have to fail during make_current for unsupported
surface format.

Also, I've changed the surface config in a way that once the
user calls evas_gl_surface_create(), evas gl sets the config
parameter with configuration that evas_gl is actually using.


SVN revision: 70680
2012-05-03 02:33:18 +00:00
Tom Hacohen 241bb1b7e5 Revert "Cleaned up some evas_gl code and added surface cap feature."
This reverts commit 70617.

According to stefan_schmidt, reverting this fixes compilation errors.

SVN revision: 70624
2012-05-02 11:07:29 +00:00
Sung Park d74e82f6d8 Cleaned up some evas_gl code and added surface cap feature.
Previously, evas_gl_surface_create() didn't actually do 
the render buffer attach to the the FBO. It was performed when 
the make_current was called for the first time.  The issue 
was that even though the surface was successfully created with 
the given configuration, there was a possibility of make_current 
failing with the error message "FBO not complete" because of 
the surface configuration.

So, I've added a piece of code that checks the FBO 
capabilities beforehand to set up a available surface configurations
so that it doesn't have to fail during make_current for unsupported 
surface format.

Also, I've changed the surface config in a way that once the 
user calls evas_gl_surface_create(), evas gl sets the config
parameter with configuration that evas_gl is actually using.




SVN revision: 70617
2012-05-02 08:31:15 +00:00
ChunEon Park 9f4da8f68c evas/evas_key_grab - +warning for exceptional case.
SVN revision: 70610
2012-05-02 06:58:08 +00:00
ChunEon Park bbe38e3499 evas/evas_object_textblock - don't be crushed up.
SVN revision: 70603
2012-05-02 06:09:45 +00:00
ChunEon Park e16f958ebd evas/evas_object_table - don't be aborted
SVN revision: 70602
2012-05-02 05:56:06 +00:00
ChunEon Park dae52add37 Evas/evas_object_table - removed white spaces and fixed indentations
SVN revision: 70601
2012-05-02 05:55:15 +00:00
ChunEon Park dbac507018 evas/doc - more information for exceptional cases.
SVN revision: 70600
2012-05-02 05:38:51 +00:00
ChunEon Park 3356a62dcd Evas/Doc - --missed commit.
SVN revision: 70599
2012-05-02 05:32:53 +00:00
ChunEon Park e0b84dd23d evas/doc - added warnings to not make users embarrass when they see segfaults.
SVN revision: 70598
2012-05-02 05:30:33 +00:00
ChunEon Park c3920319ee evas/box - Don't be aborted.
SVN revision: 70595
2012-05-02 05:01:34 +00:00
Cedric BAIL fae5000f2a evas: so we did have a test to check if we could reuse the same map pointer,
but instead we did a malloc, a double memcpy and a free. WTH ?


SVN revision: 70593
2012-05-02 04:37:39 +00:00
ChunEon Park 852a89f3c7 evas/evas_object_box - --whitespaces
SVN revision: 70590
2012-05-02 02:47:12 +00:00
ChunEon Park 258556cbf4 evas/evas_event - do not be crashed.
SVN revision: 70589
2012-05-02 02:40:03 +00:00
Cedric BAIL 096aa3f1d4 evas: reduce complexity and update needed for smart object bounding box.
SVN revision: 70588
2012-05-02 02:17:33 +00:00
Tom Hacohen 580223101c Evas textblock: Fixed a bug with right shadows.
Added a missing break.

SVN revision: 70569
2012-05-01 08:50:25 +00:00
Carsten Haitzler cc87921515 missing fribidi cflags in all places that include evas_private.h ...
which includes fribidi headers from evas font bidi headers...



SVN revision: 70565
2012-05-01 07:35:35 +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
Gustavo Lima Chaves 4bac402899 [evas] When deleting map, resize/move informs will occur, that may want to access smart data.
So, don't delete them before that, eh?



SVN revision: 70560
2012-04-30 20:47:54 +00:00
Tom Hacohen 6841959b14 Evas font: Fix a compiler warning.
SVN revision: 70555
2012-04-30 11:15:18 +00:00
Cedric BAIL f046fa4c46 evas: remove unused parameter.
SVN revision: 70550
2012-04-30 09:42: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 4f29fc88b1 Evas textblock: Fixed warning.
SVN revision: 70536
2012-04-29 09:09:25 +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
Daniel Juyung Seo 1dfc652a9b evas, ecore, elementary: Updated AUTHORS and synced author documentation.
SVN revision: 70529
2012-04-28 01:37:07 +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
Carsten Haitzler b57b9f5fea make notes about wayland stuff being experimental. we cant really back
it until wayland itself is stable. warnings. lets hope it all works
out fine in the end.



SVN revision: 70486
2012-04-26 03:42:41 +00:00
Carsten Haitzler 797949633a patch up another out-of-bound text problem in textblock.
SVN revision: 70459
2012-04-25 08:34:06 +00:00
Carsten Haitzler fb8f30b2ac 1 more valgrind bitch gone. i know pos shouldnt exceed string array
bounds by logic but it crept through - this protects if it does.



SVN revision: 70458
2012-04-25 08:26:05 +00:00
Carsten Haitzler fca120e8cc fix valgrind complaint in textblock.
SVN revision: 70457
2012-04-25 08:04:36 +00:00
Carsten Haitzler 1468d54c69 quiet stderr on xpm load unless we are loading data this phase
SVN revision: 70455
2012-04-25 04:07:12 +00:00
Tom Hacohen 77112d59fd Evas image: Add const to the obj parameter.
Patch by Daniel Zaoui.

SVN revision: 70433
2012-04-24 11:01:53 +00:00
Carsten Haitzler 40f2ca2e5f fix bug/issue with shader saving - it will fail to save if dir exists
for saved shaders (but doesnt have the binary file there). fixed!
(also compress the file too)



SVN revision: 70382
2012-04-22 04:55:11 +00:00
Carsten Haitzler bbf95e48b7 i don't believe that we forgot that desktopgl has an unload for shader
compiler... use it. minor minor minor.



SVN revision: 70374
2012-04-21 01:51:58 +00:00
Carsten Haitzler 0037f3bf30 minor fix to convert-tiled.
SVN revision: 70363
2012-04-20 13:31:53 +00:00
Cedric BAIL d80dae3035 eina: fix Eina_Inarray API to at least match Eina_Array API.
NOTE: some of this function should be moved as inline, but that's to late for a change
I think. So we will fix that if needed.

Second point, I am not happy with is eina_inarray_insert and eina_inarray_insert_at. The
naming is really poor.


SVN revision: 70352
2012-04-20 08:30:59 +00:00
Jonas M. Gastal b2e8a1768c Fixing doc for out of tree builds and removing broken references.
SVN revision: 70276
2012-04-17 16:36:28 +00:00
Carsten Haitzler cd5229f18d clear color multiply when rendering mapped obj
SVN revision: 70187
2012-04-15 03:55:36 +00:00
Carsten Haitzler be24f7791e make sure cinfo is nulled out in jpeg loader!
SVN revision: 70168
2012-04-13 10:25:00 +00:00
Tom Hacohen 3d122951d8 Evas gif-loader: Fixed shadow warnings.
SVN revision: 70129
2012-04-12 10:08:30 +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
Carsten Haitzler 67f7f6a2ae formatting fixup.
SVN revision: 70124
2012-04-12 07:57:50 +00:00
Tom Hacohen 3bfc5fe157 Evas textblock: Fixed building without liblinebreak.
Thanks to David Seikel for spotting it and suggesting the solution.

SVN revision: 70123
2012-04-12 07:20:01 +00:00
Mike Blumenkrantz 61dc86ec9d 70000 GET
SVN revision: 70000
2012-04-11 01:34:12 +00:00
Carsten Haitzler aadce3fe47 spell complaint properly
SVN revision: 69959
2012-04-09 03:43:45 +00:00
Jihoon Kim 170f218f58 evas doxygen warnings from Jérôme Pinot
Attached patch fixes a bunch of warnings in evas doc:
- Make remaining EINA_{TRUE,FALSE} @c, removing some undef link in same
 time
- Make remaining NULL @c
- Fix the color space list
- small random fix


SVN revision: 69956
2012-04-07 14:01:55 +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
Jihoon Kim 25e8dfaaff Evas.h: remove ingroup of Evas_Callback_Type. it's revert of 69885
SVN revision: 69900
2012-04-03 14:21:05 +00:00
Mike Blumenkrantz bf44f22f33 this variable was unused and confusing
SVN revision: 69886
2012-04-03 05:30:35 +00:00
Jihoon Kim 52bb5189df Evas.h: fix doxygen
SVN revision: 69885
2012-04-03 04:15:44 +00:00
Jihoon Kim 65e1091a32 Evas.h: fix doxygen
SVN revision: 69774
2012-03-29 23:59:03 +00:00
Jérôme Pinot 8adb24c24a Patch by: Jérôme Pinot <ngc891@gmail.com>
There is a reference to evas-load-error-str.c in
the evas_load_error_str doc, but this file doesn't exist
anymore so I made the doc link to evas-images.c which use
several times this function.

SVN revision: 69754
2012-03-29 13:51:05 +00:00
Jérôme Pinot 51e5cfe685 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] evas doxygen doc (1)

There are a lot of small things to fix in the evas doc. Here is a first
batch. Fixes are trivial and obvious. Just a question about the first
hunk, I removed the <tdb> that replaced valid email for companies
because it makes doxygen complain about the unknown tag and, well, it
doesn't give any information either. Was there an explanation about
adding this ?

Joined is the patch along with the doc build log diff.



SVN revision: 69749
2012-03-29 11:41:22 +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
Christopher Michael 61a567a7e2 Evas: Fix wayland_shm engine canvas_alpha return.
SVN revision: 69706
2012-03-28 13:01:54 +00:00
Daniel Juyung Seo a49528f7ff evas evas_object_main.c: Revised code. Use EINA_TRUE/EINA_FALSE for Eina_Bool type variable.
SVN revision: 69693
2012-03-28 07:17:39 +00:00
Carsten Haitzler 6c4d8abb01 someone somewhere along the way broke evas_render_method_list(). FIX!
SVN revision: 69634
2012-03-26 10:56:55 +00:00
Vincent Torri 5422bf5b85 Evas: fix shm_open() check (can be in libc or librt)
This works in linux and windows, and should fix shm_detection on BSD (including Mac)

 BSD, Mac and solaris users : please check that it compiles and shm_open is detected


SVN revision: 69612
2012-03-25 16:39:04 +00:00
Vincent Torri d1ba8d6035 whitespaces--
SVN revision: 69611
2012-03-25 12:08:23 +00:00
Carsten Haitzler ef3db76d55 go back to the "old fashioned way" of doing yuv->rgb without matrix.
the matrix seems to screw up on too many gl drivers/implementations.



SVN revision: 69579
2012-03-23 06:49:42 +00:00
Jonas M. Gastal dc6c19e47e Those are not currently implemented, so documenting them is confusing to
users.

SVN revision: 69568
2012-03-22 16:57:16 +00:00
Jihoon Kim 44a3dae112 Evas.h: fix other typos
SVN revision: 69567
2012-03-22 14:47:18 +00:00
Jihoon Kim 0ec5df8a64 Evas.h: fix some typos
SVN revision: 69566
2012-03-22 13:32:34 +00:00
Jérôme Pinot 5900e0c953 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] evas doc typos

3 typos in evas doc.



SVN revision: 69539
2012-03-21 11:54:28 +00:00
Carsten Haitzler e92d5fb2eb fix map overdraw issue that has snuck in during development
SVN revision: 69534
2012-03-21 04:04:03 +00:00
Carsten Haitzler 8143b3969a make sure we clean temporary objects - make some notes too.
SVN revision: 69522
2012-03-20 08:08:42 +00:00
Carsten Haitzler b56d2a710b fix up missing LKI/LKD which was still pthread. hurts windows port due
to using eina_lock there.



SVN revision: 69498
2012-03-19 06:18:44 +00:00
Cedric BAIL d350177475 evas: print error instead of only silently preventing bad things to happen.
SVN revision: 69460
2012-03-16 15:02:01 +00:00
Jonas M. Gastal 9cf9e95eff Compile fixes for evas examples.
SVN revision: 69113
2012-03-09 18:05:56 +00:00
Christopher Michael ec001b86a2 Evas (wayland_shm): Support setting destination alpha.
SVN revision: 69072
2012-03-09 02:33:37 +00:00
Christopher Michael 531668d2ca Evas (wayland_egl): Cleanup compiler warnings.
SVN revision: 69065
2012-03-08 16:55:42 +00:00
Carsten Haitzler f853b3613b remove umask. mkstemp does it. :)
SVN revision: 69012
2012-03-07 18:22:52 +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
Carsten Haitzler d38630875c to be paranoid - ensure umask for mkstemp allows no other uids oir
grps access.



SVN revision: 68910
2012-03-07 09:05:47 +00:00
Tom Hacohen 4a091a072c Evas textblock: Fixed bug in style tags parsing.
Thanks a lot to cedric for letting me know about it.

SVN revision: 68831
2012-03-06 13:54:37 +00:00
Jiyoun Park 30b53c7d2c fix BS related with jpeg rotation.
during decoding, ie's w and h should not change it's value
because several objects use same cache entry  


SVN revision: 68809
2012-03-06 11:52:03 +00:00
Tom Hacohen bdaa2c201d Evas textblock: Fixed wrong parsing of style tags. Support escaped '.
Thanks to cippp for the report.

SVN revision: 68573
2012-03-01 13:08:53 +00:00
Jonas M. Gastal db7f5d6c5f Evas event freezing code sample.
SVN revision: 68555
2012-02-29 13:49:04 +00:00
Jonas M. Gastal a64769e15f Add warning that people should probably use ecore evas instead of evas
event feeding.

SVN revision: 68554
2012-02-29 13:49:00 +00:00
Christopher Michael 720f7996ae Evas (wayland): Comment out eglTerminate (is causing hangs when
running under the current weston compositor).



SVN revision: 68518
2012-02-28 21:57:59 +00:00
om101.woo cf569fb2bf From: <om101.woo@samsung.com>
Subject: image data get/set pairing issue

I found a bug about pairing
evas_object_image_data_get/set(eng_image_data_get/put).

It was added to count checked_out for paring
eglMapImageSEC/eglUnmapImageSEC.
 
In case of calling evas_object_image_data_set() twice after calling
evas_object_image_data_get(), dyn.checked_out has -1.

Then, if evas_object_image_data_get() and evas_object_image_data_set()
is call, it can't call eglUnmapImageSEC().
 
If dyn.checked_out has minus, it can make some problem.

So, I fixed this problem.
 
Please find enclosed patch file and let me know if I misunderstood.



SVN revision: 68504
2012-02-28 11:55:14 +00:00
Carsten Haitzler 45bd2a60cd warning--
SVN revision: 68467
2012-02-27 05:52:25 +00:00
Thanatermesis 4776bcfbd7 Fix linking complaints brought out by:
From: Thanatermesis <thanatermesis.ecvs@gmail.com>
Subject: [E-devel] LDFLAGS with -Wl,-z,defs

Aparently if you add the option "-Wl,-z,defs" to your LDFLAGS, there's some
libs that doesn't compile, like evas and e_dbus, there's some logs:



SVN revision: 68464
2012-02-27 05:20:17 +00:00
Jiyoun Park b59b60032a fix gif cannot deal with transparent color.
when make first frame, it didn't consider alpha value.
change code to deal with alpha value



SVN revision: 68450
2012-02-26 10:46:56 +00:00
Jonas M. Gastal 058d798bb8 Evas generic object group documentation improvement.
SVN revision: 68425
2012-02-24 17:05:44 +00:00
Cedric BAIL cd9cb6abb5 evas: add Exotic support.
SVN revision: 68404
2012-02-24 11:21:57 +00:00
Sung Park ac0d52f04d Fixed glBindFramebuffer(0) issue for Direct Rendering
optimization.  current_fbo wasn't being set to 0 
so the above case wasn't being handled properly. 



SVN revision: 68392
2012-02-24 08:13:48 +00:00
Seungsoo Woo cf926fda0b From: Seungsoo Woo <om101.woo@samsung.com>
subject: [E-devel] [Patch] Add override gl apis for osmesa

When an application use glBindFramebuffer or glBindRenderbuffer via 
evas_gl after loding libosmesa.so,it shows segment fault.

Because glBindFramebuffer and glBindRenderbuffer are not overrided.
So, I fixed it.



SVN revision: 68391
2012-02-24 07:55:04 +00:00
Carsten Haitzler 354ccb36b4 yes - inow. this managed to get out in 1.1 being deprecated. lets not
mark the func as deprecated tho - keep in docs.



SVN revision: 68370
2012-02-24 00:52:29 +00:00
Jonas M. Gastal cbff250f77 Better evas rectangle docs.
SVN revision: 68356
2012-02-23 18:14:30 +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 978448d656 since too many people make this mistake of not reading evas's docs and
seeing color is PREMULTIPLIED ARGB... evas_object_color_set is just
going to enforce it and limit r, g and b to a.



SVN revision: 68299
2012-02-23 04:53:19 +00:00
Mike Blumenkrantz c7297f530f silence annoying xpm header not found error message; this is frequently caused (erroneously) when reading images of unknown format
SVN revision: 68289
2012-02-22 23:58:46 +00:00
Carsten Haitzler 396572a355 fix regression during 1.1 dev (towards 1.2) that made evas over-render
way too much! FIXED



SVN revision: 68204
2012-02-21 07:01:39 +00:00
Carsten Haitzler ad09d3dcb8 shut gcc warning up - pointless but hey - 1 warn less.
SVN revision: 68102
2012-02-18 08:56:00 +00:00
Vincent Torri 189ee16538 missed this file
SVN revision: 68101
2012-02-18 08:33:36 +00:00
Vincent Torri 4060b7d96e Evas: remove WIN32_CPPFLAGS and WIN32_CFLAGS are there are not used anymore. Move some headers in evas_common.h
SVN revision: 68100
2012-02-18 08:33:00 +00:00
Vincent Torri 937eb5a4a6 Evas: use evil_path_is_absolute()
SVN revision: 68092
2012-02-17 21:35:57 +00:00
Gustavo Lima Chaves c0e58279f5 [Evas] Use the right size for parent smart class on
inheritance.



SVN revision: 68029
2012-02-16 16:27:21 +00:00
Carsten Haitzler 6ead226a93 while looking into the infintie loop issue - update regions can become
a lot in these pathological cases, so limit them to 24 and if > use
bounding box as a single region.



SVN revision: 67917
2012-02-14 11:45:23 +00:00
Carsten Haitzler e669719714 make rect_t use int's... no overflow. yay!
SVN revision: 67884
2012-02-13 14:37:41 +00:00
Hyoyoung Chang 0c74d1c82d From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] evas - preventing retard mouse event
process in evas_object_event_callback_call

I made a small patch to prevent retard mouse event process.
At certain circumstance (like as genlist select callback + naviframe
item push),
some events are repeat processed.

If some evas_objects're iterating in evas_event_feed_mouse_up and
mouse_out event's emitted by other interrupt(such as naviframe item
push),
then some evas_objects events are multiple processed by
evas_object_event_callback_call.

More elaborating it with a example.
There are a genlist and a multibuttonentry on genlist item.
When a user clicks multibuttonentry then evas will process mouse down
and up.
in evas_event_feed_mouse_up, it gets evas object list to process mouse
events.
Then in the evas object list, there are two evas objects - rect and
textblock.
Two objects have its own parents.

the rect has below parents.
----------------------------------------
edje  - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller  (0x2a601788)
rect                                      <== the rect

the textblock has below parents.
----------------------------------------------
edje - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller(0x2a601788)
edje
elm_pan
edje
textblock                           <== the textblock

(note : two evas object have same parent (els_scroller))

So normally mouse up callbacks event propagates to its own parent.
the rect is processed to genlist item. and the textblock is processed
to genlist item.
but when els_scroller is processed, it's blocked by checking event
type and event id checking.

Mouse Up(rect) ->  Mouse Up(textblock)
event_id (3)      ->   event_id (3)

evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type
type, void *event_info, int event_id)
{
   ...
      if ((obj->delete_me) || (!obj->layer)) return;
         if ((obj->last_event == event_id) &&
                (obj->last_event_type == type)) return;
                     <=== blocked
                     
                     However if naviframe item is pushed in the middle
of mouse up processing.
It can break into mouse up. So it's processed like below.

Mouse Up(rect) -> Mouse Out(rect) -> Mouse Out(textblock) -> Mouse
Up(textblock)
event_id (3)      -> event_id(4)         -> event_id(4)
-> event_id(3)
(note Mouse_Out is made by naviframe item push for event freezing)

If that, there's no mechanism to block that repeat processing same
event.
So I suggest this patch.
This patch blocks old events if there's no reason to process.
(It blocks old mouse_up event because mouse_out is processed.)

And I think it also clear the bug in
"[E-devel] event repetition with elm_naviframe/elm_genlist"



SVN revision: 67879
2012-02-13 11:25:23 +00:00
ChunEon Park 839b56769a evas/gl_common - set line color with draw context.
SVN revision: 67870
2012-02-13 05:05:59 +00:00
ChunEon Park f6db68d6f5 evas/evas_events - do not call the up event when obj is freezed and removed useless codes.
SVN revision: 67828
2012-02-10 13:39:15 +00:00
Tom Hacohen 8a1351b5f0 Evas textblock: Better handle visible formats.
Fixed a crash. Thanks WooHyun for making me fix it now. :)

SVN revision: 67790
2012-02-09 12:21:18 +00:00
Tom Hacohen edbdd6a1ad Evas jpeg loader: Fixed a couple of compilation warnings.
There are a couple more *important* warnings. The switch case at line 564
does not cover all options.

SVN revision: 67784
2012-02-09 10:21:17 +00:00
Carsten Haitzler 3c9c59c5a5 hmm no - we shouldnt delete here.. we just find it in the active image
hash. as such the image is dirtied and thus removed from this hash
anyway so it doesnt need deleting.



SVN revision: 67778
2012-02-09 03:50:10 +00:00
Carsten Haitzler b7efefd294 some more debug for surfs
SVN revision: 67758
2012-02-08 12:25:50 +00:00