summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-15Tests: use eina_environment_tmp_get()Vincent Torri
2015-10-15Evas GL: Add more testsJean-Philippe Andre
- glReadPixels - FBO test - PBuffer test (only GL engine) - surface formats test (up to depth=24, stencil=8)
2015-10-15Evas GL: Add test case for surfaceless contextsJean-Philippe Andre
2015-10-15Evas GL: Add EGL_KHR_surfaceless_context since it is supportedJean-Philippe Andre
See 3e39bf36389fdbc8a3f845214. Surfaceless contexts are supported even if the driver does not support them.
2015-10-15Evas GL: Error out on surfaceless make_current with OSMesaJean-Philippe Andre
While OSMesa may support surfaceless contexts, we don't support them yet in the SW engine. Instead of switching to NULL, NULL, let's error out and do nothing instead.
2015-10-15Evas GL: Don't call eglMakeCurrent if already nullJean-Philippe Andre
If the current context & surface are already null, avoid calling eglMakeCurrent again, since it can return an error (EGL_FALSE but with no error code, thanks Nvidia).
2015-10-15ecore_imf/wayland: Add NULL check for text_input_manager.Seunghun Lee
Summary: this patch fixes crash caused by accessing the text_input_manager in wayland_im_context_add(). Test Plan: N/A Reviewers: jihoon Reviewed By: jihoon Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3176
2015-10-14evas: no need to compute clippees list if we just want to know if there is any.Cedric BAIL
This is a partial fix for a terrible performance scenario where application take forever to close with a large number of edje object. @fix
2015-10-14Eo: Fix confusing indentation and style.Tom Hacohen
2015-10-14ecore-evas-wayland: Don't use custom animators for frame callbacksChris Michael
Summary: As we now have per-window timer-based animators in ecore_wayland for frame callbacks, we no longer should be using Custom animators to handle surface frame callbacks @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14ecore-wayland: Redo window animators to not use Custom source animatorsChris Michael
Summary: This moves window animators (for frame callbacks) to not use a custom animator source but rather use a timer-based source. This also moves animators to be per-window based (in that an animator is created per-window). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14ecore: fix usage eina_condition_timedwait to use relative time instead of ↵Cedric BAIL
absolute time. This could lead to some very long and unexpected pause as the timeout passed to eina_condition_timedwait was passed as a absolute time instead of relative. Hopefully we don't build rocket. Notes: ref T1636
2015-10-14evas filter: silent coverity on self assignmentAmitesh Singh
This is a false alarm. Just to make coverity happy, use eo_do instead of eo_do_ret CID: 1316017
2015-10-14edje_edit: Fix clang warning of unused variablesChris Michael
Summary: clang reports that these static variables are not being used anywhere (and grep confirms this), so remove them. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14ecore-evas-wayland-egl: Fix clang warning about extra parenthesesChris Michael
@fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14ecore-drm: Add missing field initializers for vt_modeChris Michael
Summary: clang reports missing field initializers for usage of vt_mode structure, so add the missing initializers @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14evas: Fix clang warning for missing field 'async' in default_stateChris Michael
Evas_Object_Filter_Data has a bool for 'async' at the end of the struct. This field was missing from the initialization of 'default_state' @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14Evas GL: Fix support for the SW engines (OSMesa)Jean-Philippe Andre
Since @raster changed the behaviour of the dirty flag on images, damages must be added to redraw the GL surface. Evas_Image checks if it is an Evas GL surface by looking at its native surface. But in case of SW engine, there was no native surface information for Evas GL surfaces. Also, the OPENGL surface type was awfully abused for OSMesa support. Luckily EVASGL surface type lets us pass arbitrary pointers :)
2015-10-14Evas GL: Improve ERR log (direct rendering failed)Jean-Philippe Andre
2015-10-14Evas GL: Add a test case for Evas GL (make check)Jean-Philippe Andre
For now this only covers SOME of Evas GL's functions. It will try to run with opengl_x11 and buffer (OSMesa). It'll also try to fail silently if the engine initialization failed, or if OSMesa could not be found. If the engines work, then Evas GL must work properly.
2015-10-14Evas GL: Implement glGetString wrapper for OSMesaJean-Philippe Andre
This is only one step into making the software engine actually work the same as a proper GL engine from Evas GL APIs point of view. This is necessary for the test suite (coming next).
2015-10-14Evas GL: Minor changes inside glGetStringJean-Philippe Andre
2015-10-14Evas GL: Avoid make_current(0,0) during destroyJean-Philippe Andre
Show an error message and call make_current(NULL, NULL) only if the object (context, surface) being destroyed is current. Otherwise, avoid changing the current context & surface.
2015-10-14gl_x11: val can be everything expected 0 to mean trueMarcel Hollerbach
For me on a intel driver val is -1 and it needs to be inverted. So we need to checkout that val is not 0 and not equals to 1. Thx to raster for helping debugging this thing :).
2015-10-14Eina: fix memory leak in eina_file_open()Vincent Torri
@fix
2015-10-14Eina: fix eina_file_current_directory_get()Vincent Torri
the length was not correctly computed and eina_file_path_sanitize() was was writing beyond the limit of the string @fix
2015-10-14Eina: fix spelling in eina_tmpstr documentationVincent Torri
2015-10-14Evil: set EAPI correctly in pwd.hVincent Torri
2015-10-14evas gl engine - typo remove from previous commitCarsten Haitzler (Rasterman)
some typo crept in that... compiled. a stya / on a line. how it compiled, i don't know.
2015-10-14evas - obj destructrion - handle when obj layer is partly destroyedCarsten Haitzler (Rasterman)
this should fix T2715 and anything similar as during destruction object internals are a bit weird.
2015-10-14evas - fix evlog to push and pop properlyCarsten Haitzler (Rasterman)
2015-10-14eina: util - set tmp to NULL to fix compilation warningAmitesh Singh
lib/eina/eina_util.c: In function 'eina_environment_tmp_get': lib/eina/eina_util.c:96:7: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!tmp) tmp = "/tmp"; ^
2015-10-14Evas: Some coverity fixesJean-Philippe Andre
This are false alarms. But the explicit null check doesn't hurt. Also, Coverity doesn't like eo_do_ret. Neither do I. :) - CID 1327246 - CID 1327245
2015-10-14Evas render: Fix proxy source_clip with source imagesJean-Philippe Andre
In case the source is an Evas_Image, we skip proxy_subrender, and so the clip was not set against the source clip.
2015-10-14Evas render: Fix proxy source_clip logic inversionJean-Philippe Andre
As spotted by @FurryMyad I inverted the logic for source_clip. This should restore the proper behaviour while keeping my previous fixes working. See D2940.
2015-10-13ecore_cocoa: fix a bug where event timestamp was not retrieved correctly.Nicolas Aguirre
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-13evas: fix build of gl_cocoa engine.Nicolas Aguirre
__context_restore and __need_context_restore are undefined when building gl_cocoa engine. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-13ecore_cocoa: use a timer instead of a poller to be more responsive when ↵Nicolas Aguirre
dealing with cocoa Event. As all Mouse and Keyboard events comme from Cocoa, the poll period must be reduced. Backwards of this method is that when no signal are received for a long period, the timer fired anyway and consumes CPU for nothig but it seems there is no easy method to integrate NSApplication mainloop into an existing one. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-13ecore_evas_cocoa: use the same render function as ecore_evas_xNicolas Aguirre
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-13ecore_cocoa: fix warnings, add Debug outputs where needed and remove printfsNicolas Aguirre
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-13eina: Include <unistd.h> for getuid and geteuid functionsChris Michael
Summary: If we do not include unistd.h, we end up with implicit declaration warnings when compiling @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-13ecore-wl: Add missing EINA_UNUSED for unused function paramatersChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-13evas: fix performance regression by reducing the unecessary memcpy we are doing.Cedric BAIL
Actually copying max is pretty useless and super slow. We usually have something like 1024 slot in a context, but a very small amount of them are acutally active. It would be better to actually do some kind of copy on write technique here, but as Eina_Cow doesn't handle array and we are close to a release, let's be conservative.
2015-10-13evas: follow API documentation more closely.Cedric BAIL
2015-10-13Ecore exe win32: Fix double-free errors.Tom Hacohen
As reported by vtorri, sometimes ecore_exe on win32 will encounter double free issues. This was because the variable was freed, but not set to NULL as expected by the cleanup function. Fixes T2675 @fix
2015-10-13Revert "Revert "Revert "evas: fix borked rotation support in GL engine."""Carsten Haitzler (Rasterman)
This reverts commit f51168f4ec7a1bd3072428c7a271ad7c6715fde5. if this is right or not... this RESULTS in enlightenment becoming totally unusable. put this back WHEN other issues are fixed you think that exist. last i knew we query yinvert start with glx per native surface and use that info - so as best i know it is and has been right for a long time. :)
2015-10-13evas: fix compilation errorAmitesh Singh
This is introduced in 5c02935a866a5c14
2015-10-12Revert "Revert "evas: fix borked rotation support in GL engine.""Cedric BAIL
This reverts commit 5bb1c52e3a075d3a69b5baee2f2ad8d2788655b0. This patch is actually correct, but it highlight a bug in how we retrieve GLX_Y_INVERTED_EXT value.
2015-10-12evas: correctly get GLX_Y_INVERTED_EXT.Cedric BAIL
2015-10-12ecore: mimic UNIX code even moreVincent Torri
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>