summaryrefslogtreecommitdiffstats
path: root/src/extensions/qt-dmabuf-server-buffer.xml
blob: c8c142f51a0d299ae38ad5fa9c2469df67592f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?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>