summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-07ecore-evas-drm: Fix formattingChris Michael
Summary: No functional changes, just formatting cleanup Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-07ecore_evas_drm: Added support for initial rotation in ecore_evas_drmkabeer khan
Summary: Resolved FIXME added support for initial rotation in ecore_evas_drm initialisation @fix Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1837
2015-01-07evas textgrid - fix drawing of codepoints that are 0Carsten Haitzler (Rasterman)
this fixes artifacts if you have cells with 0 codepoints and also have underlines or strikethroughs in them. @fix
2015-01-07evas map aa - match previous fix.Carsten Haitzler (Rasterman)
this matches 83eb1aa3c2e15568c89546048d72d7cae071ee42 fix in the other map render func
2015-01-07Evas map: Fix AA with opaque imagesJean-Philippe Andre
Well... actually this is not exactly a fix. It just restores the previous behaviour, and allows AA to work. As in, it won't draw ugly black lines but properly blend to transparent. But there is still a problem: The image map render function changes the alpha flag on the source image if AA is enabled or if the map has an alpha color. This is actually wrong as images forcefully set to not have any alpha (with evas_object_image_alpha_set(0)) will then not be opaque anymore. Right now I can't think of a solution (also I don't quite follow the entire pipeline in evas map...). Changing the flag will make some opaque areas transparent. Not changing the flag will produce ugly artifacts where AA blending should happen. Fix one bug and the other appears, and vice versa. This can be tested with the example evas-map-aa and adding an alpha channel to cube1.png (with gimp for instance) but manually setting alpha to 0 in the code. Weird stuff will happen (try playing with the map and pressing I to switch to/from image mode).
2015-01-07Evas examples: Fix comment also in evas-map-aa.cJean-Philippe Andre
i'm dumb and didn't even read the line above the one i changed...
2015-01-07Evas examples: Fix command line in evas-map-aa.cJean-Philippe Andre
2015-01-07Evas map: Kill build warnings and don't set image flagJean-Philippe Andre
Don't change a source image alpha flag at render time. It doesn't make sense at this point. Also remove unused int pa.
2015-01-07evas map - new aa map has extra overflow with line list - fix it.Carsten Haitzler (Rasterman)
this fixes a feature added in this version of efl. as above.
2015-01-07edje - fix uninitialized coord sizes if swallow obj is invalidCarsten Haitzler (Rasterman)
this fixes invalid sizing calcs if shallowed obj is invalid and we cant get geometry etc. @fix
2015-01-07Evas masking: Fix a potential issue with pixmanJean-Philippe Andre
Untested. Just skip pixman path when there's a mask.
2015-01-07Evas masking: Add some test casesJean-Philippe Andre
Here are only 3 very basic test cases. One is a dumb set/get to check that image objects can be passed as clippers. The other one is a pixel verification test with extremely basic data (NEAREST scaling and just rectangles). It also compares text clipping and masking. The last one performs a very basic verification that masks of masks work.
2015-01-07Evas masking: Minor fixes in GL maskingJean-Philippe Andre
2015-01-07Evas masking: Fix invalid geometry after mask redrawJean-Philippe Andre
The proper geometry should be set when rendering the mask, otherwise we can't create a new surface if it changed dimensions.
2015-01-07Evas masking: Fix another set of rendering artifactsJean-Philippe Andre
2015-01-07Evas masking: Fix mask blend functions (SW engine)Jean-Philippe Andre
The selected op func was not performing the correct operation, thus producing rendering artifacts. These functions should not be used anywhere except in case of masking... which was not an available option earlier. It was doing (wrong): dst = interp(mask, src, dst) Instead of (correct): dst = dst + (1 - mask) * src NOTE: This commit also disables MMX, SSE3 & NEON implementations of pixel_mask blend operations, since they are also broken.
2015-01-07Evas masking: Add rectangle masking for GLJean-Philippe Andre
2015-01-07Evas masking: Simplify and fix vertex logic in GLJean-Philippe Andre
There was some geometry problem, and this commit also simplifies a lot of code by factorizing it a lot.
2015-01-07Evas masking: Use new texm sampler instead of texaJean-Philippe Andre
texa should be used only for RGB+A whereas texm should be used for masking. This should fix RGB+A masking, too.
2015-01-07Evas masking: Add support for YUV, YUY2, NV12 masking in GLJean-Philippe Andre
RGB+A masking needs to be implemented, because there's a clash (only one texture name "texa" is available).
2015-01-07Evas masking: Add support for BGRA/ARGB maskingJean-Philippe Andre
Also, refactor font & image GL masking.
2015-01-07Evas masking: Font masking for GLJean-Philippe Andre
2015-01-07Evas masking: Implement image masking for GL enginesJean-Philippe Andre
2015-01-07Evas masking: Implement support for map draw (SW)Jaeun Choi
2015-01-07Evas masking: Implement support for polygon draw (SW)Jaeun Choi
2015-01-07Evas masking: Implement support for line draw (SW)Jaeun Choi
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-01-07Evas masking: Add edje supportJaeun Choi
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-01-07Evas masking: Implement event masking supportJaeun Choi
In case the clipper is a mask object, we should use precise event masking. By default precise_is_inside is not enabled because it is expensive, but it should probably be set by the application when they use masks as clippers. Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-01-07Evas masking: Implement mask support in evas_renderJean-Philippe Andre
This implements supports for masking inside evas_render, which means: - Render the mask itself into a surface (ALPHA if possible) - Pass this mask surface to the draw context - Apply mask recursively in case a masked object is contained by another masked object. @feature
2015-01-07Evas masking: Allow setting an image object as clipperJean-Philippe Andre
The render function is not yet implemented, but this prepares the infra used to set an object other than Rectangle as a clipper. @feature
2015-01-07Evas masking: Add clip_image_[un]set functions to draw contextJean-Philippe Andre
This allows passing a mask image to the render functions. @feature
2015-01-07Evas masking: Use alpha mask in SW engine draw functionsJaeun Choi
Work done by Jaeun Choi, rebased & squashed by jpeg. This commit introduces changes to the low-level draw functions of the SW engine considering the existence of an alpha mask image. Features: - Font masking (TEXT, TEXTBLOCK), - Rectangle masking, - Image masking (all image scaling functions should be handled). The mask image itself is not yet set in the draw context (see following commits). @feature Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-01-07tests: Remove file after Evas 3D save testJean-Philippe Andre
This should remove src/.eet and maybe src/.ply make distcheck would fail on my machine because src/.eet was not removed.
2015-01-07[Evas: Evas_3D] Fixed bug with bounding shapes update.Dmytro Dadyka
Reviewers: cedric, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1851
2015-01-07evas/examples: do build evas_3d_shadowsChunEon Park
2015-01-07[Evas: Evas_3D]Fixed bug with shadows and blending of vertex positionDmytro Dadyka
Reviewers: cedric, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1850
2015-01-06fix build when cxx is disabledMike Blumenkrantz
2015-01-06edje shadow warning--Mike Blumenkrantz
added in c501f2ce ref D1768
2015-01-06ecore-drm: Fix issue with TakeControl and ReleaseControl functionsChris Michael
Summary: The dbus calls to TakeControl and ReleaseControl of a session are actual Methods that need to be setup and called in order to operate properly. As such, this commit fixes that issue by using the proper eldbus method calls, and fixes an issue where shutting down Enlightenment would lead to "cannot release control" error messages. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06ecore-drm: Fix incorrect launcher shutdown procedureChris Michael
Summary: We need to clean tty handlers and close the tty Before we can call logind_disconnect as that function ends up shuttting down our dbus connection. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06ecore-evas-drm: Perform shutdown in proper orderChris Michael
Summary: This fixes an incorrect order with shutdown of drm library. Sprites are created (during init) before inputs, so they should be shutdown After inputs are. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06eet: Remove unused variableChris Michael
Summary: This just removes an unused variable spotted during compile. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06ecore_evas: fix doc for ecore_evas_pointer_warp.Andrii Kroitor
Reviewers: cedric Subscribers: cedric, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D1815 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-06edje: Edje_Edit - add Proxy to Edje_Part_Collection_Directory_Entry ↵Cedric BAIL
initializatoin. Summary: Add proxy while init Edje_Part_Collection_Directory_Entry at edje_edit_group_add and edje_edit_group_alias_add. @fix @fix Reviewers: Hermet, seoz, cedric, raster Subscribers: reutskiy.v.v Projects: #efl Differential Revision: https://phab.enlightenment.org/D1846 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-06eet: refactoring jpeg encoding.Cedric BAIL
2015-01-06eet: refactorize handling of endian.Cedric BAIL
2015-01-06eet: use eina_swap*() function instead of custom slower one.Cedric BAIL
2015-01-06Evas fonts: Fix minor deviation in RLE font renderJean-Philippe Andre
So I've discovered some weird output values after drawing some text. The destination alpha would become 0xFE even when the back buffer had a background with 0xFF alpha. Example: Dest is 0xff00ff00 (green). Color is 0xffffffff (white). Current font alpha is 170 (0xaa). --> Output was 0xFEaaFEaa instead of 0xFFaaFFaa. This is because of some slightly invalid calculation when doing the font masking (mtab[v] = 0x55 above). Indeed, MUL_256 takes alpha values in the range [1-256] and not [0-256] as was assumed.
2015-01-05eolian-cxx: Fixed mixed inheritance between C and C++ classesFelipe Magno de Almeida
Removed genereation for Eo.Base primitive methods which segfault'ed on parent_set function.
2015-01-05eolian_cxx: Using eina::optional to handle parameters without @nonull propertyVitor Sousa