Commit Graph

1154 Commits

Author SHA1 Message Date
Christopher Michael befdf76da4 Evas (gl_x11): Merge changes from Tizen to upstream EFL.
SVN revision: 73199
2012-07-03 07:31:03 +00:00
Christopher Michael 0d1c4661ab Evas: Support cserve2 for xcb engine.
SVN revision: 73033
2012-06-29 12:01:34 +00:00
Sung Park 06aa05c2c3 EvasGL: Adding MSAA for depth_24_stencil_8 format that was missing
from the previous commit. 


SVN revision: 72970
2012-06-28 03:37:13 +00:00
Sung Park 896d489db8 EvasGL: Fixed a few minor bugs.
- Added (w,h) <=0 dimension check for evas_gl_surface_create()
- Changed evas_gl_make_current to return error when either
  surface or context is NULL.  Semantically, this was allowed 
  before but it was changed to reflect eglMakeCurrent behavior.
- evas_gl_make_current - detached any previously attached
  buffers before attaching new ones to an FBO during a make_current.
- Used dynamic memory for extension string allocation for safety. 


SVN revision: 72926
2012-06-27 08:19:25 +00:00
Christopher Michael 1d1df179f4 Evas (wayland_egl): Patch from Alex Wu to fix NULL comparison of
engine surface.



SVN revision: 72851
2012-06-26 07:08:09 +00:00
Carsten Haitzler 14411517e4 minor improvbement to evas gl engine -> blacklist software rendering
on egl too.



SVN revision: 72794
2012-06-25 10:01:03 +00:00
Rafael Antognolli 2f3426b67c evas/cserve2: CServe2 client side lib modifications.
Add the calls to request font loading and glyphs on the client lib.



SVN revision: 72700
2012-06-22 20:31:31 +00:00
Vincent Torri e68d4430d9 Evas: remove software DirectDraw 16 bits engine
Nowadays, this engine is completely useless. Windows users (>= XP) use
only 32 bits depth color, so let's kill that engine. Less code to
maintain for me.


SVN revision: 72494
2012-06-19 17:06:44 +00:00
Carsten Haitzler 2256af3421 fix gl engine bitmap fonts :)
SVN revision: 72256
2012-06-17 02:23:49 +00:00
Jiyoun Park 3b3c4d18e1 max_samples makes redeclaration
SVN revision: 72115
2012-06-14 09:27:41 +00:00
Sung Park 8d363e06fe EvasGL: some depth_stencil lines didn't get in there the
first time. Merging the rest of the code and submitting.
My fault. 



SVN revision: 72110
2012-06-14 08:05:30 +00:00
Sung Park 05b2490b78 EvasGL: Added proper depth-stencil internal surface format
handling in EGL environment.  Also fixed some minor issues 
regarding checking surface capabilities. Apparently, some
GL drivers do not allow FBO to only have depth or stencil 
buffers attached to the FBO without the color buffer attached 
to them.



SVN revision: 72108
2012-06-14 07:53:54 +00:00
Tom Hacohen a9709c792e Evas font: Support no bidi no shaping mode in font rendering.
For no bidi: just don't set the bidi stuff. I.e paragraph props and the
other stuff (including text_props_direction_set). If you disable BiDi you most
likely want to disable shaping as well.
For no shaping: Disable bidi (i.e don't set direction) and pass
EVAS_TEXT_PROPS_MODE_NONE to info create.

This will prove especially useful for textgrid, but not only.

SVN revision: 72032
2012-06-12 14:14:52 +00:00
ChunEon Park c78cd3f80b evas/line - why do you flush here?
SVN revision: 71945
2012-06-11 12:21:17 +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
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 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
Vincent Torri 2f8a239437 fix a couple of warnings
SVN revision: 71192
2012-05-17 08:31:51 +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
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
Jihoon Kim dc340bbd74 evas gl_x11 engine: remove unused variables
SVN revision: 71133
2012-05-16 01:01:55 +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
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 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
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
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
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
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
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 f046fa4c46 evas: remove unused parameter.
SVN revision: 70550
2012-04-30 09:42:42 +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
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 1468d54c69 quiet stderr on xpm load unless we are loading data this phase
SVN revision: 70455
2012-04-25 04:07:12 +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
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
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
Christopher Michael 61a567a7e2 Evas: Fix wayland_shm engine canvas_alpha return.
SVN revision: 69706
2012-03-28 13:01:54 +00:00