Bug 964517 - Do not pretend a layer is opaque if it really is transparent. r=roc

This commit is contained in:
Botond Ballo 2014-02-09 00:28:04 -05:00
Родитель a0cf20ef88
Коммит b4d0de9126
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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);