зеркало из https://github.com/mozilla/gecko-dev.git
backout logging for bug 634532 a=cleanup-test, DONTBUILD
This commit is contained in:
Родитель
db006f0fb1
Коммит
c4477ac770
|
@ -22,8 +22,7 @@ function init()
|
||||||
}
|
}
|
||||||
|
|
||||||
description('Verify texImage2D and texSubImage2D code paths taking Video Elements');
|
description('Verify texImage2D and texSubImage2D code paths taking Video Elements');
|
||||||
dump('Verify texImage2D and texSubImage2D code paths taking Video Elements\n');
|
|
||||||
|
|
||||||
var canvas = document.getElementById("example");
|
var canvas = document.getElementById("example");
|
||||||
gl = wtu.create3DContext(canvas);
|
gl = wtu.create3DContext(canvas);
|
||||||
var program = wtu.setupTexturedQuad(gl);
|
var program = wtu.setupTexturedQuad(gl);
|
||||||
|
@ -49,8 +48,6 @@ function runOneIteration(videoElement, useTexSubImage2D, flipY, topColor, bottom
|
||||||
{
|
{
|
||||||
debug('Testing ' + (useTexSubImage2D ? 'texSubImage2D' : 'texImage2D') +
|
debug('Testing ' + (useTexSubImage2D ? 'texSubImage2D' : 'texImage2D') +
|
||||||
' with flipY=' + flipY);
|
' with flipY=' + flipY);
|
||||||
dump('Testing ' + (useTexSubImage2D ? 'texSubImage2D' : 'texImage2D') +
|
|
||||||
' with flipY=' + flipY + '\n');
|
|
||||||
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
|
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
|
||||||
// Disable any writes to the alpha channel
|
// Disable any writes to the alpha channel
|
||||||
gl.colorMask(1, 1, 1, 0);
|
gl.colorMask(1, 1, 1, 0);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче