Bug 1412850: Release capture drawtargets on the paint thread. r=rhunt

MozReview-Commit-ID: AD3F5DfGAkp
This commit is contained in:
Bas Schouten 2017-10-30 15:50:25 +01:00
Родитель 32261e72c6
Коммит cbbc50786e
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -617,7 +617,7 @@ private:
DECL_GFX_PREF(Once, "layers.offmainthreadcomposition.force-disabled", LayersOffMainThreadCompositionForceDisabled, bool, false);
DECL_GFX_PREF(Live, "layers.offmainthreadcomposition.frame-rate", LayersCompositionFrameRate, int32_t,-1);
DECL_GFX_PREF(Live, "layers.omtp.force-sync", LayersOMTPForceSync, bool, false);
DECL_GFX_PREF(Live, "layers.omtp.release-capture-on-main-thread", LayersOMTPReleaseCaptureOnMainThread, bool, true);
DECL_GFX_PREF(Live, "layers.omtp.release-capture-on-main-thread", LayersOMTPReleaseCaptureOnMainThread, bool, false);
DECL_GFX_PREF(Live, "layers.orientation.sync.timeout", OrientationSyncMillis, uint32_t, (uint32_t)0);
DECL_GFX_PREF(Once, "layers.prefer-opengl", LayersPreferOpenGL, bool, false);
DECL_GFX_PREF(Live, "layers.progressive-paint", ProgressivePaint, bool, false);

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

@ -5939,5 +5939,5 @@ pref("layers.omtp.enabled", true);
#else
pref("layers.omtp.enabled", false);
#endif
pref("layers.omtp.release-capture-on-main-thread", true);
pref("layers.omtp.release-capture-on-main-thread", false);
pref("layers.omtp.force-sync", false);