summaryrefslogtreecommitdiff
path: root/src/modules (follow)
AgeCommit message (Collapse)Author
2016-12-19ecore_evas: remove float comparison warning from DRM backend.Cedric BAIL
2016-12-19wayland_egl: Use common implementation of eglCreateImageDerek Foreman
This might fix nested compositors on some architectures...
2016-12-19wayland_egl: Remove some weirdness from our egl extension queriesDerek Foreman
Still totally wrong, of course, but at least a little less wacky.
2016-12-19gl_x11: Use common implementation of eglCreateImageDerek Foreman
Throw away the local copy and use the one in gl_common.
2016-12-19gl_drm: Use common eglCreateImage implementationDerek Foreman
Refactor to reduce copy and paste.
2016-12-19gl_common: Make secsym_eglCreateImage a wrapperDerek Foreman
eglCreateImage and eglCreateImageKHR are subtly different. Now we try to handle them both properly by exposing an abstraction.
2016-12-19gl_common: fix eglCreateImageKHR queryDerek Foreman
There are surprisingly few GL extensions that start with GL_EGL... This is apparently more widely deployed than OES, so let's bump its priority too.
2016-12-19evas/ply: Fix some memleaksJean-Philippe Andre
I have a strong feeling that this parser is not very robust... Closes T5001
2016-12-16evas engines: Stop using arrays of 1 member for egl context and surfaceDerek Foreman
There's actually an array of 2 in gl_x11, but it appears we only use the first 1, except in an #if 0 block. I gather this is legacy for some reason - it sure doesn't seem to make any sense now, so I'm chopping off all the extra array indexes. Note: I've not changed gl_sdl - it looks like it doesn't use the context or surface at all and they could just be removed, but I don't build that one here and don't want to touch it.
2016-12-16evas: Remove context from some engine functionJean-Philippe Andre
This is for canvas_alpha_get. context is never used.
2016-12-16evas: Remove context from polygon internal functionsJean-Philippe Andre
It's not used
2016-12-15evas: silence warning of clobbered variable in the png saver.Cedric BAIL
2016-12-13Ecore Evas VNC: Properly shutdown server during cleanup.Guilherme Iscaro
Summary: The function rfbScreenCleanup() does not close the open sockets, a call to rfbShutdownServer() must be done to properly close them. Reviewers: cedric, bdilly Reviewed By: bdilly Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4459
2016-12-12evas: fix memory leak in software generic in error case.Awadhesh Singh
Summary: pixels_tmp memory need to be free in default case too. Signed-off-by: Awadhesh Singh <awadhesh1.s@samsung.com> Reviewers: singh.amitesh, raster, cedric Reviewed By: cedric Subscribers: atulfokk, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4473 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-12-09evas: Fix compilation after @cedric's "fix"Jean-Philippe Andre
Don't forget git add!
2016-12-08evas: refactor swap mode info get.Cedric Bail
2016-12-08evas-gl_cocoa: fix complete b0rkage of the engineJean Guyomarc'h
73b308fb66f871b93ef8e324997872e3bf175906 slaughtered the gl_cocoa engine. It's now back to life, lighter and shinier.
2016-12-08evas-wayland-egl: Remove unused field from Outbuf structureChris Michael
This patch just removes the 'evas' field from the Outbuf structure. This should have actually gone in on the previous patch but I missed removing it :( Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-08evas-wayland-shm: Remove unused variblesChris Michael
These variables are unused (as reported by gcc), and 'ob' is not really needed in eng_update so remove that also. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-08evas-wayland-egl: Cleanup wayland_egl engine and fix build breakChris Michael
A previous patch to refactor setup stage and reduce complexity actually introduced several build breaks. This patch fixes the build break for wayland-egl. ref 73b308fb66f871b93ef8e324997872e3bf175906 BAD CEDRIC !!!!! Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-08evas-gl-drm: Cleanup evas-gl-drm engine build and fix build breakChris Michael
A previous patch from some french guy broke building of the gl_drm engine. This patch fixes the build break and cleans up unused variables, etc. ref 73b308fb66f871b93ef8e324997872e3bf175906 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-08evas-drm: Remove unused variables and fix build breakChris Michael
Seems Cedric's patch for refactoring setup stage broke building for the evas drm engine. This patches fixes the issue. ref 73b308fb66f871b93ef8e324997872e3bf175906 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-08gl_drm: Check for the correct dma_buf extensionDerek Foreman
We're importing, not exporting
2016-12-08evas: fix software_gdi engine compilationAndrii Kroitor
2016-12-08evas fb engine - fix build break cedric added...Carsten Haitzler (Rasterman)
2016-12-07evas: do not rely on Evas canvas no longer passed during setup.Cedric BAIL
2016-12-07evas: refactor setup stage and reduce complexity for engine.Cedric BAIL
2016-12-07gl_drm: Only use dmabuf if the extension is presentDerek Foreman
Need to check for the extension string instead of just the presence of the function pointers.
2016-12-07gl_drm: Query eglGetProcAddress with dlsymDerek Foreman
eglGetProcAddress should be queried with dlsym unconditionally. What we had could query it with other extended forms of eglGetProcAddress, which is probably not what anyone wants. Also, throwing away the weird extended forms because there's a good chance our other gl bits don't run on any stacks that don't support normal eglGetProcAddress.
2016-12-07gl_drm: simplify outbuf_reconfigureDerek Foreman
Calling render_engine_software_generic_update from eng_setup lets us remove a bunch of stuff from evas_outbuf_reconfigure.
2016-12-07gl_drm: Don't destroy the outbuf in reconfigureDerek Foreman
Cedric tells me this is bad, and I never argue with Cedric. We now re-use the same outbuf and just reconfigure the gbm/gl stuff.
2016-12-07evas - software generic - fix crashDerek Foreman
Commit fcef8d8392b8c8d1d7b96baacaf5e7e89fcf6b45 breaks any evas engine that frees/NULLs its own outbuf before calling evas_render_engine_software_generic_update() We should unconditionally set the outbuf, we only need to do the free conditionally.
2016-12-07evas - software generic - fix crash when buffer is freed when its the sameCarsten Haitzler (Rasterman)
evas_render_engine_software_generic_update(0 definitely is wrong where it wants to always free the outbuf even if the buffer passed in is the same one and thus it ends up being freed and now invalid. fix it @fix
2016-12-06evas: as an example make PMAPS decoding interruptible.Cedric BAIL
2016-12-06evas: use emile and evas new infrastructure to interrupt decoding of JPEG early.Cedric BAIL
2016-12-06wayland_shm: track mappings more effectivelyDerek Foreman
Unmap any active mappings from buffer_destroy. This also means we need to clear the mapping after unmapping in fallback.
2016-12-06wayland_shm: Refcount the dmabuf buffer managerDerek Foreman
Because we async render into buffers before the compositor has told us we can use them, we can end up kicking over to fallback while still rendering into a buffer. Refcount the manager to let us clean up properly without crashing when this happens.
2016-12-06wayland_shm: clear busy bit for buffers during dmabuf fallbackDerek Foreman
If we pre-rendered then we have a busy buffer - we need to clear that busy bit after reading from the buffer or buffer_destroy won't clean it up.
2016-12-06wayland_shm: Clear busy status when replacing an unassigned bufferDerek Foreman
If we render fast enough we can use more than one buffer before the compositor assigns us buffer ids. We need to be careful to clear the busy bit on all but the most recent one.
2016-12-06gl_drm: Allow testing of dmabuf objectsDerek Foreman
Enlightenment needs to know if a specific dmabuf format is supported before it lets clients use it. This lets E test commit a wayland dmabuf object without assigning it a buffer.
2016-12-06evas-wayland-shm: Keep tile buffers in sync with size changesChris Michael
Previous patch to not destroy Outbuf on resize should not have removed this line else software generic tilebuffers will not be in sync with the updated size. ref 5ebba4463 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-06evas-drm: Keep tile buffers in sync with size changesChris Michael
This line should not have been removed from the previous patch. Thanks to Cedric for catching this. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-06evas-drm: Don't destroy Outbuf on resizeChris Michael
On an engine resize, we previously would destroy the Outbuf structure. This patch modifies the code so that on a resize we no longer have to destroy the old Outbuf and reallocate a new one. Instead, we will just reconfigure the existing one and update it's properties. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-06evas-wayland-shm: Don't destroy Outbuf on resizeChris Michael
On an engine resize, rather than destroy & recreate the Outbuf structure (and the associated surface) we can just call the eng_output_resize function (which in turn will call outbuf_reconfigure) to update Outbuf with new properties. This saves us from having to create a whole new Outbuf every time we resize. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-06all: use void if we really want to make sure we do not accept parametersStefan Schmidt
In C we need this to make clear that we really do not accept parameters. Found by the smatch source code matcher. I had run and fixed this before but it seems to creep in again over time.
2016-12-06evas: native_dmabuf: make sure we check for NULL before not after we dereferenceStefan Schmidt
Same change as just done in evas_native_tbm in commit 38dbe932db5c12f66ff2e045ac74107e149c14da.
2016-12-06evas: native_tbm: make sure we check for NULL before not after we dereferenceStefan Schmidt
Using *im and dereferencing it before doing the actual NULL check does not make much sense. I kept the checks as they have been there before so the intent was probably that they could be NULL and should be checked. CID: 1270030, 1270029, 1270028
2016-12-06elm_map: add copyright_cb for osm tile source.Sungtaek Hong
Summary: - According to Copyright and license in Openstreetmap (https://www.openstreetmap.org/copyright/en) credit has to be in the corner of map. - Add copyright_cb which returns an object to show copyright. Test Plan: 1. Excecute elementary_test->map 2. Right click->source->set any tile source 3. Observe copyright is added. Reviewers: cedric, Hermet, jpeg Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4449
2016-12-06evas - protect against outbuf alloc fail possibilityCarsten Haitzler (Rasterman)
this should fix T4967
2016-12-05evas: refactor initialisation and shutdown of evas_common.Cedric BAIL