summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-06Edje epp: Fix FSF mailing address in the copyright notice.Tom Hacohen
Fixes T2157. Thanks to spotrh for suggesting the fix.
2015-03-05Evas GL common: Create OpenGL ES 3.x contexts by defaultJean-Philippe Andre
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.
2015-03-05Evas GL: Fix list of extensions with GLESv1Jean-Philippe Andre
EGL/EvasGL extensions are also valid with GLESv1. This means evasglCreateImage could be used. @fix
2015-03-05Edje init: fix typo in error message.Tom Hacohen
Evas is the one being initiated, not eet.
2015-03-05Evas GL: Fix CRI message on shutdownJean-Philippe Andre
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.
2015-03-05edje - somehow edje doesn't init evas and this makes edje_decc break...Carsten Haitzler (Rasterman)
@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.
2015-03-04ee-wl should probably clamp configure event resize to output size for fs winsMike Blumenkrantz
fs configures are 0x0, so reuse existing output size here to get accurate sizes
2015-03-04ecore-wl windows now emit 0x0 configure sizes more reliably when fs/maximizedMike Blumenkrantz
2015-03-04ecore-wl update window saved.size on any resize instead of just fs/maximizeMike Blumenkrantz
2015-03-04ecore-drm: Implement edid parsing for Ecore_Drm_OutputChris Michael
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>
2015-03-04ecore-drm: Add edid structure to Ecore_Drm_OutputChris Michael
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>
2015-03-04ecore-evas-drm: Fix function call to ecore_evas_pointer_xy_get for drmChris Michael
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>
2015-03-04ecore-drm: Center mouse pointer on an output when it gets createdChris Michael
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>
2015-03-04ecore-drm: Add function to return the pointer xy of Ecore_Drm_DeviceChris Michael
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>
2015-03-04ecore-drm: Fix formattingChris Michael
Summary: No functional changes, just formatting fixes Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-04Eio: added cmake fileMarcel Hollerbach
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
2015-03-04edje: code refactoring.ChunEon Park
use a constant vairable for maintainance.
2015-03-04lib/edje_util: fix logically wrong here.ChunEon Park
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.
2015-03-04elua: connect the del event on first callback connectDaniel Kolesa
2015-03-04Evas GL common: Disable evas gl preload by defaultJean-Philippe Andre
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.
2015-03-04Evas GL common: Improve quality of miniature imageJean-Philippe Andre
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).
2015-03-04Evas GL common: Force smooth scaling on miniature imagesJean-Philippe Andre
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.
2015-03-04evas/examples: Resolved warning in evas-3d examplekabeer khan
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
2015-03-03elua: connect del callback by defaultDaniel Kolesa
2015-03-03elua: better callback resource handlingDaniel Kolesa
2015-03-03elua: implement callback disconnect + better error handlingDaniel Kolesa
2015-03-03elua: initial better callback system with indirectionDaniel Kolesa
2015-03-03elua: eo_class_addr_get -> eo_obj_addr_getDaniel Kolesa
2015-03-03elua: callback stubs for basic event handlingDaniel Kolesa
2015-03-03elua: callback updates in eo bindingsDaniel Kolesa
Priority is now supported. Some initial infra for disconnect has been added.
2015-03-03elua: unregister all classes on eo.lua shutdownDaniel Kolesa
2015-03-03edje/edje_util: code refactoring.ChunEon Park
change internal variables to more descriptive ones. no logic change.
2015-03-03Evas GL: Fix build error on some systems w/o WaylandJean-Philippe Andre
Thanks Mythri for the report. wl_display and wl_resource is declared in eglmesaext.h but older systems may not have that.
2015-03-03Evas GL: Kill runtime warnings caused by auto fallbackJean-Philippe Andre
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.
2015-03-03Evas GL: Automatic fallback to indirect rendering when the scene hasJean-Philippe Andre
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
2015-03-03evas-3d: recycling of resources for .ply import/export exampleBogdan Devichev
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
2015-03-03[Evas: Evas_3D] Fix mesh API.Dmytro Dadyka
Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2075
2015-03-03evas-3d: recycling of resources for mmap exampleBogdan Devichev
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
2015-03-03evas-3d: deleted some unneccesary resources and moon-space exampleBogdan Devichev
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
2015-03-02ecore-wl: Send xdg_surface_set_window_geometry when we update windowChris Michael
size/position Summary: We should be implementing xdg_surface_set_window_geometry for efl apps, so this commit adds the function call to that. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-02elua: take __tostring from object metatable on robjectsDaniel Kolesa
2015-03-02elua: readonly object __dtor supportDaniel Kolesa
2015-03-02ecore-imf: Add check for environment variable to enable show/hide of input panelChris Michael
Summary: Allow ecore_imf input panel to be shown/hidden via the master 'enabled' switch or via an environment variable. This is required for Tizen in order that 3rd party apps can still show input_panel even if master switch is disabled (as per discussion with Carsten). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-02elua: add transparent destructor support to elua objectsDaniel Kolesa
2015-03-02Evas masking: Use mask_smooth to differentiate "shaders"Jean-Philippe Andre
If mask_smooth changes, it should trigger a flush of the pipeline (and call glDrawArrays). This may or may not fix some potential bugs with masking.
2015-03-02edje: apply scale prior to rotationChunEon Park
As my experience, this tranform is likely expected by user.
2015-03-02edje: Adding the zoom effect of map to edjejiin.moon
Summary: Support zoom effect of map in edje @feature Reviewers: Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2068
2015-03-02Evas GL: Use Eina_Strbuf for the extensions listJean-Philippe Andre
The usage of strcat/strncat was not safe, and even Coverity reported about it. Fixes CID 1256197: CID 1256197 (#1 of 2): Buffer not null terminated (BUFFER_SIZE_WARNING) 1. buffer_size_warning: Calling strncpy with a maximum size argument of 10240 bytes on destination array _gl_ext_string of size 10240 bytes might leave the destination string unterminated.
2015-03-02Evas GL: Fix value of GL_COVERAGE_SAMPLES_NVJean-Philippe Andre
Use the Khronos version from extension EGL_NV_coverage_sample. In the extension multisample_coverage version 4 (since 3/7/2013), there is an explicite note about the name conflict.
2015-03-02Evas GL: remove evgl_init in gl_get_pixels_setDongyeon Kim
Summary: gl_get_pixels_set is called in evas_object_image_render even when evas gl is not used. As gl_get_pixels_set does not actually call evas gl functions, we can safely remove evgl_init macro here. Reviewers: raster, cedric, jpeg, Hermet Subscribers: cedric, mer.kim, wonsik Differential Revision: https://phab.enlightenment.org/D2063 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>