Skip to content

Commit

Permalink
docs: more doxygen fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jun 20, 2024
1 parent f3abf59 commit 67a5aa4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -910,8 +910,7 @@ WARN_IF_UNDOC_ENUM_VAL = NO
# Possible values are: NO, YES, FAIL_ON_WARNINGS and FAIL_ON_WARNINGS_PRINT.
# The default value is: NO.

WARN_AS_ERROR = NO
# todo - ideally this will eventually become FAIL_ON_WARNINGS
WARN_AS_ERROR = FAIL_ON_WARNINGS

# The WARN_FORMAT tag determines the format of the warning messages that doxygen
# can produce. The string should contain the $file, $line, and $text tags, which
Expand Down Expand Up @@ -2457,7 +2456,7 @@ INCLUDE_FILE_PATTERNS =
# recursively expanded use the := operator instead of the = operator.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.

PREDEFINED =
PREDEFINED = DOXYGEN

# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The
Expand Down
3 changes: 3 additions & 0 deletions src/platform/linux/graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/platform/linux/wayland.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
3 changes: 3 additions & 0 deletions src/platform/windows/display_ram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
3 changes: 3 additions & 0 deletions src/platform/windows/display_vram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 67a5aa4

Please sign in to comment.