Commit Graph

29165 Commits

Author SHA1 Message Date
Larry Jr a44f3c0818 changes to correct build in Tizen platform 2015-05-20 15:58:18 -03:00
Guilherme Lepsch 5167399c16 eina: Eina_Value optional. 2015-05-15 17:31:56 -03:00
Larry Jr a988885f2f EFL_Model: Created EFL_Model and Eio_Model.
Conflicts:
	src/Makefile_Eio.am
	src/tests/eio/eio_suite.c
	src/tests/eio/eio_suite.h
2015-05-15 17:31:56 -03:00
Wonsik Jung 5550b595c9 Create Wl surface for evas gl capability testing
@fix - Current Evas GL native egl  surface is created using wl surface of Evas Wayland EGL Backend
If this wl surface is deleted, Evas GL native egl surface will be invalid.
To fix, this patch has the creation of new wl surface for Evas GL.
It is similar to XOrg's Evas GL.

Change-Id: I0a9b1434a51ae80ec882c3db6212081d92ebe2b7
2015-05-12 23:01:45 -07:00
Ji-Youn Park 295edfcfb7 Evas GL: fix bug related with alignment
if pixel size is not 32 bit, alignment have to be changed.

Change-Id: I6258637dd859c8de8162542e8f95c85052c623d5
Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>
2015-05-13 14:50:30 +09:00
MinJeong Kim 843ac65981 ecore_evas_wayland: prevent duplicated shutdown for ecore_wl
Change-Id: I56d41906aa17c360194259defc17a6182b400334
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
2015-05-12 20:55:42 -07:00
Boram Park d2c6cc31ac check if tz_policy exists to avoid segfault
Change-Id: I3ca6d48d0a4a1d6c89dac2192cb8e742a7628a49
2015-05-13 12:46:33 +09:00
jhyuni.kang 39efcc25f1 Change a file 755->644
Change-Id: I75c0f711fdd39eb34c12fb1af66cc8d20e911158
2015-05-12 13:59:56 +09:00
Wonsik Jung 4f98c37a14 Fix to call evas gl init when elm_glview/evas gl is not used.
@fix - Although elm_glview/evas gl is not used, evgl_engine_init() is called.
Because eng_gl_get_pixels_set is always called when evas object image is rendering.
To fix it, the checked code with pixel_getter function is added

Change-Id: I60461dcce3d2dcfae857c9870bf656c3aa9b0b65
2015-05-10 15:04:17 +09:00
jhyuni.kang be57a84100 ecore-wayland: Check a key repeat using xkb ruled keycode
Change-Id: Icf432f3fbbfd21bccf7bf2f001999faea04d5890
2015-05-07 20:34:19 +09:00
Boram Park 7f1c57d6fe ecore-drm: fix double free problem
Change-Id: I935244194a74b2321a11804be371fe9ea59db321
2015-05-07 10:39:33 +09:00
Boram Park c18839df82 send ECORE_WL_EVENT_WINDOW_HIDE when window is destroyed
Change-Id: I05ce1ed7810e8ce7155f712d16416bf31812bb81
2015-04-30 19:25:25 +09:00
Boram Park 8de0036a7e support ECORE_WL_EVENT_WINDOW_SHOW/HIDE event
Change-Id: I0d87d60d00e15abd8521242e62a97bebbe02805c
2015-04-30 17:58:00 +09:00
Boram Park 35d8ec57b3 support activate request for wl_surface
Change-Id: I2ae3dae66b0f068365608696f6945f7d5fc23e74
2015-04-30 17:58:00 +09:00
MinJeong Kim 8eb42e3fd7 ecore_evas_wayland: remove duplicated shutdown for ecore_evas_wl_common
Change-Id: I3683f86a9aa7cb414236dde9defe9d4bd94ebc65
2015-04-30 14:13:15 +09:00
Gwanglim Lee b5ba4746ae evas gl_generic wayland_egl: add NULL check in eng_window_use and evas_gl_common_context_resize to avoid segmentation fault after failing egl choose config
Change-Id: Ia45e478956e0816094e6ac2f7e18976a19c62302
2015-04-29 23:37:55 +09:00
Mun, Gwan-gyeong ffbba7b7c2 evas-drm: Fix evas-gl_drm picking incorrect resolution/mode for outputs
Change-Id: Ibf5fcb065141404cf6ad3287460817b8c96bbd1c
2015-04-29 03:27:58 -07:00
Boram Park d591afc88f fix blocking issue when a pageflip event doesn't occur
Change-Id: Ied38ad1fc078e82ec85aa8e00556f34970fc48fd
2015-04-29 14:36:38 +09:00
Derek Foreman a9ad1da639 ecore-drm Add API for querying output parameters
Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Maniphest Tasks: T2131

Differential Revision: https://phab.enlightenment.org/D2005

Conflicts:

	src/lib/ecore_drm/Ecore_Drm.h
	src/lib/ecore_drm/ecore_drm_output.c

