Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "nsIWidget.h"
|
||||
#include "gfxUtils.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "mozilla/layers/LayerManagerComposite.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
@@ -22,7 +23,7 @@ ContentClient::CreateContentClient(CompositableForwarder* aForwarder)
|
||||
if (aForwarder->GetCompositorBackendType() != LAYERS_OPENGL) {
|
||||
return nullptr;
|
||||
}
|
||||
if (ShadowLayerManager::SupportsDirectTexturing() ||
|
||||
if (LayerManagerComposite::SupportsDirectTexturing() ||
|
||||
PR_GetEnv("MOZ_FORCE_DOUBLE_BUFFERING")) {
|
||||
return new ContentClientDoubleBuffered(aForwarder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user