docs: more doxygen fixes (#2736)

This commit is contained in:
ReenigneArcher
2024-06-20 21:34:27 -04:00
committed by GitHub
parent f3abf59fbf
commit acd9ae606e
6 changed files with 13 additions and 7 deletions

View File

@@ -339,6 +339,9 @@ namespace egl {
return eglGetError() != EGL_SUCCESS;
}
/**
* @memberof egl::display_t
*/
display_t
make_display(std::variant<gbm::gbm_t::pointer, wl_display *, _XDisplay *> native_display) {
constexpr auto EGL_PLATFORM_GBM_MESA = 0x31D7;

View File

@@ -17,7 +17,7 @@
* The classes defined in this macro block should only be used by
* cpp files whose compilation depends on SUNSHINE_BUILD_WAYLAND
*/
#ifdef SUNSHINE_BUILD_WAYLAND
#if defined(SUNSHINE_BUILD_WAYLAND) || defined(DOXYGEN)
namespace wl {
using display_internal_t = util::safe_ptr<wl_display, wl_display_disconnect>;

View File

@@ -370,6 +370,9 @@ namespace platf::dxgi {
return 0;
}
/**
* @memberof platf::dxgi::display_ram_t
*/
int
display_ram_t::dummy_img(platf::img_t *img) {
if (complete_img(img, true)) {

View File

@@ -1583,6 +1583,9 @@ namespace platf::dxgi {
}
// This cannot use ID3D11DeviceContext because it can be called concurrently by the encoding thread
/**
* @memberof platf::dxgi::display_vram_t
*/
int
display_vram_t::dummy_img(platf::img_t *img_base) {
return complete_img(img_base, true);