Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten
This commit is contained in:
@@ -351,7 +351,7 @@ ImageHost::Composite(LayerComposite* aLayer,
|
||||
bool isAlphaPremultiplied =
|
||||
!(mCurrentTextureHost->GetFlags() & TextureFlags::NON_PREMULTIPLIED);
|
||||
RefPtr<TexturedEffect> effect =
|
||||
CreateTexturedEffect(mCurrentTextureHost->GetReadFormat(),
|
||||
CreateTexturedEffect(mCurrentTextureHost,
|
||||
mCurrentTextureSource.get(), aSamplingFilter, isAlphaPremultiplied,
|
||||
GetRenderState());
|
||||
if (!effect) {
|
||||
@@ -611,7 +611,7 @@ ImageHost::GenEffect(const gfx::SamplingFilter aSamplingFilter)
|
||||
isAlphaPremultiplied = false;
|
||||
}
|
||||
|
||||
return CreateTexturedEffect(mCurrentTextureHost->GetReadFormat(),
|
||||
return CreateTexturedEffect(mCurrentTextureHost,
|
||||
mCurrentTextureSource,
|
||||
aSamplingFilter,
|
||||
isAlphaPremultiplied,
|
||||
|
||||
Reference in New Issue
Block a user