mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 7de1b4a42f1c (bug 982338) for OS X Crash Bustage on a CLOSED TREE
This commit is contained in:
parent
91ea7d35b7
commit
cd08246928
@ -163,7 +163,7 @@ ClientLayerManager::CreateThebesLayerWithHint(ThebesLayerCreationHint aHint)
|
||||
#ifdef MOZ_B2G
|
||||
aHint == SCROLLABLE &&
|
||||
#endif
|
||||
gfxPlatform::GetPlatform()->UseTiling() &&
|
||||
gfxPrefs::LayersTilesEnabled() &&
|
||||
(AsShadowForwarder()->GetCompositorBackendType() == LayersBackend::LAYERS_OPENGL ||
|
||||
AsShadowForwarder()->GetCompositorBackendType() == LayersBackend::LAYERS_D3D9 ||
|
||||
AsShadowForwarder()->GetCompositorBackendType() == LayersBackend::LAYERS_D3D11)) {
|
||||
|
@ -252,8 +252,6 @@ public:
|
||||
virtual bool UseAcceleratedSkiaCanvas();
|
||||
virtual void InitializeSkiaCacheLimits();
|
||||
|
||||
virtual bool UseTiling() { return gfxPrefs::LayersTilesEnabled(); }
|
||||
|
||||
void GetAzureBackendInfo(mozilla::widget::InfoObject &aObj) {
|
||||
aObj.DefineProperty("AzureCanvasBackend", GetBackendName(mPreferredCanvasBackend));
|
||||
aObj.DefineProperty("AzureSkiaAccelerated", UseAcceleratedSkiaCanvas());
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "qcms.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxPrefs.h"
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
||||
@ -387,16 +386,6 @@ gfxPlatformMac::UseAcceleratedCanvas()
|
||||
return nsCocoaFeatures::OnLionOrLater() && Preferences::GetBool("gfx.canvas.azure.accelerated", false);
|
||||
}
|
||||
|
||||
bool
|
||||
gfxPlatformMac::UseTiling()
|
||||
{
|
||||
if (gfxPrefs::LayersTilesForceEnabled()) {
|
||||
return true;
|
||||
}
|
||||
// Tiling seems to be slow on 10.6 so disable it until we figure it out
|
||||
return nsCocoaFeatures::OnLionOrLater() && gfxPlatform::UseTiling();
|
||||
}
|
||||
|
||||
void
|
||||
gfxPlatformMac::GetPlatformCMSOutputProfile(void* &mem, size_t &size)
|
||||
{
|
||||
|
@ -61,8 +61,6 @@ public:
|
||||
|
||||
bool UseAcceleratedCanvas();
|
||||
|
||||
virtual bool UseTiling() MOZ_OVERRIDE;
|
||||
|
||||
// lower threshold on font anti-aliasing
|
||||
uint32_t GetAntiAliasingThreshold() { return mFontAntiAliasingThreshold; }
|
||||
|
||||
|
@ -237,7 +237,6 @@ private:
|
||||
DECL_GFX_PREF(Live, "layers.effect.invert", LayersEffectInvert, bool, false);
|
||||
|
||||
DECL_GFX_PREF(Once, "layers.enable-tiles", LayersTilesEnabled, bool, false);
|
||||
DECL_GFX_PREF(Once, "layers.force-enable-tiles", LayersTilesForceEnabled, bool, false);
|
||||
DECL_GFX_PREF(Once, "layers.simple-tiles", LayersUseSimpleTiles, bool, false);
|
||||
DECL_GFX_PREF(Once, "layers.force-per-tile-drawing", PerTileDrawing, bool, false);
|
||||
DECL_GFX_PREF(Once, "layers.tiled-drawtarget.enabled", TiledDrawTargetEnabled, bool, false);
|
||||
|
@ -3829,8 +3829,6 @@ pref("layers.offmainthreadcomposition.enabled", true);
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
pref("layers.offmainthreadcomposition.enabled", true);
|
||||
pref("layers.enable-tiles", true);
|
||||
pref("layers.tiled-drawtarget.enabled", true);
|
||||
#endif
|
||||
|
||||
// ANDROID covers android and b2g
|
||||
|
Loading…
Reference in New Issue
Block a user