From a1db14ebcdc490834d6b1fdb83e146abbc0040b8 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Fri, 14 Jul 2023 16:18:07 +0900 Subject: [PATCH] wtz-blender: add set_equation Change-Id: I6f9e71f7ad905b62d82544dd4f1a0d3c0481aede --- protocol/tizen/wtz-blender.xml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/protocol/tizen/wtz-blender.xml b/protocol/tizen/wtz-blender.xml index fbe94eb..2e2e091 100644 --- a/protocol/tizen/wtz-blender.xml +++ b/protocol/tizen/wtz-blender.xml @@ -29,7 +29,7 @@ This protocol allows clients to have more control over alpha compositing - of surface contents. + and blending of surface contents. @@ -64,8 +64,8 @@ - A surface extension interface for setting a global alpha value applied - to the whole surface. + A surface extension interface for setting a blending equation and + a global alpha value applied to the whole surface. When the blend object is created its its alpha value is UINT32_MAX (ie, opaque). @@ -78,6 +78,10 @@ the wtz_blend object becomes inert. + + + + Destroy the blend object. @@ -86,6 +90,16 @@ + + + Blending equations that can be used when compositing a surface. + + By default, "premultiplied" is used. + + + + + Set the alpha value applied to the whole surface for compositing. This @@ -99,6 +113,19 @@ + + + + Set the blending equation for compositing the surface. + + If the blending equation is invalid, the invalid_equation protocol + error is raised. + + The blending equation is double-buffered state, and will be applied on + the next wl_surface.commit. + + + -- 2.7.4