Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Abstraction layer for IWoWScreen #544

Merged
merged 5 commits into from
Oct 19, 2023
Merged

Refactor: Abstraction layer for IWoWScreen #544

merged 5 commits into from
Oct 19, 2023

Conversation

Xian55
Copy link
Owner

@Xian55 Xian55 commented Oct 19, 2023

Changes:

  • Updated 3rd party libraries on every projects, to prepare for net8
  • Game: Added WoWScreenDXGI. Should reduce the bitmap capture time depending on the hardware. On my machine from managed to get ~10ms from ~26ms.

However, in order to fully utilize WoWScreenDXGI have to make more architectural changes, currently conflicts with AddonDataProviderDXGI. A single process can have only one IDXGIOutputDuplication. Have to rethink the thread handling in BotController

…WoWScreen

Game: WoWScreenGDI: as the default implementation. WowScreenDXGI: uses DirectX to capture the screen
@Xian55 Xian55 added refactor This ticket concerns the possible simplification of code/data. enhancement This pull request implements a new feature. labels Oct 19, 2023
@Xian55 Xian55 merged commit ba069d5 into dev Oct 19, 2023
1 check passed
@Xian55 Xian55 deleted the refactor/iwowscreen branch October 19, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This pull request implements a new feature. refactor This ticket concerns the possible simplification of code/data.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant