<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.