Change-Id: I5d7e097834e5fd55aa4fad3ab137be6c0063f86f
2015-04-29 10:48:28 +09:00
Chris Michael e9f22c28a0 ecore-drm: Add support for DPMS on an output
Summary: This commit adds support for setting DPMS level of an output.
This adds a new API function 'ecore_drm_output_dpms_set' to set the
level.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>

Conflicts:

	src/lib/ecore_drm/Ecore_Drm.h
	src/lib/ecore_drm/ecore_drm_output.c
	src/lib/ecore_drm/ecore_drm_private.h

Change-Id: Id544f862b2f76ff10a9a1142852b505d9c4d0fbb
2015-04-29 07:44:21 +09:00
MinJeong Kim dbed58f9a5 ecore_wl_window: changed opaque region set
1. request 'set_opaque_region' directly.
2. request for setting opaque region to NULL when window is being set to alpha

Change-Id: I9092d3d1adb850c7c77e0b9d1ce4f79eaffde214
2015-04-28 16:45:08 +09:00
Jean-Philippe Andre 09b566fc93 Edje smart: Add NULL safety
This case actually happens with E. It's invalid but still happening,
and because Eo doesn't actually check the parent (or its type) fully,
an invalid, non-NULL object was returned.

See T2336 (this is not fixing the root cause!).

Change-Id: I800606d2f6009ba6c9b128b3cd75ac73a730aeda
origin: upstream
2015-04-28 13:54:08 +09:00
Youngbok Shin 1c07d71155 evas text: fix _ellipsis_get to return -1.0 on failure.
Summary:
When getting ellipsis value from evas text object fails,
the most reasonable return value is -1.0.
Currently, evas_object_text_ellipsis_get API with NULL returns 0.0.
It means ellipsis is not off. It must return -1.0 when API fails.
@fix

Comments by Tom: until now, this was inconsistent. With this change, it
now returns -1.0 consistently. Also, fixed commit summary.

Reviewers: woohyun, Hermet, seoz, tasn

Reviewed By: tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1944

Change-Id: I28672de1524c959b3d17349e8b2e081f1cca933b
origin: upstream
2015-04-27 17:54:09 +09:00
Jaehwan Kim 75782b15f5 evas_text: fix default return value.
@fix

Change-Id: Iaedbb2f4973d997a17badab0400297db1f3f93b8
origin: upstream
2015-04-27 17:54:08 +09:00
Jaehwan Kim 8c03b56c98 ecore_timer: fix the default return value.
When this function fails to get the interval value, it should return -1.0.
Currently, the value can be integer(-1.0 has an Error).
Maybe it should be fixed.

@fix

Change-Id: Ied080e1b2e25412d6ab69124184165de4b498e91
origin: upstream
2015-04-27 17:54:07 +09:00
Boram Park b012c78fb5 ecore_wayland: implementation for tizen-policy protocol
Change-Id: I7a8450876a6b50f75e1ab762d81f44f444bc80e7
2015-04-27 13:46:45 +09:00
MinJeong Kim 79cca75839 Add wl_display_roundtrip to wait for being done pending job by server
Change-Id: Iacc372c96633c69c9af97bfe93ea2fec73a1ccf0
2015-04-22 18:37:19 +09:00
MinJeong Kim 80954d9c71 evas-wayland-shm : Refactor Evas Wayland Shm Engine
Change-Id: I307d01a05ca49d667aebe29015b9ee543b8cce38
2015-04-22 18:37:16 +09:00
Mun, Gwan-gyeong 8ab2a67a74 ecore-drm: Send touch_motion event when touch_down event is triggered.
Change-Id: Ie80fd0852985e3f43d55b17e104e15c029d182b0
2015-04-21 08:03:01 -07:00
Boram Park 2f9fcc8704 correct the physical size of a drm output
Change-Id: I8bffb4fcec5f77e96f2067687bac383e23927805
2015-04-21 10:54:12 +09:00
Boram Park d1d981b003 add evas_render_copy to dump evas canvas
summary:
In case of x, if client knows xid, then client can get a image from
window. But in case of wayland, client only knows window resource.
And buffer is hidden inside of evas engine backend. To get a image
from window, evas should offer a way to allow client to get a image.

Change-Id: I475266fe92ded534c4adce26092676464db02cc5
2015-04-17 14:47:23 +09:00
Chris Michael 22eb61adf4 ecore-drm: Return the index of the crtc from output_crtc_find
Summary:
Fix issue of invalid memory read from
ecore_drm_output_create. We call ecore_drm_output_crtc_find to get the
Index of the crtc to use, however prior to this commit the index was
not being returned (the actual crtc was)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2140
2015-04-17 14:47:19 +09:00
Chris Michael 0479617ca2 ecore-drm: Add output id to output event
Summary: When we raise an event for an output, also include the output
id in the event structure. This will allow us to better identify which
output the event occured on.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-17 14:47:17 +09:00
Derek Foreman 8092cf57fa ecore-drm Add hooks for updating wl_output when outputs are hotplugged
Summary:
This provides callbacks to any bound wl_output listeners when a
display is hotplugged.

