зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1323797 - Add compositor support for triangle layers (for BasicCompositor backend) - Part 1: Replace DrawQuad with DrawGeometry r=mattwoodrow
MozReview-Commit-ID: ysOOFWwG5F --HG-- extra : rebase_source : 45c978c805cc114c85e7112b2c2c2b2c591d1019
This commit is contained in:
Родитель
a87878e727
Коммит
9165ead692
|
@ -429,9 +429,9 @@ RenderLayers(ContainerT* aContainer, LayerManagerComposite* aManager,
|
|||
// should only occur transiently.
|
||||
EffectChain effectChain(layer);
|
||||
effectChain.mPrimaryEffect = new EffectSolidColor(color);
|
||||
aManager->GetCompositor()->DrawQuad(gfx::Rect(layer->GetLayerBounds()), clipRect,
|
||||
aManager->GetCompositor()->DrawGeometry(gfx::Rect(layer->GetLayerBounds()), clipRect,
|
||||
effectChain, layer->GetEffectiveOpacity(),
|
||||
layer->GetEffectiveTransform());
|
||||
layer->GetEffectiveTransform(), Nothing());
|
||||
}
|
||||
|
||||
if (layerToRender->HasLayerBeenComposited()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче