From 65a9c27f2020adf4a064c86afc991df5e8a41549 Mon Sep 17 00:00:00 2001
From: Jakob Bornecrantz <jakob@collabora.com>
Date: Mon, 20 Jul 2020 17:24:32 +0100
Subject: [PATCH] doc: Add changelog snippets for !444

---
 doc/changes/auxiliary/mr.444.1.md | 2 ++
 doc/changes/auxiliary/mr.444.2.md | 2 ++
 doc/changes/ipc/mr.444.1.md       | 2 ++
 doc/changes/ipc/mr.444.2.md       | 2 ++
 doc/changes/xrt/mr.444.1.md       | 2 ++
 doc/changes/xrt/mr.444.2.md       | 2 ++
 doc/changes/xrt/mr.444.3.md       | 3 +++
 7 files changed, 15 insertions(+)
 create mode 100644 doc/changes/auxiliary/mr.444.1.md
 create mode 100644 doc/changes/auxiliary/mr.444.2.md
 create mode 100644 doc/changes/ipc/mr.444.1.md
 create mode 100644 doc/changes/ipc/mr.444.2.md
 create mode 100644 doc/changes/xrt/mr.444.1.md
 create mode 100644 doc/changes/xrt/mr.444.2.md
 create mode 100644 doc/changes/xrt/mr.444.3.md

diff --git a/doc/changes/auxiliary/mr.444.1.md b/doc/changes/auxiliary/mr.444.1.md
new file mode 100644
index 000000000..cf2a3554b
--- /dev/null
+++ b/doc/changes/auxiliary/mr.444.1.md
@@ -0,0 +1,2 @@
+u/vk: Remove unused vk_image struct, this is later recreated for the image
+allocator code.
diff --git a/doc/changes/auxiliary/mr.444.2.md b/doc/changes/auxiliary/mr.444.2.md
new file mode 100644
index 000000000..b9093eb1c
--- /dev/null
+++ b/doc/changes/auxiliary/mr.444.2.md
@@ -0,0 +1,2 @@
+u/vk: Add a new image allocate helper, this is used by the main compositor to
+create, export and import swapchain images.
diff --git a/doc/changes/ipc/mr.444.1.md b/doc/changes/ipc/mr.444.1.md
new file mode 100644
index 000000000..8b642b55e
--- /dev/null
+++ b/doc/changes/ipc/mr.444.1.md
@@ -0,0 +1,2 @@
+generation: Fix handling 'in_handle' by adding a extra sync round-trip, this
+might be solvable by using `SOCK_SEQPACKET`.
diff --git a/doc/changes/ipc/mr.444.2.md b/doc/changes/ipc/mr.444.2.md
new file mode 100644
index 000000000..64ef187c1
--- /dev/null
+++ b/doc/changes/ipc/mr.444.2.md
@@ -0,0 +1,2 @@
+Implement the `xrt_compositor::import_swapchain` function, uses the earlier
+`in_handle` work.
diff --git a/doc/changes/xrt/mr.444.1.md b/doc/changes/xrt/mr.444.1.md
new file mode 100644
index 000000000..8c8bf8cc5
--- /dev/null
+++ b/doc/changes/xrt/mr.444.1.md
@@ -0,0 +1,2 @@
+Make some fields on `xrt_gl_swapchain` and `xrt_vk_swapchain` private moving
+them into the client compositor code instead of exposing them.
diff --git a/doc/changes/xrt/mr.444.2.md b/doc/changes/xrt/mr.444.2.md
new file mode 100644
index 000000000..f64d50c8a
--- /dev/null
+++ b/doc/changes/xrt/mr.444.2.md
@@ -0,0 +1,2 @@
+Make `xrt_compositor::create_swapchain` return xrt_result_t instead of the
+swapchain, this makes the methods on `xrt_compositor` more uniform.
diff --git a/doc/changes/xrt/mr.444.3.md b/doc/changes/xrt/mr.444.3.md
new file mode 100644
index 000000000..349eb0d4a
--- /dev/null
+++ b/doc/changes/xrt/mr.444.3.md
@@ -0,0 +1,3 @@
+Add the method `xrt_compositor::import_swapchain` allowing a state tracker to
+create a swapchain from a set of pre-allocated images. Uses the same
+`xrt_swapchain_create_info` as `xrt_compositor::create_swapchain`.
-- 
GitLab