Commit Graph

3208 Commits

Author SHA1 Message Date
Gustavo Lima Chaves a79ac2aba1 [evas] Just some tweaks on Evas_Smart_Class' docs.
SVN revision: 71137
2012-05-16 01:39:53 +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
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
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
Daniel Juyung Seo 123185958e evas Evas.h: Fixed formatting while reading the code.
SVN revision: 70877
2012-05-08 23:05:49 +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 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
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
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