[Tizen-submit] 16198: Changes to Tizen:IVI/evas

noreply at tizen.org noreply at tizen.org
Fri Oct 18 14:06:22 GMT 2013


Hi,
Rafael Antognolli have made the following changes to evas in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16198

  submit:       Tizen:IVI:build/evas(cleanup) -> Tizen:IVI


Message:
Submitter: Rafael Antognolli <rafael.antognolli at intel.com>
Comments: Add video surface capabilities to Evas.
Git project: platform/upstream/evas
Tag: submit/tizen/20131017.152452
Commit: 89d19f48a65082120fbe0e26b21a6cacdc47e161 evas/image: Add video surface caps.

State:   accepted   2013-10-17T16:38:28 jesquivel
Comment: Okay.

History: new        2013-10-17T15:24:06 tizenrobot
changes files:
--------------

new:
----
  0003-evas-image-Add-video-surface-caps.patch

spec files:
-----------
--- evas.spec
+++ evas.spec
@@ -2,7 +2,7 @@
 Name:           evas
 Version:        1.7.8
 Release:        1
-VCS:            platform/upstream/evas#submit/tizen/20130910.211337-0-g3750ca94988426fdc591a94be6f18227763614ec
+VCS:            platform/upstream/evas#submit/tizen/20131017.152452-0-g89d19f48a65082120fbe0e26b21a6cacdc47e161
 License:        BSD 2-clause
 Summary:        Multi-platform Canvas Library
 Url:            http://www.enlightenment.org/
@@ -12,6 +12,7 @@
 # Patches auto-generated by git-buildpackage:
 Patch0:         0001-evas-wayland_egl-Skip-makecurrent-if-re-win-is-NULL.patch
 Patch1:         0002-evas-wayland_egl-Do-not-create-a-new-surface-if-we-al.patch
+Patch2:         0003-evas-image-Add-video-surface-caps.patch
 BuildRequires:  doxygen
 BuildRequires:  giflib-devel
 BuildRequires:  libjpeg-devel
@@ -65,6 +66,8 @@
 %patch0 -p1
 # 0002-evas-wayland_egl-Do-not-create-a-new-surface-if-we-al.patch
 %patch1 -p1
+# 0003-evas-image-Add-video-surface-caps.patch
+%patch2 -p1
 cp %{SOURCE1001} .
 
 %build

other changes:
--------------

++++++ 0003-evas-image-Add-video-surface-caps.patch (new)
--- 0003-evas-image-Add-video-surface-caps.patch
+++ 0003-evas-image-Add-video-surface-caps.patch
@@ -0,0 +1,214 @@
+From: Rafael Antognolli <rafael.antognolli at intel.com>
+Date: Fri, 11 Oct 2013 16:43:50 -0300
+Subject: evas/image: Add video surface caps.
+
+Wayland subsurfaces can be used as video surfaces too, similarly to
+Ecore_X windows. However, they support a different set of features. Some
+of them, like subsurface clipping and scaling, might be added in the
+future, but so far we must work with what we have.
+
+This commit allows to set an enum bitfield to the Video_Surface, with
+the default value being one that will keep the same behavior as before,
+for Ecore_X window. Thus, backward compatibility should not be broken.
+
+It's possible to inform Evas that the surface in question is not able to
+resize or scale, or that it's above or below the original canvas
+surface. This allows Evas to show the surface itself, or use a buffer of
+pixels instead, when the capabilities are not available.
+
+Change-Id: I35764b72c31792e8af8c8d83a3f4694a1ae5fa87
+---
+ src/lib/Evas.h                     |   32 ++++++++++++++++++
+ src/lib/canvas/evas_object_image.c |   34 +++++++++++++++++++
+ src/lib/canvas/evas_render.c       |   62 ++++++++++++++++++++++++++++++++++++
+ 3 files changed, 128 insertions(+), 0 deletions(-)
+
+diff --git a/src/lib/Evas.h b/src/lib/Evas.h
+index 7772d5b..5a1f631 100644
+--- a/src/lib/Evas.h
++++ b/src/lib/Evas.h
+@@ -810,6 +810,16 @@ struct _Evas_Video_Surface
+    void               *data;
+ };
+ 
++typedef enum _Evas_Video_Surface_Caps
++{
++   EVAS_VIDEO_SURFACE_MOVE = 1,
++   EVAS_VIDEO_SURFACE_RESIZE = 2,
++   EVAS_VIDEO_SURFACE_CLIP = 4,
++   EVAS_VIDEO_SURFACE_BELOW = 8,

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list