Render as linear SRGB #260

Merged
jpark37 merged 1 commit from srgb-toggle into master 2021-01-22 18:06:13 -06:00
jpark37 commented 2021-01-20 10:28:26 -06:00 (Migrated from github.com)

Description

Render browser source in linear space.

TODO: Requires obsproject/obs-studio/pull/2067

Motivation and Context

Fixes alpha blending in particular.

How Has This Been Tested?

50% white text is now 188 instead of 127.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.
### Description Render browser source in linear space. TODO: Requires obsproject/obs-studio/pull/2067 ### Motivation and Context Fixes alpha blending in particular. ### How Has This Been Tested? 50% white text is now 188 instead of 127. ### Types of changes - Bug fix (non-breaking change which fixes an issue) ### Checklist: - [x] My code has been run through [clang-format](https://github.com/obsproject/obs-studio/blob/master/.clang-format). - [x] I have read the [**contributing** document](https://github.com/obsproject/obs-studio/blob/master/CONTRIBUTING.rst). - [x] My code is not on the master branch. - [x] The code has been tested. - [x] All commit messages are properly formatted and commits squashed where appropriate. - [x] I have included updates to all appropriate documentation.
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-obsproject/obs-browser!260
No description provided.