summaryrefslogtreecommitdiff
path: root/src/modules (follow)
AgeCommit message (Collapse)Author
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 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-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-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-05ecore-evas: Fix compiler warnings about inproper returnsChris Michael
Summary: This fixes missing return values in functions that return non-void @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-05ecore_evas/wayland_shm: Set alpha of ecore_evas object if parent alpha is setkabeer khan
Summary: Resolved FIXME ecore_evas_wayland_shm_new_internal to set alpha if parent alpha is set Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1842
2015-01-05ecore_evas_wayland: Add null check conditions in ecore evas wayland modulevivek
Summary: Added null check conditions to check ecore_evas pointer in various places of ecore evas wayland common module Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1812
2014-12-29Revert "evas/gl_x11: set EGL_PLATFORM environment variable" as cedric wants ↵Daniel Juyung Seo
to change it. This reverts commit 6fe870de1470239bde7fb0b78f71b882f9ad62bf.
2014-12-29evas/gl_x11: set EGL_PLATFORM environment variableMinJeong Kim
Summary: Without EGL_PLATFORM environment variable, eglInitialize() can be failed because egl tried to load DRM platform instead of X11 platform and it tried to handle XDisplay pointer as a gbm_device pointer as well. The failure seems to be occured especially if the egl was built with DRM platform as native platform. This revision can prevent the failure by indicating proper egl platform using EGL_PLATFORM environment variable. @fix Reviewers: gwanglim, jaehwan, seoz Reviewed By: seoz Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1828
2014-12-27evas: first destroy the rectangle, then the pool.Cedric BAIL
2014-12-23evas: the eet loader use eet_mmap that take an Eina_File instead of eet_open.Bogdan Devichev
2014-12-23evas: entry points to modules is Eina_File. Model_Common_Loader is deleted.Bogdan Devichev
2014-12-23evas: entry points to modules is new struct with Eina_file, not const char ↵Bogdan Devichev
*file.
2014-12-23evas: ply_loader and obj_loader work with Eina_File.Bogdan Devichev
2014-12-23evas: test cases are changed according to changes of API in step 4. Specific ↵Bogdan Devichev
logic in obj_saver is removed for standardization of API.
2014-12-23evas: add lib/evas/common/evas_model_<action>.c. Functions are renamed ↵Bogdan Devichev
similar to functions in image_save_load process.
2014-12-23evas: replace and rename savers/loaders.Bogdan Devichev
2014-12-23evas: dummies for model_saver_loader are created.Bogdan Devichev
2014-12-23evas: preparation of places for model_saver_loader separated from ↵Bogdan Devichev
image_saver_loader.
2014-12-22Evas GL: Try harder to find a matching config for GLESv1Jean-Philippe Andre
If MSAA was requested, it is very likely that no config was found (depending on the driver), so we'll try again without MSAA. Yeah, this might not look very smooth but it should be better that failing at eglMakeCurrent.
2014-12-22evas: fix memory leak in evas_swapper.kabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> @fix Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1800 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-19Evas GL: Fix list of GLES 1.1 extensionsJean-Philippe Andre
We should use GLESv1 functions in a GLESv1 context to scan for GLESv1 extensions. Makes sense yeah? This should expose the proper list... especially enabling FBO extension when it's supported by the driver.
2014-12-19Evas GL: Add a warning in gl_x11 about MSAA & RGBA for GLES1Jean-Philippe Andre
We've discovered some bugs on some drivers related to MSAA and RGBA blending. Dunno yet if the same problem can affect GLES2 as well.
2014-12-17evas - generic loaders - fix possible string overflow on decodersJaehyun Cho
Summary: fix possible string overflow on decoders. this commit is based on commit 3c5412f72879bbce72bfbc7190acd9e5d16d3b46 that fixes CID 1039580. Reviewers: raster Reviewed By: raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1783
2014-12-17evas/tgv: Added DSSIM metric in evas_image_save_tgvkabeer khan
Summary: Resolved TODO to add DSSIM metric in DEBUG_STATS Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric Subscribers: devilhorns, cedric Differential Revision: https://phab.enlightenment.org/D1773
2014-12-12ecore: Added getting "WarningLevel" on upower module.MinJeong Kim
Summary: From UPower 0.99.0, a property "OnLowBattery" was removed and upower have recommended to use "WarningLevel" instead. This revision provides "WarningLevel" using the property "DaemonVersion" and it keeps dealing with "OnLowBattery" as well for old system. Fixes T1909 Reviewers: gwanglim, barbieri, zmike, stefan_schmidt Reviewed By: barbieri Subscribers: zmike, stefan_schmidt, cedric Differential Revision: https://phab.enlightenment.org/D1717
2014-12-10evas-gl-common: Fix issue with Coverity reporting null dereferencesChris Michael
Summary: This fixes Coverity CID1257606 and CID1257607: Dereferencing null return value. _evgl_tls_resource_get Can return NULL so we should be checking that returned value before trying to use it @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-10ecore-evas-drm: Fix up error handlingChris Michael
Summary: Due to the change of order in creating outputs & inputs, we need an additional goto error for destroying inputs if output_create fails @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-10ecore-evas-drm: Create inputs before we create outputsChris Michael
Summary: Call function to create drm input devices Before we create outputs. This is done so that when outputs Do get created, it will update the input's known size of output for device coordinate transformation @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-10modules/tgv: Switch from obsolete LZ4_uncompress function to LZ4_decompress_fastStefan Schmidt
The function is declared as obsolete and in some newer headers it is no longer defined. The new function is the same besides the name change.
2014-12-10Evas GL: Fix direct rendering with client-side rotationJean-Philippe Andre
There was a problem when checking whether the current surface is compatible with direct rendering. In case of client-side rotation (it's a flag set on the surface by the app), a surface can be directly rendered even if the rotation is not 0. But, before this patch, it was assumed that the surface was current. Which doesn't make sense because make_current is called by the pixel callback, from the application, and this happens *after* we check for direct rendering. As a consequence, it was not possible to mix directly rendered surfaces with FBO-based ones, and use client-side rotation. This patch should solve that issue.
2014-12-09ecore-drm: added drm launcher that is allow to determine whether to launch ↵Seunghun Lee
with logind or root privilege. Summary: - allow to launch drm backend without systemd-logind with root privilege. - allow to open drm device node via logind, not directly open it, in case exist systemd-logind. - fixes issue that couldn't switch session, because ecore-drm couldn't drop master to drm device with no permission. (allow to switch session appropriate.) Reviewers: gwanglim, devilhorns Subscribers: torori, cedric Differential Revision: https://phab.enlightenment.org/D1704
2014-12-09evas_xcb_outbuf: fix memory leakkabeer khan
Summary: This fixes a leak in the xcb engine where the Outbuf_Region was not being freed. @fix Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1750
2014-12-09Evas GL: Fix scissors with direct renderingJean-Philippe Andre
If an app calls glDisable(SCISSORS) and uses direct rendering, then the DR scissors were dropped and so glClear would erase the contents of the entire canvas, instead of being restricted to the image object.
2014-12-09Evas GL: Fix current FBO after make_current(0, 0)Jean-Philippe Andre
Example scenario: - Create a direct rendered Evas GL 'sfc' 'ctx' - Create a PBuffer dummy surface, make it current - Do some stuff - Make current (NULL, NULL) to go back to no target - Make current (sfc, ctx) --> glClear() will not render anything on screen Reason: The current FBO binding is still set to the implicit FBO bound to the PBuffer surface (it could be any surface, really).
2014-12-08upower module now errors and kills itself off when unsupported new version ↵Mike Blumenkrantz
detected 0.99.0 removed the OnLowBattery property and added the per-device WarningLevel property. this requires what will effectively be a full rewrite of the module to track all the power levels of all the attached batteries and set the ecore power level somehow based on a combination of their levels since I have no desire to spend any more hours working on and debugging this module which is based on a known-unstable api, I'm making it disable itself if it detects a version >= 0.99.0. hopefully someone will decide to maintain both this and eldbus in the future so that we can more accurately track upstream when they make changes to these things ref T1908 ref T1909
2014-12-08evas/gl_drm: Fix warningGwanglim Lee
Using int instead of uint32_t.
2014-12-05ecore-evas-wayland: Fix issue with ELM_PROFILE=mobile and windows notChris Michael
showing up correctly. Summary: If elm config profile is set to Mobile, then the auto_norender_withdrawn is set to 1, which was causing Elm windows to not draw properly due to the ee->withdrawn property not being updated. It was not getting updated due to these checks for override. NB: Tested this with all elm profiles, tested in weston, and tested in Enlightenment (Wayland). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-04evas/gl_drm: add native surface for wayland_egl_client.Mun, Gwan-gyeong
Reviewers: zmike, devilhorns, cedric, gwanglim Reviewed By: cedric, gwanglim Subscribers: jpeg, torori, cedric Differential Revision: https://phab.enlightenment.org/D1507
2014-12-04evas - gif loader - fix technically "wrong" sizeof (doesnt cause a bug)Carsten Haitzler (Rasterman)
go from sizeof(char **) to sizeof(char *) ... effectively. so no real bug.