mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 907254 - reftest.js doesnt need anymore to avoid using GfxInfo on B2G - r=jrmuizel
This commit is contained in:
parent
93c2d104ef
commit
1e9108582d
@ -538,14 +538,6 @@ function BuildConditionSandbox(aURL) {
|
||||
sandbox.smallScreen = true;
|
||||
}
|
||||
|
||||
#if REFTEST_B2G
|
||||
// XXX nsIGfxInfo isn't available in B2G
|
||||
sandbox.d2d = false;
|
||||
sandbox.azureQuartz = false;
|
||||
sandbox.azureSkia = false;
|
||||
sandbox.azureSkiaGL = false;
|
||||
sandbox.contentSameGfxBackendAsCanvas = false;
|
||||
#else
|
||||
var gfxInfo = (NS_GFXINFO_CONTRACTID in CC) && CC[NS_GFXINFO_CONTRACTID].getService(CI.nsIGfxInfo);
|
||||
try {
|
||||
sandbox.d2d = gfxInfo.D2DEnabled;
|
||||
@ -559,7 +551,6 @@ function BuildConditionSandbox(aURL) {
|
||||
// true if we are using the same Azure backend for rendering canvas and content
|
||||
sandbox.contentSameGfxBackendAsCanvas = info.AzureContentBackend == info.AzureCanvasBackend
|
||||
|| (info.AzureContentBackend == "none" && info.AzureCanvasBackend == "cairo");
|
||||
#endif
|
||||
|
||||
sandbox.layersGPUAccelerated =
|
||||
gWindowUtils.layerManagerType != "Basic";
|
||||
|
Loading…
Reference in New Issue
Block a user