xrt: Clarify a comment regarding DXGI handles.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2333>
This commit is contained in:
Rylie Pavlik 2024-10-02 12:27:48 -05:00 committed by Simon Zeni
parent 6cf15018dc
commit 11ddac8857
2 changed files with 7 additions and 0 deletions

View file

@ -1,4 +1,5 @@
--- ---
- mr.2322 - mr.2322
- mr.2333
--- ---
- Doxygen improvements. - Doxygen improvements.

View file

@ -2169,6 +2169,12 @@ struct xrt_image_native
/*! /*!
* Is the native buffer handle a DXGI handle? * Is the native buffer handle a DXGI handle?
*
* - If true, it is some kind of weird global handle, not reference counted, but
* widely compatible with various images. Ostensibly deprecated, but works the best
* on Windows.
* - If false, it's either not Windows, or a reference counted "NT Handle"
* which has awkward limitations, such as "usually no depth images allowed".
*/ */
bool is_dxgi_handle; bool is_dxgi_handle;
}; };