diff options
author | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> | 2014-05-30 17:29:12 +0900 |
---|---|---|
committer | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> | 2014-06-22 00:15:38 +0900 |
commit | ef44f45e3a3e6870518529c540fe7862647145ba (patch) | |
tree | 54e52056279bc35db89f541b88683aee4b2f3c95 /ivi-shell/ivi-layout.h | |
parent | 5d5b61a6d9527fa314373693e31344f49000a258 (diff) | |
download | weston-ef44f45e3a3e6870518529c540fe7862647145ba.tar.gz |
Transition animation support when attribute change of surface happens by ivi-layout api.
interpolate frames during transition.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Diffstat (limited to 'ivi-shell/ivi-layout.h')
-rw-r--r-- | ivi-shell/ivi-layout.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ivi-shell/ivi-layout.h b/ivi-shell/ivi-layout.h index a949b4c5..21762ad0 100644 --- a/ivi-shell/ivi-layout.h +++ b/ivi-shell/ivi-layout.h @@ -52,6 +52,59 @@ extern "C" { #include "compositor.h" struct ivi_layout_surface; +struct ivi_layout_layer; +struct ivi_layout_screen; + +struct ivi_layout_SurfaceProperties +{ + float opacity; + uint32_t sourceX; + uint32_t sourceY; + uint32_t sourceWidth; + uint32_t sourceHeight; + uint32_t origSourceWidth; + uint32_t origSourceHeight; + int32_t destX; + int32_t destY; + uint32_t destWidth; + uint32_t destHeight; + uint32_t orientation; + uint32_t visibility; + uint32_t frameCounter; + uint32_t drawCounter; + uint32_t updateCounter; + uint32_t pixelformat; + uint32_t nativeSurface; + uint32_t inputDevicesAcceptance; + uint32_t chromaKeyEnabled; + uint32_t chromaKeyRed; + uint32_t chromaKeyGreen; + uint32_t chromaKeyBlue; + int32_t creatorPid; +}; + +struct ivi_layout_LayerProperties +{ + float opacity; + uint32_t sourceX; + uint32_t sourceY; + uint32_t sourceWidth; + uint32_t sourceHeight; + uint32_t origSourceWidth; + uint32_t origSourceHeight; + int32_t destX; + int32_t destY; + uint32_t destWidth; + uint32_t destHeight; + uint32_t orientation; + uint32_t visibility; + uint32_t type; + uint32_t chromaKeyEnabled; + uint32_t chromaKeyRed; + uint32_t chromaKeyGreen; + uint32_t chromaKeyBlue; + int32_t creatorPid; +}; struct ivi_layout_interface { struct weston_view* (*get_weston_view)(struct ivi_layout_surface *surface); |