summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* evas: remove the intermediate Evas_GL_Image.devs/cedric/evas3dCedric BAIL2015-03-017-67/+47
| | | | | There is still an issue, as the image are loaded from a texture atlas, their x, y coordinate need to be taken into account. It is not the case in this patch.
* evas: refactor Evas_3D to use Evas_GL_Image & Evas ColorspaceKonstantin2015-03-019-476/+252
| | | | | | | | | | Reviewers: raster, Hermet, cedric Subscribers: artem.popov, cedric Differential Revision: https://phab.enlightenment.org/D1967 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore/ecore_audio: fix timer control logically wrong.ChunEon Park2015-03-011-2/+2
| | | | @fix
* Use doubles to store libinput's mouse motionDerek Foreman2015-02-272-31/+47
| | | | | | | | | | | | | Summary: Using can result in motion being completely discarded. Since we only need integer data, we also only actually forward on an event when the mouse moves more than a full unit. Reviewers: zmike, devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2062
* evas-software-x11: Provide TBM Native Surface support for xcb engineChris Michael2015-02-275-8/+155
| | | | | | | | | | Summary: This adds support for native surfaces in xcb. Previously when the TBM Native Surface support was added, it broke the xcb build. These commits fix that issue. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-software-x11: Remove improper EINA_UNUSED for function parameterChris Michael2015-02-271-1/+1
| | | | | | | | | | Summary: In the _native_bind_cb function, the data parameter is actually used inside here, so having EINA_UNUSED on the function parameter is incorrect. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-xcb: Fix 'variable set but not used' messageChris Michael2015-02-271-4/+2
| | | | | | | | | Summary: As we do not use the returned Ecore_Event here, there is no need to assign it @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore_x/xcb: Remove xcb-xprint code to get the root window list and use fallbackStefan Schmidt2015-02-272-115/+1
| | | | | | | | | This was the only user of xcb-xprint and we already have a fallback in place for it. I talked to Chris about it and he was fine with it before his morning coffee. More serious this should be ok and we can get rid of this part which starts to make trouble in distros by now. E.g. gentoo is disabling it completely and many others just ship upstream which means no pc file. Arch seems to patch it in but we are on the safe side with just using the fallback.
* build: Remove pkg-config for xcb-xprint as the pc file is now longer shipped.Stefan Schmidt2015-02-271-1/+1
| | | | | | | | | | | | xcb no longer ships the xcp-print.pc file and thus pkg-config is not able to detect it. Some distros might patch over it as the source files seem still to be shipped but we cannot rely on this. http://lists.freedesktop.org/archives/xcb/2013-November/008907.html As the above commit mentions the xprint support was actually removed from the Xorg server in 2008 (1.11 release) which means none of our code actually has any server side it can talk to for some years now. :) Our xcb-xprint code is actually ifdef'ed already so we might want to remove it alltogether.
* Evas masking: Fix double free() with scaled imagesJean-Philippe Andre2015-02-272-4/+11
| | | | | | The function image_scaled_update() frees() the old scaled image passed as input if it doesn't match the old dimensions. This commit will avoid double frees.
* Evas masking: Check fill properties to consider image as filledJean-Philippe Andre2015-02-273-20/+36
| | | | | | Edje may not set the filled flag on an image even if its fill properties make it fill the whole object. For masking, it can then be considered as a filled image.
* Evas masking: Remove commented-out codeJean-Philippe Andre2015-02-271-6/+0
| | | | I shouldn't have pushed this :)
* Evas masking: Skip GL fast path if image has fill optionsJean-Philippe Andre2015-02-271-1/+1
| | | | | | | | | If the image is not "filled", then we can't assume its image source geometry is the same as its texture geometry. Note: Implementing a fast path for non-filled images would require a hell of a lot more work (need to cut the render into a lot more triangles) for little real-life use.
* Evas masking: Fix masking of maps in GLJean-Philippe Andre2015-02-2710-106/+96
| | | | | | This completes the transition to auto-scaled mask images when using the GL engine. Now the shaders do the work on-the-fly of resizing the mask.
* Evas masking: Simplify previous commitJean-Philippe Andre2015-02-274-36/+15
| | | | | | Call object's function to get the private engine_data (here, the image object). Thanks Dongyeon for your patch which inspired me to do that instead of forcing pre_render.
* Evas masking: Add fast path for image-only masks in GL.Jean-Philippe Andre2015-02-2711-153/+337
| | | | | | | | | | | | | | | | | | | | | | | This will currently optimize most of the masks when using the GL engine[1]. This is a very special case that adds a highly optimized path for masking in GL. It works by creating a virtual image, containing a pointer to the original image and a new geometry[2]. Instead of creating a new FBO-based surface (image_map_surface), we refer to the original image and adjust the mask geometry on the fly. KNOWN BUGS: - masking a map with such a scaled image is now broken. [1] Right now all masks are simple Evas Object Image, so that means all cases of masking, except masks of masks, or masks of maps, will be optimized with this new method. [2] This virtual image mechanism is still quite hackish and may be improved (for memory usage, refcounting, etc...)
* ecore-wl fullscreen state is based on either window type or attributeMike Blumenkrantz2015-02-261-4/+1
| | | | | | fixes fullscreen state detection when being set to fullscreen by the compositor @fix
* ecore-drm modifier updating is now functionalMike Blumenkrantz2015-02-261-32/+41
| | | | | | when dealing with non-kbd devices, the seat can be iterated to locate a keyboard this may or may not accurately set depressed, latched, locked, group values
* evas scale sample - fix useage of eina thread queueCarsten Haitzler (Rasterman)2015-02-271-1/+1
| | | | pass in ref not &ref (other uses were fine - this single one broken)
* evas: Evas_3D - add terrain mesh.Dmytro Dadyka2015-02-262-0/+89
| | | | | | | | | | Reviewers: Hermet, Oleksander, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2042 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas-3d: fix incorrect reading of .obj file which had an empty line before ↵Bogdan Devichev2015-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | data in unix encoding. Summary: For example of a bug, part of .obj file: vn 0.5536 -0.7200 -0.4185\n vn -0.5536 -0.7200 -0.4185\n \# 239 vertex normals\n \n vt 0.4998 0.2618 0.0000\n(lines like this were ignored) vt 0.5205 0.2550 0.0000\n vt 0.5249 0.2618 0.0000\n @fix Test Plan: Run colorpick example. Before and after this update. ("M15.obj" has fixed places.) Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2049 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: Evas_3D - fix coding styleDmytro Dadyka2015-02-261-19/+19
| | | | | | | | | | Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2050 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* elua: minor eo bindings optimizationDaniel Kolesa2015-02-261-19/+18
|
* elua: update eo bindings for lualian generated codeDaniel Kolesa2015-02-261-39/+43
|
* build: Workaround an automake limitation during parallel install relinkingStefan Schmidt2015-02-269-0/+396
| | | | | | | | | | | | | | | | | | | | | | | With this commit I'm finally able to use -j10 for make install on my machine. During install libtool does some relinking which can result in to broken linking if the dependencies are not handled correctly. Sadly automake has a problem with the automatic dependency handling during install with LTLIBRARIES which we use for all our modules. For the details please see this 4.5 years old bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328 We are now setting the dependency manually to force automake to the right decision during install relinking. Speed improvement itself is not that high (make -j 1 compared to -j10): real 0m21.410s vs. real 0m17.066s The bigger benefit is the unified use of MAKEOPTS or normal -j X in all our build targets. I have seen quite some bug reports where -j was used for install target when it was used in the build target. Last but not least it helps me to unify some parts of the jenkins jobs and finally allows me to run distcheck with -j Which uses install internally and failed before. Which goes down from real 12m50.349s to real 5m52.120s.
* eina + ecore - fix main loop thread id tracking on forkCarsten Haitzler (Rasterman)2015-02-262-14/+1
| | | | | | | | | | | if you fork and even if you do ecore_fork_reset() a thread calling ecore_main_loop_thread_safe_call_async(0 for example eill end up resetting the mainloop thread id to itself (a non mainlopo thread) via calling eina_main_loop_is() since pid changed. there is little point in doing this so remove the pid tracking from eina and ensure mainloop thread id is updated in ecore's fork reset. @fix
* Evas masking: Simplify map masking shaders.Jean-Philippe Andre2015-02-269-76/+66
| | | | | Use vertex shader for all coordinates computations. This reduces the number of varyings used.
* eina: add test case for eina_memdup in eina strvivek2015-02-251-0/+31
| | | | | | | | | | | | | | | Summary: Added test case for eina_memdup function in eina_str test module Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2026 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* elua: completely revamped object systemDaniel Kolesa2015-02-251-15/+21
| | | | | These changes now allow us to do proper __tostring overrides and require fewer method references, as everything shares a single metatable.
* build: Ensure we have $(DESTDIR)$(libdir) during parallel installStefan Schmidt2015-02-251-0/+1
| | | | | | While install-exec-hook gets normally executed after install and thus we would have this we need to ensure it here when we want to be safe regarding parallel install.
* build: Unify use of $(MKDIR_P) for creating a dir within the build systemStefan Schmidt2015-02-2524-29/+29
| | | | | | | While we used different variation of mkdir -p all over we also had spots where we did not use the option. This is one step in trying to make our build system ready for parallel install. Using something like -j 10 even for the install should help to speed up our jenkins jobs as well as distcheck.
* elua: multiple inheritance aware is_aDaniel Kolesa2015-02-251-6/+6
|
* elua: guarantee multiple inheritance availability on any objectDaniel Kolesa2015-02-253-16/+7
|
* elua: add object system mixin support without interfering with parentsDaniel Kolesa2015-02-251-4/+15
|
* elua: correct inheritance system in lualian generatorDaniel Kolesa2015-02-251-28/+25
|
* elua: better mixin behavior (+ fix bad lookup)Daniel Kolesa2015-02-251-2/+9
|
* elua: extra generator info for inheritance handling (and easy lookups)Daniel Kolesa2015-02-251-4/+12
|
* elua: delegative multiple inheritance support in util object systemDaniel Kolesa2015-02-251-0/+24
|
* elua: slightly less broken mixin behaviorDaniel Kolesa2015-02-251-5/+5
|
* Evas GL: Fix leak of surfaces with GLES 1.1Jean-Philippe Andre2015-02-251-2/+12
| | | | | | | | | | | | | When destroying a GLES 1.1 surface, it is necessary to also destroy and remove the main surface from the list. This issue probably never really showed up because people don't: - use GLES 1.1 - constantly create & destroy new Evas GL surfaces - but mostly no one cares about 1.1 anymore :) @fix
* edje: optimize style matching.Cedric BAIL2015-02-241-1/+1
| | | | | | | | Most of the time the style string will come from the eet file directly, so thanks to the dictionnary build in they should be pointing to the same string. We still need to keep strcmp case for Edje_Edit case, but that shouldn't be a real issue as the worst case is when it match. When it doesn't match strcmp should return quite fast on average.
* edje: refactor styles add logic.Cedric BAIL2015-02-241-42/+37
|
* edje: Add edje to text_class_member_hash properly.Sohyun Kim2015-02-244-30/+115
| | | | | | | | | | | | | | | Summary: When textblock styles have text_classes, all edjes in the files were added to text_class_member_hash even if the edjes didn't use the textblock styles. It makes time long to update text_class. This will add the edje using the textblock style which has a text_class to text_class_member_hash. Reviewers: cedric, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2035
* evil: fix gecos field of struct pwVincent Torri2015-02-241-10/+8
| | | | @fix
* Eo: Add eo_do_super_ret.Tom Hacohen2015-02-241-0/+2
| | | | This is the equivalent of eo_do_ret for super calls.
* Evas GL: Restore viewport and scissor test for GLESv1Jean-Philippe Andre2015-02-243-3/+6
| | | | | This is necessary when switching back to direct rendering. But I suspect there are other corner cases that we didn't spot.
* Evas GL: Fix support for GLES 1.1 indirect renderingJean-Philippe Andre2015-02-243-9/+103
| | | | | | | This requires a special context that matches the configuration required for GLES 1.1. Otherwise eglMakeCurrent() would fail miserably with EGL_BAD_MATCH in case of indirect rendering (at least on some drivers).
* Evas GL: Wrap glGetString() for gles1.x.Minkyoung Kim2015-02-242-5/+56
| | | | | | | | | | | | Summary: - Implement glGetString() wrapper func in the same way as gles2.x. - Small bug fix glGetString() for gles2.x. Reviewers: cedric, raster, jpeg Subscribers: cedric, mythri, wonsik, spacegrapher Differential Revision: https://phab.enlightenment.org/D2033
* Evas GL: Add hidden config values for direct rendering optionsJean-Philippe Andre2015-02-246-36/+80
| | | | | | | | | | Those 2 new values are here to avoid using environment variables that have side effects on the whole application. I'm actually wondering if we shouldn't just kill off the env vars altogether. Also, direct override is a terrible option that should never be used. Memory optimization can make sense (needs more testing tho).
* edje: fix windows buildAndrii Kroitor2015-02-242-4/+4
| | | | | | | | | | | | | | | Summary: "far" and "near" are keywords on windows and can't be used as names of variables. @fix Reviewers: cedric, Hermet, raster, perepelits.m Subscribers: reutskiy.v.v, cedric Differential Revision: https://phab.enlightenment.org/D2037 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>