diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-11-04 15:05:23 +0100 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-11-11 11:48:37 +0100 |
commit | 1919c0161fdf4804e7424347b6379184eeb2f399 (patch) | |
tree | be931ef56ad3a2b717eaa0b4b8a950caf990c1c7 /src | |
parent | 84dce213c77e744c1f0aab72f5ad3eab7b963908 (diff) |
Make texture sharing mechanism hidden and experimental
The texture sharing mechanism has some issues still, and
it is not strictly required in Qt 6.0. So we keep the code
for now, but hide the feature and document it as experimental
and unsupported. This makes it convenient to bring it back
later, maybe with a revised API, when have more concrete use
cases.
The example is moved into manual tests for now, and can
easily be brought back later.
Change-Id: Icfe4841b329bebcf9d63d1e00a4f6ae613c5092f
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/texture-sharing-extension/plugin.cpp | 4 | ||||
-rw-r--r-- | src/imports/texture-sharing/plugin.cpp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/imports/texture-sharing-extension/plugin.cpp b/src/imports/texture-sharing-extension/plugin.cpp index 42dcd8e2d..094d2f748 100644 --- a/src/imports/texture-sharing-extension/plugin.cpp +++ b/src/imports/texture-sharing-extension/plugin.cpp @@ -43,6 +43,7 @@ #include "QtWaylandCompositor/private/qwltexturesharingextension_p.h" /*! + \internal \qmlmodule QtWayland.Compositor.TextureSharingExtension 1 \title Qt Wayland Shared Texture Provider \ingroup qmlmodules @@ -53,6 +54,9 @@ This module lets the compositor export graphical resources that can be used by clients, without allocating any graphics memory in the client. + \note The texture sharing functionality is considered experimental and + currently unsupported in Qt 6. + \section2 Usage This module is imported like this: diff --git a/src/imports/texture-sharing/plugin.cpp b/src/imports/texture-sharing/plugin.cpp index 9cf6bbca1..695ce874d 100644 --- a/src/imports/texture-sharing/plugin.cpp +++ b/src/imports/texture-sharing/plugin.cpp @@ -43,6 +43,7 @@ #include "sharedtextureprovider.h" /*! + \internal \qmlmodule QtWayland.Client.TextureSharing 1 \title Qt Wayland Shared Texture Provider \ingroup qmlmodules @@ -52,6 +53,10 @@ This module allows Qt Wayland clients to use graphical resources exported by the compositor, without allocating any graphics memory in the client. + + \note The texture sharing functionality is considered experimental and + currently unsupported in Qt 6. + \section2 Usage To use this module, import it like this: |