<?xml version="1.0" encoding="UTF-8"?>
<protocol name="qt_dmabuf_server_buffer">
    <copyright>
 Copyright (C) 2018 The Qt Company Ltd.
 SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
    </copyright>
  <interface name="qt_dmabuf_server_buffer" version="1">
    <description summary="internal protocol for buffer sharing">
      This protocol is used internally by Qt for implementing the
      qt_server_buffer extension on hardware that supports Linux dma-buf.

      This protocol is not part of the Qt API.  It exists purely as an
      implementation detail and may change from version to
      version without notice, or even be removed.
    </description>
    <event name="server_buffer_created">
      <arg name="id" type="new_id" interface="qt_server_buffer"/>
      <arg name="fd" type="fd"/>
      <arg name="width" type="int"/>
      <arg name="height" type="int"/>
      <arg name="stride" type="int"/>
      <arg name="offset" type="int"/>
      <arg name="fourcc_format" type="int"/>
    </event>
  </interface>
</protocol>

