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

Add option to disable shaders and overlay when taking GPU screenshots - Issue #10537 #17349

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

miguedevel
Copy link
Contributor

Guidelines

  1. Rebase before opening a pull request
  2. If you are sending several unrelated fixes or features, use a branch and a separate pull request for each
  3. If possible try squashing everything in a single commit. This is particularly beneficial in the case of feature merges since it allows easy bisecting when a problem arises

Description

This pull requests adds 2 additional options on the menu below GPU Screenshot named 'GPU Screenshot Shaders' with sublabel 'Include shaders when taking GPU Screenshot' and 'GPU Screenshot Overlay' with sublabel 'Include overlays when taking GPU Screenshot'. The default values for these options is ON which preserves the current behavior. They're also only visible if Advanced Options is set to ON.

Why? Some cores are hardware rendered only so the only screenshot taken is a GPU screenshot, so when using shaders and/or overlays these will be included as part of the screenshot which might not be desirable. When these new options are set to OFF, shaders and/or overlays will be disabled before the screenshot is taken and re-enabled after.

I'm making this a draft pull request as I want feedback/guidance on the nomenclature of the options on code and their naming and description as visible to the user. Should they instead be named 'Exclude Shaders from GPU Screenshot' and set the default value to OFF? Should the word 'include/exclude' be part of the option name itself?

This is the current presentation as seen with Ozone
image

Related Issues

#10537

Related Pull Requests

[Any other PRs from related repositories that might be needed for this pull request to work]

Reviewers

[If possible @mention all the people that should review your pull request]

@LibretroAdmin LibretroAdmin marked this pull request as ready for review January 5, 2025 02:49
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.

1 participant