mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
Issue #2101 - Part 7: Add color range support on GPUs
This commit is contained in:
parent
2b88f2c9ac
commit
687733f9d1
18 changed files with 106 additions and 74 deletions
|
|
@ -68,6 +68,15 @@ GPUVideoTextureHost::GetYUVColorSpace() const
|
|||
return YUVColorSpace::UNKNOWN;
|
||||
}
|
||||
|
||||
ColorRange
|
||||
GPUVideoTextureHost::GetColorRange() const
|
||||
{
|
||||
if (mWrappedTextureHost) {
|
||||
return mWrappedTextureHost->GetColorRange();
|
||||
}
|
||||
return ColorRange::UNKNOWN;
|
||||
}
|
||||
|
||||
gfx::IntSize
|
||||
GPUVideoTextureHost::GetSize() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue