Skip to content

Commit

Permalink
nit(WaylandBackend): clean up whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
MithicSpirit committed Dec 22, 2024
1 parent 1c9495c commit ebe191d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Backends/WaylandBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ namespace gamescope
wp_fractional_scale_manager_v1 *m_pFractionalScaleManager = nullptr;
xdg_toplevel_icon_manager_v1 *m_pToplevelIconManager = nullptr;

struct
struct
{
std::vector<xx_color_manager_v3_primaries> ePrimaries;
std::vector<xx_color_manager_v3_transfer_function> eTransferFunctions;
Expand Down Expand Up @@ -1302,7 +1302,7 @@ namespace gamescope

void CWaylandPlane::Wayland_XXImageDescriptionInfo_Done( xx_image_description_info_v3 *pImageDescInfo )
{

}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_ICCFile( xx_image_description_info_v3 *pImageDescInfo, int32_t nICCFd, uint32_t uICCSize )
{
Expand All @@ -1311,15 +1311,15 @@ namespace gamescope
}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_Primaries( xx_image_description_info_v3 *pImageDescInfo, int32_t nRedX, int32_t nRedY, int32_t nGreenX, int32_t nGreenY, int32_t nBlueX, int32_t nBlueY, int32_t nWhiteX, int32_t nWhiteY )
{

}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_PrimariesNamed( xx_image_description_info_v3 *pImageDescInfo, uint32_t uPrimaries )
{

}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_TFPower( xx_image_description_info_v3 *pImageDescInfo, uint32_t uExp)
{

}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_TFNamed( xx_image_description_info_v3 *pImageDescInfo, uint32_t uTF)
{
Expand All @@ -1329,7 +1329,7 @@ namespace gamescope
}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_Luminances( xx_image_description_info_v3 *pImageDescInfo, uint32_t uMinLum, uint32_t uMaxLum, uint32_t uRefLum )
{

}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_TargetPrimaries( xx_image_description_info_v3 *pImageDescInfo, int32_t nRedX, int32_t nRedY, int32_t nGreenX, int32_t nGreenY, int32_t nBlueX, int32_t nBlueY, int32_t nWhiteX, int32_t nWhiteY )
{
Expand All @@ -1341,7 +1341,7 @@ namespace gamescope
}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_TargetLuminance( xx_image_description_info_v3 *pImageDescInfo, uint32_t uMinLum, uint32_t uMaxLum )
{

}
void CWaylandPlane::Wayland_XXImageDescriptionInfo_Target_MaxCLL( xx_image_description_info_v3 *pImageDescInfo, uint32_t uMaxCLL )
{
Expand Down Expand Up @@ -1458,7 +1458,7 @@ namespace gamescope
return false;
if ( !Algorithm::Contains( m_XXColorManagerFeatures.eTransferFunctions, XX_COLOR_MANAGER_V3_TRANSFER_FUNCTION_ST2084_PQ ) )
return false;
// TODO: Need scRGB
// TODO: Need scRGB

// Primaries
if ( !Algorithm::Contains( m_XXColorManagerFeatures.ePrimaries, XX_COLOR_MANAGER_V3_PRIMARIES_SRGB ) )
Expand Down Expand Up @@ -1575,7 +1575,7 @@ namespace gamescope
if ( SupportsFormat( DRM_FORMAT_XRGB8888 ) )
u8BitFormat = DRM_FORMAT_XRGB8888;
else if ( SupportsFormat( DRM_FORMAT_XBGR8888 ) )
u8BitFormat = DRM_FORMAT_XBGR8888;
u8BitFormat = DRM_FORMAT_XBGR8888;
else if ( SupportsFormat( DRM_FORMAT_ARGB8888 ) )
u8BitFormat = DRM_FORMAT_ARGB8888;
else if ( SupportsFormat( DRM_FORMAT_ABGR8888 ) )
Expand Down

0 comments on commit ebe191d

Please sign in to comment.