Skip to content

Conversation

@FrogTheFrog
Copy link
Contributor

Description

Added new API for display modes. Additionally, made some changes to the topology API to use a better recovery approach in case topology could not be set.

One test has been added to the skipped-list as we do not have enough displays with valid modes. The default CI display is bonkers and is not configurable (or at least I cannot guess valid display modes).

The "live" tests assume that the required display modes will be available as it's incredibly hard to enumerate them without involving another set of APIs, like DXGI...

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.

  • I want maintainers to keep my branch updated

@codecov
Copy link

codecov bot commented May 30, 2024

Codecov Report

Attention: Patch coverage is 99.13793% with 1 line in your changes missing coverage. Please review.

Project coverage is 90.46%. Comparing base (5ca273a) to head (9ab594e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   89.11%   90.46%   +1.34%     
==========================================
  Files          10       11       +1     
  Lines         689      797     +108     
  Branches      381      446      +65     
==========================================
+ Hits          614      721     +107     
  Misses         42       42              
- Partials       33       34       +1     
Flag Coverage Δ
Linux 92.59% <ø> (ø)
Windows 90.46% <99.13%> (+1.34%) ⬆️
macOS 54.54% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
.../displaydevice/windows/windisplaydeviceinterface.h 100.00% <ø> (ø)
src/windows/windisplaydevicetopology.cpp 98.88% <100.00%> (+0.01%) ⬆️
src/windows/windisplaydevicemodes.cpp 99.06% <99.06%> (ø)

@ReenigneArcher ReenigneArcher merged commit 8b1a33c into LizardByte:master Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants