summaryrefslogtreecommitdiff
path: root/src/modules (follow)
AgeCommit message (Collapse)Author
2015-02-11evas: Evas_3D - iport/export of Obj format can be read even if obj-file does ↵Bogdan Devichev
not have normals or tex-coords. Summary: This commit fixed several bugs, and show what was be fixed. Bugs: - When designer save obj file in Blender, he/she can set flags (fig 1). Normals and UV coords flags was necessary for obj loader. Loader crushed when they are not set as true. It fixed by this commit. - Another loaders set default values to data which aren't in loading file, so mesh need more memory for unused data. It fixed by this commit for obj and will be fixed for another formats in future. - Saver saved incorrect data if normals or tex_coords was not set in mesh in evas. Now it fixed. - Saver failed if it save mesh without material. It fixed and in this case material file is not created now. - Also fixed some leaks and undefined behavior which valgrind shows. Example: - Example shows cases described above. Example use files saved with different flags for it. Resources: - man_mesh is replaced by several smaller file, to use them for showing new features and fixes. For example, similar to that models can be added when implement work with material for obj, work with different flags for obj loader/saver etc. (big count of man_meshes is to much memory). - texture for home is flipped, because of bug with texture in efl to see if tex_coords is incorrect. Test: - test should be rewritten in future, because another formats still use default values for normals and tex_coords. And test can not pass for all types of obj file because of standardization for any format in him. Test Plan: Test suit will be rewritten after correcting of other formats (they will set NULL to file when save an empty data (like mesh without normals)) Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1957 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-11evas: add image orient set/get API in software backend for now.kabeer khan
Summary: Added API's to rotate(0, 90, 180, 270), flip(horizontal, vertical, transpose, transverse) evas image object. Also added example to demonstrate this. Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: raster, stephenmhouston, cedric Subscribers: stephenmhouston, cedric Differential Revision: https://phab.enlightenment.org/D1950 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-10Evas masking: Force BLEND mode in case of image masking (GL)Jean-Philippe Andre
This fixes some cases where the image has no alpha and COPY mode is used, but a mask is also applied. In that case, masking takes precedence and BLEND mode is used. @fix
2015-02-10evas/software_x11: Restore legacy compatibility with old SLP DRMJean-Philippe Andre
I really REAAALLLY doubt that was necessary, but I'm still adding these few changes for legacy compatibility. This lib seriously should have had a stable API.
2015-02-10evas/software_x11: replace drm_slp with tbmDongyeon Kim
Summary: libdrm_slp has been replaced with libtbm, so modify xlib swapper to use tbm apis instead of drm_slp apis Test Plan: Local tests Reviewers: raster, Hermet, cedric, jpeg Reviewed By: jpeg Subscribers: cedric, wonsik Differential Revision: https://phab.enlightenment.org/D1932 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-10Evas sw_x11: Fix previous patchesJean-Philippe Andre
Restore support for Evas GL with the software engine (OSMesa).
2015-02-10evas/software_x11: implement tbm native surface typeDongyeon Kim
Summary: This native surface type is based on the tbm surface used for the tizen platform. For the software_x11 backend, image data is retrieved from tbm surface and color format converted appropriately. This will only work when libtbm.so is present in the system. @feature Test Plan: Local tests Reviewers: raster, cedric, jpeg, Hermet Subscribers: wonsik, cedric Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-10evas/software_x11: implement native surface set for x11 typeDongyeon Kim
Summary: implement native surface set for EVAS_NATIVE_SURFACE_X11 type on software_x11 backend. @feature Test Plan: local tests on PC Reviewers: jpeg, cedric, raster, Hermet Subscribers: wonsik, cedric Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-10evas/gl_x11: introduce tbm native surface typeDongyeon Kim
Summary: This native surface type is based on the tbm surface used for the tizen platform. EGL_TIZEN_image_native_surface EGL extension is used to map tbm surface to an egl image @feature Reviewers: raster, cedric, jpeg Subscribers: cedric, wonsik Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-10Evas 3d: Fix compilation with EGL/GLESJean-Philippe Andre
Please verify this. I'm not sure what the function is supposed to return (alpha or red?).
2015-02-10Evas GL: Add support for uniforms in the shadersJean-Philippe Andre
This will simplify greatly the code for map masking.
2015-02-09evas: Evas_3D - ColorPick mechanism finding node and mesh in scene.Oleksandr Shcherbina
Summary: Added additional texture and framebuffer for rendering meshes to it. Added function that return OpenGL id additional texture Added function that return color from target texture by mouse pick coordinates Added function that render need meshes to target texture Added engine wrappers for possibility force render to texture @feature Reviewers: Hermet, raster, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1811 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-10evas - gl engine - pipe renderer - disabling of unused arrays for linesCarsten Haitzler (Rasterman)
@fix - this fixes disabling of unused texa and texsam arays when line drawing - spotted in code review and bug hunting of another bug.
2015-02-10evas - gl enigne - mask logic fix with texa draw arraysCarsten Haitzler (Rasterman)
this fixes a logic oops in addition of masking to evas which caused crashes with a null texa array causing a crash in gldrawarrays
2015-02-09Evas GL: Fix GLES1.1 extension initialisation bugmythri.venugopal
Summary: Extension function pointer initialisation requires glGetString(GL_EXTENSIONS). To get GLESv1 extension string, GLESv1 context has to be bound. Change involves updating extensions after GLESv1 context has been bound. Reviewers: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1946 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-06ecore evas should not crash when unsetting pointerMike Blumenkrantz
ref D812 disappointed.jpg
2015-02-06Evas masking: Add forgotten file in previous commitJean-Philippe Andre
2015-02-06Evas masking: Also fix map masking with non-bgra imagesJean-Philippe Andre
2015-02-05Evas masking: Fix GL masking with maps and stuffJean-Philippe Andre
This fixes an issue spotted after the previous fix. Passing the Y-invert flag is necessary because in the usual case a map is rendered with Y-invert (OpenGL coords vs. Evas coords) but in case a map is rendered in an FBO (another map's surface) then Y-invert must be unset.
2015-02-04ecore-x - undo api/abi break with input selecting before releaseCarsten Haitzler (Rasterman)
2015-01-27evas-image-loaders: Fix compiler warning of comparison between signedChris Michael
and unsigned values @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27evas-software: Fix compile errors when using xcbChris Michael
Summary: This fixes compile issues when building evas software engine using xcb. When calling xcb_outbuf_free, the Render_Engine has no 'ob' field, so remove that call. Also fix call to render_engine_software_generic_init using the proper function parameters. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27evas-software: Fix software engine to compile using xcbChris Michael
Summary: Fix several compile issues with software engine when compiled against xcb. This fixes an improper call to evas_software_xcb_outbuf_flush with improper parameters, and adds a missing EINA_UNUSED to that function. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27evas-software: Fix call to evas_software_xcb_outbuf_setup functionChris Michael
Summary: Seems we were missing a comma here and this was causing a compile break. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26ecore-evas-drm: Fix improper shutdown sequenceChris Michael
Summary: As the launcher code now uses some fields from the Ecore_Drm_Device, we need to free the device After the launcher has been disconnected. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26evas: fix signed/unsigned warning.Cedric BAIL
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-26evas: fix to load BMP file compressed with RLE.jiin.moon
Summary: If the file size of RLE compressed image is bigger than original image, BMP loader doesn't work as well. @fix Reviewers: Hermet, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1892 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-22ee engines should not crash when re-setting the same title/name_classMike Blumenkrantz
@fix
2015-01-22Evas masking: Simplify ref/unref codeJean-Philippe Andre
Those masks are always render surfaces so we should treat them as such. Plus, there are proper functions to ref/unref GL images.
2015-01-22Evas masking: Aaaand fix another series of memleaksJean-Philippe Andre
Don't inc-ref more than we can dec-ref.
2015-01-22Evas masking: Fix potential GPU memory leakJean-Philippe Andre
This should free the mask surface properly, like we do in software.
2015-01-22Evas masking: Fix potential crashJean-Philippe Andre
This adjusts the clip to match the mask image data. To be fair, I'm not sure in which situation those two don't match well. This patch fixes a rare crash.
2015-01-21evas: do not compute things twice.Cedric BAIL
Fix CID 1265599, 1265597, 1265598 and 1265596.
2015-01-21Evas masking: Fix major memory leakJean-Philippe Andre
The memory usage graph was going up and to the right! I was told this is always a good thing! ... maybe not this time :) Hopefully I didn't forget a case. An intense session of genlist scrolling with masks all over the place and masks of masks didn't show any glitch, crash or memory leak.
2015-01-15ecore-evas-x should check itself before it wrecks itself when re-setting the ↵Mike Blumenkrantz
same name/class
2015-01-14Evas GL common: Remove unused filter_progJean-Philippe Andre
2015-01-14Evas GL common: Add shader ID as debug info in the pipeJean-Philippe Andre
Simplifies code readability a bit and helps for debugging (with GDB).
2015-01-14Evas masking: Fix evas map masking in GLJean-Philippe Andre
While this may look like a feature, it's definitely a fix.
2015-01-13ecore-evas-drm: Init outputs before inputs so that input devices canChris Michael
have a pointer to outputs Summary: In order to limit pointer motion, we need to assign an Output to each Input device. In order to accomplish that, we need to initialize Outputs first @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-10ecore_imf/scim: Fix logically dead code in scim moduleJihoon Kim
CID 1261449 @fix
2015-01-09ecore_evas/wayland_egl: Set alpha of ecore_evas object if parent alpha is setkabeer khan
Summary: Resolved FIXME ecore_evas_wayland_egl_new_internal to set alpha if parent alpha is set @fix Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1861
2015-01-09ecore-evas-wayland: Port fix of min/max size calculations to theChris Michael
configure event handler Summary: This patch ports the fix for windows without a min/max size being set over to the configure event handler (which was also not taking into account the fact that Some windows may Not have a min/max property set on them. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-08ecore_evas_x: Free XCounter values leak.Myoungwoon Kim
Summary: Whenever creating a window via elm_win_add(), save netwm_sync_counter values to edata->netwm_sync_counter by ecore_x_sync_counter_new(). However, never free the values when a window has been destroyed. So this patch is for free the values in _ecore_evas_x_free(). @fix Reviewers: cedric, raster, Hermet, devilhorns Reviewed By: devilhorns Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D1855
2015-01-08ecore_imf: Add null check condition in ecore_imf modulevivek
Summary: Fixed null pointer dereference issue in ecore_imf module @fix Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: raster, cedric Differential Revision: https://phab.enlightenment.org/D1813
2015-01-07ecore-evas-wayland: Fix min/max size calculationsChris Michael
Summary: This fixes an issue for windows which do not set a min or max size in the properties. This was discovered when running Enlightenment in a Wayland-Only scenario, and trying to bring up the settings panel which would cause an endless loop in calculating the proper window size due to min/max not being set. @fix NB: Thanks to Mike for the help in tracing this ! :) Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-07ecore-evas-wayland: Fix formattingChris Michael
Summary: no functional changes, just formatting Signed-off-by: Chris Michael <cp.michael@samsung.com>
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 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.