Bug 1004483 - Adjust WebGL reftest.list for the fact that Skia blending doesn't handle superluminant pixels - r=jrmuizel

This commit is contained in:
Benoit Jacob 2014-05-15 11:50:16 -04:00
Родитель cd9a0ea557
Коммит 458b23dd1c
2 изменённых файлов: 6 добавлений и 1 удалений

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

@ -156,7 +156,11 @@ fuzzy(1,65536) random-if(B2G) fuzzy-if(Android,9,65536)
# Test over-bright premult:
# random-if(B2G) from bug 983650
fuzzy(1,65536) random-if(B2G) fuzzy-if(Android,9,65536) random-if(Android&&AndroidVersion<15) == webgl-color-alpha-test.html?colorVal=1.0&alphaVal=0.5&alpha&premult wrapper.html?colors-half-alpha.png
# This test assumes that the compositor is able to correctly handle superluminant
# pixels in a WebGL canvas with premultiplied alpha. This is not handled by
# Skia's software blending code. Consequently, this test is random on
# basic-layers when using skia. See bug 1004483.
fuzzy(1,65536) random-if(B2G) fuzzy-if(Android,9,65536) random-if(Android&&AndroidVersion<15) random-if(skiaContent&&!layersGPUAccelerated) == webgl-color-alpha-test.html?colorVal=1.0&alphaVal=0.5&alpha&premult wrapper.html?colors-half-alpha.png
# Check for hanging framebuffer bindings:

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

@ -625,6 +625,7 @@ function BuildConditionSandbox(aURL) {
var info = gfxInfo.getInfo();
sandbox.azureQuartz = info.AzureCanvasBackend == "quartz";
sandbox.azureSkia = info.AzureCanvasBackend == "skia";
sandbox.skiaContent = info.AzureContentBackend == "skia";
sandbox.azureSkiaGL = info.AzureSkiaAccelerated; // FIXME: assumes GL right now
// true if we are using the same Azure backend for rendering canvas and content
sandbox.contentSameGfxBackendAsCanvas = info.AzureContentBackend == info.AzureCanvasBackend