summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eo: cleaning eo_base_callbacks.cdevs/avilog/callbacks_by_hashed_eventsAvi Levin2015-03-191-225/+66
| | | | @fix
* backAvi Levin2015-03-1635-5854/+979
|
* ecore_con: Not returning error if port is less than zero for local sockets.Srivardhan Hebbar2015-03-061-2/+9
| | | | | | | | | | | | | | Summary: If the socket is local, then there is no need to through error if the port is less than 0 (i.e., negetive). The behavior is same in _ecore_con_connector_eo_base_finalize funtion. So applied the same here. There is code in ecore_con_local.c to handle if port is less than zero for local sockets. In _ecore_con_connector_eo_base_finalize function, I've added a space just so that it shows difference in phabricator and would be easy for you to review. Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2089
* eina: add test cases for eina_xattr functions.vivek2015-03-065-1/+121
| | | | | | | | | | | | | | | | | | | Summary: Add eina_test_xattr.c file for testing eina xattr functions and added test cases for eina_xattr_set and eina_xattr_fd_set functions. Those tests need a directory where the underlying file system allow xattr. Usually /tmp is running on tmpfs that doesn't support today xattr. This test won't be run if we are not provided with an existing proper directory. Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2090 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_con: add test cases related to SSL.Srivardhan Hebbar2015-03-063-9/+134
| | | | | | | | | | | | | | | Summary: Add test cases related to SSL. Now it is not crashing and all test cases passes. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2095 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_con: calling ecore_con_local_init/shutdown from ecore_con_init/shutdown.Srivardhan Hebbar2015-03-061-0/+2
| | | | | | | | | | | | | | | | | Summary: ecore_con_local doesn't currently require any initialization, but it might need that on some platform and not having the init make the source code non obvious. This is just a patch to improve future maintenability. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2098 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: minimize fragmentation of chainned mempool.Subodh Kumar2015-03-062-22/+40
| | | | | | | | | | | | | | | | | Summary: Previously: Each allocation happened in the first chain after any free. Now: All allocation will happen in one chain until all buckets are full, this can reduce fragmentation to some extent. Reviewers: seoz, govi, shilpasingh, raster, cedric Reviewed By: cedric Subscribers: cedric, rajeshps Differential Revision: https://phab.enlightenment.org/D2071 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* elua: unexpose callback add/del eventsDaniel Kolesa2015-03-061-2/+0
|
* elua: more reliable eoid->lua number conversionDaniel Kolesa2015-03-061-4/+1
|
* elua: remove irrelevant commentDaniel Kolesa2015-03-061-1/+0
|
* elua: a func-to-idx cache for eo callbacksDaniel Kolesa2015-03-061-13/+12
|
* Edje epp: Fix FSF mailing address in the copyright notice.Tom Hacohen2015-03-067-14/+7
| | | | | | Fixes T2157. Thanks to spotrh for suggesting the fix.
* Evas GL common: Create OpenGL ES 3.x contexts by defaultJean-Philippe Andre2015-03-055-12/+92
| | | | | | | | | | | | | | | Automatically fallback to OpenGL ES 2.0 if OpenGL ES 3 is not supported. This is a first step in trying to support GLES 3 for Evas GL. This commit is also a wild test to see whether using GLES 3 contexts by default will break anything. The theory says that GLES 3 is backwards compatible with GLESv2. So, if anything GL breaks for you... scream loudly! But before reporting any bugs, please set the env variable: - export EVAS_GL_DISABLE_GLES3=1 This does not add any requirement for GLESv3 support.
* Evas GL: Fix list of extensions with GLESv1Jean-Philippe Andre2015-03-051-2/+9
| | | | | | | EGL/EvasGL extensions are also valid with GLESv1. This means evasglCreateImage could be used. @fix
* Edje init: fix typo in error message.Tom Hacohen2015-03-051-1/+1
| | | | Evas is the one being initiated, not eet.
* Evas GL: Fix CRI message on shutdownJean-Philippe Andre2015-03-051-1/+2
| | | | | | Just a simple log domain issue (EvasGL was not initialized, so ERR() would trigger a fatal error). EvasGL is now initialized on demand when a new GL surface is requested.
* edje - somehow edje doesn't init evas and this makes edje_decc break...Carsten Haitzler (Rasterman)2015-03-051-0/+7
| | | | | | | | @fix how on earth has everything worked to date? someone must have remved some evas_init from somewhere int he init codepath. this adds it back in and edje_decc works again without a segv.
* ee-wl should probably clamp configure event resize to output size for fs winsMike Blumenkrantz2015-03-041-1/+6
| | | | fs configures are 0x0, so reuse existing output size here to get accurate sizes
* ecore-wl windows now emit 0x0 configure sizes more reliably when fs/maximizedMike Blumenkrantz2015-03-041-4/+3
|
* ecore-wl update window saved.size on any resize instead of just fs/maximizeMike Blumenkrantz2015-03-041-5/+5
|
* ecore-drm: Implement edid parsing for Ecore_Drm_OutputChris Michael2015-03-041-3/+118
| | | | | | | | | | | | Summary: This implements edid parsing to obtain output make and model so we can get better output names. This also fixes a false FIXME statement in ecore_drm_output_physical_size_get function. As it turns out, we don't need to get these values from edid parsing as they are already available in the drm connector. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm: Add edid structure to Ecore_Drm_OutputChris Michael2015-03-041-1/+9
| | | | | | | Summary: This adds an edid substructure to Ecore_Drm_Output so that when we parse out EDID information, we have a place to store it Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-evas-drm: Fix function call to ecore_evas_pointer_xy_get for drmChris Michael2015-03-041-5/+4
| | | | | | | | | | | | engine Summary: This changes the ecore_evas_pointer_xy_get function call (on drm engine) to use the new ecore_drm_device_pointer_xy_get so we can center mouse pointer on an output at startup. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm: Center mouse pointer on an output when it gets createdChris Michael2015-03-041-0/+7
| | | | | | | | | Summary: This sets the initial mouse pointer position to be at the center of an output. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm: Add function to return the pointer xy of Ecore_Drm_DeviceChris Michael2015-03-042-0/+43
| | | | | | | | | | Summary: This adds a function (ecore_drm_device_pointer_xy_get) to we can return the mouse position inside ecore_evas_pointer_xy_get calls. This is going to be used for centering the mouse when E-Wl starts up. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm: Fix formattingChris Michael2015-03-041-3/+8
| | | | | | Summary: No functional changes, just formatting fixes Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Eio: added cmake fileMarcel Hollerbach2015-03-043-0/+32
| | | | | | | | | | | | | | Summary: Added cmake config files for Eio Test Plan: install it and test it with a app with needs eio Reviewers: cedric, tasn Reviewed By: tasn Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2079
* edje: code refactoring.ChunEon Park2015-03-041-3/+6
| | | | use a constant vairable for maintainance.
* lib/edje_util: fix logically wrong here.ChunEon Park2015-03-041-5/+5
| | | | | | | print err message only if edje has a non-fixed textblock. This dosen't affect any application ui results, but err message will point out the problem textblock parts exactly.
* elua: connect the del event on first callback connectDaniel Kolesa2015-03-041-2/+4
|
* Evas GL common: Disable evas gl preload by defaultJean-Philippe Andre2015-03-043-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, this "feature" has many problems and does not really fix those it was supposed to address: - Elm Photocam becomes horrible to use (the transition from low-res to high-res tiles triggers this miniature path). - Evas async preload callback is called before the full image is ready (ie. the texture is not uploaded yet), when really the preload callback should be triggered only once the image is 100% ready. (TODO) - Sometimes the miniature image keeps being used even though the main image has been uploaded (eg. with E background). Maybe the object image is not redrawn when it should. - This uses a separate thread for the upload, which is both a good and bad idea because we need to do a make current. Also, this does not upload the full-res image tile by tile, but only in one pass, thus blocking the render loop until finished. This patch changes the env var from "EVAS_GL_NOPRELOAD" to "EVAS_GL_PRELOAD" (and only "1" will enable). Sorry Cedric, we can talk later about how to improve this.
* Evas GL common: Improve quality of miniature imageJean-Philippe Andre2015-03-041-8/+43
| | | | | | | | | | | | Sample in the middle of the "macro pixels" and fool around with the borders (usually used to limit linear sampling artifacts) to improve image quality on the edges. Those miniatures are still 16x16 but MAAAYYYYYBE they will look a bit less awful. NOTE: The first row still doesn't scale properly (interpolates with garbage above y=0).
* Evas GL common: Force smooth scaling on miniature imagesJean-Philippe Andre2015-03-041-0/+1
| | | | | | | | | | | When evas GL uploads textures, it will first upload a 16x16 miniature image, and then wait for some idle time in the main loop to upload the high-res image. Some images may not have smooth scaling enabled which results in the miniature scaled with GL_NEAREST, showing big ugly squares. Let's force smooth scaling instead, for a blur image rather than a checkerboard.
* evas/examples: Resolved warning in evas-3d examplekabeer khan2015-03-041-0/+1
| | | | | | | | | | | | Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric, Hermet Reviewed By: Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2088
* elua: connect del callback by defaultDaniel Kolesa2015-03-031-0/+2
|
* elua: better callback resource handlingDaniel Kolesa2015-03-031-9/+20
|
* elua: implement callback disconnect + better error handlingDaniel Kolesa2015-03-031-12/+31
|
* elua: initial better callback system with indirectionDaniel Kolesa2015-03-031-4/+17
|
* elua: eo_class_addr_get -> eo_obj_addr_getDaniel Kolesa2015-03-031-6/+6
|
* elua: callback stubs for basic event handlingDaniel Kolesa2015-03-031-0/+21
|
* elua: callback updates in eo bindingsDaniel Kolesa2015-03-031-2/+10
| | | | | Priority is now supported. Some initial infra for disconnect has been added.
* elua: unregister all classes on eo.lua shutdownDaniel Kolesa2015-03-031-1/+1
|
* edje/edje_util: code refactoring.ChunEon Park2015-03-031-67/+79
| | | | | | change internal variables to more descriptive ones. no logic change.
* Evas GL: Fix build error on some systems w/o WaylandJean-Philippe Andre2015-03-031-0/+5
| | | | | | Thanks Mythri for the report. wl_display and wl_resource is declared in eglmesaext.h but older systems may not have that.
* Evas GL: Kill runtime warnings caused by auto fallbackJean-Philippe Andre2015-03-037-37/+65
| | | | | | | | | | | | The previous commit modifies the concept of direct rendering vs. indirect rendering, so some runtime checks (in debug mode only) will fail. This commit introduces two new engine functions: - gl_get_pixels_pre - gl_get_pixels_post The latter will be used in a later patch for optimization.
* Evas GL: Automatic fallback to indirect rendering when the scene hasJean-Philippe Andre2015-03-037-38/+130
| | | | | | | | | | | | not changed. Automatically fallback to indirect rendering on FBO or X11 Pixmap if the Evas Object Image is not marked as dirty. This should improve the performance and/or power consumption in those rare cases where this area of the canvas needs to be redrawn but the GL content has not changed. @feature
* evas-3d: recycling of resources for .ply import/export exampleBogdan Devichev2015-03-0311-13353/+895
| | | | | | | | | | | | Summary: Smaller resources for .ply example. Test Plan: run evas-3d-ply.c Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2069
* [Evas: Evas_3D] Fix mesh API.Dmytro Dadyka2015-03-032-73/+76
| | | | | | | | Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2075
* evas-3d: recycling of resources for mmap exampleBogdan Devichev2015-03-034-36631/+982
| | | | | | | | | | | | Summary: Models for mmap example are more than tan times smaller. Test Plan: run evas-3d-mmap-set.c Reviewers: cedric, raster, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2073
* evas-3d: deleted some unneccesary resources and moon-space exampleBogdan Devichev2015-03-037-784/+1
| | | | | | | | | | | | Summary: This example is deprecated. We have another (pick) to show functionality of it. Test Plan: Need merged D2044 to run pick example. Reviewers: cedric, raster, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2074