зеркало из https://github.com/mozilla/gecko-dev.git
Bug 964517 - Do not pretend a layer is opaque if it really is transparent. r=roc
This commit is contained in:
Родитель
a0cf20ef88
Коммит
b4d0de9126
|
@ -1217,8 +1217,7 @@ void nsDisplayList::PaintForFrame(nsDisplayListBuilder* aBuilder,
|
|||
if (usingDisplayport &&
|
||||
!(root->GetContentFlags() & Layer::CONTENT_OPAQUE)) {
|
||||
// See bug 693938, attachment 567017
|
||||
NS_WARNING("We don't support transparent content with displayports, force it to be opqaue");
|
||||
root->SetContentFlags(Layer::CONTENT_OPAQUE);
|
||||
NS_WARNING("Transparent content with displayports can be expensive.");
|
||||
}
|
||||
|
||||
layerManager->SetRoot(root);
|
||||
|
|
Загрузка…
Ссылка в новой задаче