NOTE: Currently we don't receive hotplug events
ANOTHER NOTE: We don't yet handle display removal

Reviewers: devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T2131

Differential Revision: https://phab.enlightenment.org/D2006
2015-04-17 14:47:15 +09:00
Jaehwan Kim 9575100163 Merge "Evas object: verify the parent is valid and fail if not." into tizen 2015-04-14 22:34:18 -07:00
Gwanglim Lee 30e8acfdaf evas gl_drm engine: add support for recreating gbm surface after resize
Change-Id: I6d6a9ebd9233b4d6a702419e827b0196092aa630
2015-04-14 23:04:10 +09:00
Tom Hacohen 55e96703c0 Evas object: verify the parent is valid and fail if not.
It seems like before the switch to Eo, all the object_*_add functions
had magic checks that only allowed non NULL Evas pointers to be passed.
Since we switched to Eo we apparently missed the early failure we used
to have, and we instead fail later. This patch should fix that.

Thanks to jaehwan for reporting.

@fix

Change-Id: Ic9d30d25b6b3120472b908ef6992b1462a3a2b3e
Origin: upstream
2015-04-14 18:09:42 +09:00
Jaehwan Kim 8f22f51cca Merge "evas/common: improve evas_common_convert_argb_unpremul() computation." into tizen 2015-04-13 18:46:39 -07:00
Gwanglim Lee e9955e2a27 packaging: reduce summary. it must not exceed 79 characters.
Change-Id: Icd2209fed4845f64f5f6d7ce59a44c2583a08f9c
2015-04-14 10:27:42 +09:00
ChunEon Park de4b8a5c0c evas/common: improve evas_common_convert_argb_unpremul() computation.
prev logic increased the alpha channel by 1 so the unpremul resulted in the color got too diff from the origin.

We can't avoid losing the rest values while dividing values in premul/unpremul()
but this will recover the value better closed to origin value.

Change-Id: I32ab39f3efd89753a697602f53b893107bec9247
Origin: upstream
2015-04-13 06:33:21 -07:00
Gwanglim Lee 5676fde529 evas gl_drm: enable blacklist gl engine check to prevent segfault when it is trying to run on sw mesa
Change-Id: I49f29632dd7f5daedf281cf32856bbf2b180a538
2015-04-12 01:04:07 +09:00
Gwanglim Lee 4dce59e0a2 ecore_evas_drm: fix init and shutdown error when re-initializing ecore_evas.
Change-Id: Iaf197ed51a05375d0f19d8ae72dc7f222721afbd
2015-04-12 01:01:59 +09:00
Gwanglim Lee ff3aed063e ecore_drm_tty: disable unsetenv
Change-Id: I0be1994115ea056f5294ae69e2f39eee8a11ea89
2015-04-12 00:59:48 +09:00
Gwanglim Lee 195a1a318a ecore_drm: disable creating drm fb dumb buffer in _ecore_drm_output_create.
This code brings up set_crtc privilege error on evas drm / gl_drm engies.

Change-Id: I4d304b0fb0de76035bb967b6aab8590a89220f1a
2015-04-12 00:57:55 +09:00
Gwanglim Lee 1f97317bc1 ecore_drm: add null check when releasing resource
Change-Id: I27308f691ee94e0dee0f1f07d1c1f3cfe31f4874
2015-04-12 00:49:36 +09:00
Gwanglim Lee 9309a9feef ecore_evas_drm: improve drm page flip event handling
Change-Id: I5f0cda91b905c2f3e6057a3a1f81948ec2a8bc88
2015-04-10 01:11:07 +09:00
Gwanglim Lee eaca0b233a ecore_evas: remove libglapi.so dlerror check to avoid ecore_evas_drm_shutdown on target which doesn't have glapi library
Change-Id: Ice7d8b6edc1104d296a585c6bbd9edaf73ce62f0
2015-04-09 23:50:33 +09:00
Gwanglim Lee f352bfd28a packaging: enable evas gl_drm engine
Change-Id: I32cc9f07269b45bc9bb53bcf43447d0bcaab038e
2015-04-09 23:43:22 +09:00
Daekwang Ryu c15b562218 Merge "Evas GL : Bugfix when using pixmap in native surface image" into tizen 2015-04-08 22:37:05 -07:00
Daekwang Ryu e182886fa7 Evas GL : Bugfix when using pixmap in native surface image
[Cause] When using pixmap without alpha channel, use incorrect shader codes.
[Solution] add a new variable "offbuffer"

Change-Id: Ia98b14b52658e8654efd1d493a88ea31145769a6
2015-04-09 13:39:53 +09:00