wtz-video-shell: Add already_exported error enum 58/324958/4
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 29 May 2025 06:51:52 +0000 (15:51 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Fri, 30 May 2025 02:36:14 +0000 (11:36 +0900)
An already_exported protocol error will be raised if the given
wl_subsurface has been already exported as an exported viewport.

Change-Id: I95b9ff9282ea0e41697d172ddbe89f27a9e9981d

protocol/tizen/wtz-video-shell.xml

index ccccd28940035e45eeb0d0cab88a22da090ff6c6..07b5b75cec6b1fd52b9c72d1d02e94655ab1fd3d 100644 (file)
@@ -92,6 +92,7 @@
     <enum name="error">
       <entry name="role" value="0" summary="given surface has another role"/>
       <entry name="child_exists" value="1" summary="the subsurface to export as video viewport cannot have a child subsurface"/>
+      <entry name="already_exported" value="2" summary="the subsurface has been already exported"/>
     </enum>
 
     <request name="export_viewport">
         attach and display video buffers in sync with the exported viewport's
         state.
 
+        If the given wl_subsurface has already been exported as a
+        wtz_video_exported_viewport, the compositor will raise an
+        already_exported protocol error.
+
         The wl_subsurface used for wtz_video_exported_viewport cannot have
         child subsurfaces. If the specified wl_subsurface has a child surface, a
         child_exists protocol error is raised.