Backed out changeset 68e326b1f0de (bug 1746662) for causing reftest failures

This commit is contained in:
Norisz Fay 2021-12-22 09:17:42 +02:00
parent 138b5806f7
commit ddcb9ea385
2 changed files with 2 additions and 6 deletions

View File

@ -290,10 +290,7 @@ static already_AddRefed<gfxDrawable> CreateSamplingRestrictedDrawable(
AUTO_PROFILER_LABEL("CreateSamplingRestrictedDrawable", GRAPHICS);
DrawTarget* destDrawTarget = aContext->GetDrawTarget();
// We've been not using CreateSamplingRestrictedDrawable in a bunch of places
// for a while. Let's disable it everywhere and confirm that it's ok to get rid
// of.
if (destDrawTarget->GetBackendType() == BackendType::DIRECT2D1_1 || true) {
if (destDrawTarget->GetBackendType() == BackendType::DIRECT2D1_1) {
return nullptr;
}

View File

@ -23,8 +23,7 @@ fuzzy-if(d2d,0-255,0-24) fuzzy-if(!useDrawSnapshot,255-255,56-72) == element-pai
# For the rest: -ref the scrollframe is active and layerized differently with APZ.
fuzzy(0-24,0-106) fuzzy-if(winWidget&&!layersGPUAccelerated,149-149,1203-1203) fuzzy-if(!useDrawSnapshot&&!nativeThemePref,1-48,5-68) fuzzy-if(/^Windows\x20NT\x206\.1/.test(http.oscpu),0-53,0-1204) fuzzy-if(winWidget,47-222,1197-1588) fuzzy-if(Android,0-40,0-81) == element-paint-native-widget.html element-paint-native-widget-ref.html
# This fails with CreateSamplingRestrictedDrawable removed
fails-if(!Android) == element-paint-subimage-sampling-restriction.html about:blank
fails-if(usesRepeatResampling&&!winWidget) == element-paint-subimage-sampling-restriction.html about:blank
== element-paint-clippath.html element-paint-clippath-ref.html
fuzzy-if(!useDrawSnapshot,1-1,128-128) fuzzy-if(d2d,47-47,650-652) fuzzy-if(!useDrawSnapshot,36-39,704-738) == element-paint-sharpness-01a.html element-paint-sharpness-01b.html
fuzzy(0-1,0-326) fails-if(useDrawSnapshot) == element-paint-sharpness-01b.html element-paint-sharpness-01c.html