Add Support Files for WebGL Conformance Tests
https://bugs.webkit.org/show_bug.cgi?id=108731

Reviewed by Kenneth Russell.

These are the 'resource' files for the WebGL
Conformance Tests. Other CLs will add the
actual tests.

* webgl/resources/webgl_test_files/conformance/resources/3x3.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/blue-1x1.jpg: Added.
* webgl/resources/webgl_test_files/conformance/resources/boolUniformShader.vert: Added.
* webgl/resources/webgl_test_files/conformance/resources/bug-32888-texture.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/floatUniformShader.vert: Added.
* webgl/resources/webgl_test_files/conformance/resources/fragmentShader.frag: Added.
* webgl/resources/webgl_test_files/conformance/resources/glsl-conformance-test.js: Added.
(GLSLConformanceTester):
* webgl/resources/webgl_test_files/conformance/resources/glsl-feature-tests.css: Added.
(canvas):
(.shader-source):
(.shader-source li:nth-child(odd)):
(.shader-source li:nth-child(even)):
(.testimages):
(.testimages br):
(.testimages > div):
(IMG):
* webgl/resources/webgl_test_files/conformance/resources/glsl-generator.js: Added.
(GLSLGenerator.):
(GLSLGenerator):
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp-256-with-128-alpha.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp-256.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp-default-gamma.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp-gamma0.1.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp-gamma1.0.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp-gamma2.0.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp-gamma4.0.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp-gamma9.0.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/gray-ramp.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/green-2x2-16bit.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/intArrayUniformShader.vert: Added.
* webgl/resources/webgl_test_files/conformance/resources/intUniformShader.vert: Added.
* webgl/resources/webgl_test_files/conformance/resources/matUniformShader.vert: Added.
* webgl/resources/webgl_test_files/conformance/resources/noopUniformShader.frag: Added.
* webgl/resources/webgl_test_files/conformance/resources/noopUniformShader.vert: Added.
* webgl/resources/webgl_test_files/conformance/resources/npot-video.mp4: Added.
* webgl/resources/webgl_test_files/conformance/resources/npot-video.theora.ogv: Added.
* webgl/resources/webgl_test_files/conformance/resources/npot-video.webmvp8.webm: Added.
* webgl/resources/webgl_test_files/conformance/resources/ogles-tests.css: Added.
(canvas):
(.shader-source):
(.shader-source li:nth-child(odd)):
(.shader-source li:nth-child(even)):
(.testimages):
(.testimages br):
(.testimages > div):
(IMG):
* webgl/resources/webgl_test_files/conformance/resources/pnglib.js: Added.
(.):
* webgl/resources/webgl_test_files/conformance/resources/red-green.mp4: Added.
* webgl/resources/webgl_test_files/conformance/resources/red-green.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/red-green.theora.ogv: Added.
* webgl/resources/webgl_test_files/conformance/resources/red-green.webmvp8.webm: Added.
* webgl/resources/webgl_test_files/conformance/resources/red-indexed.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/samplerUniformShader.frag: Added.
* webgl/resources/webgl_test_files/conformance/resources/small-square-with-cie-rgb-profile.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/small-square-with-colormatch-profile.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/small-square-with-colorspin-profile.jpg: Added.
* webgl/resources/webgl_test_files/conformance/resources/small-square-with-colorspin-profile.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/small-square-with-e-srgb-profile.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/small-square-with-smpte-c-profile.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png: Added.
* webgl/resources/webgl_test_files/conformance/resources/structUniformShader.vert: Added.
* webgl/resources/webgl_test_files/conformance/resources/tex-image-and-sub-image-2d-with-canvas.js: Added.
(.init):
(.setCanvasToRedGreen):
(.drawTextInCanvas):
(.setCanvasTo257x257):
(.setCanvasTo1x2):
(.else):
(.runOneIteration):
(.runTest.runNextTest):
(.runTest):
(generateTest):
* webgl/resources/webgl_test_files/conformance/resources/tex-image-and-sub-image-2d-with-image-data.js: Added.
(.init):
(.runOneIteration):
(.runTest):
(generateTest):
* webgl/resources/webgl_test_files/conformance/resources/tex-image-and-sub-image-2d-with-image.js: Added.
(.init):
(.runOneIteration):
(.runTestOnImage):
(.runTest.newImage.onload):
(.runTest):
(.runTest2.newImage.onload):
(.runTest2):
(.runTest3):
(generateTest):
* webgl/resources/webgl_test_files/conformance/resources/tex-image-and-sub-image-2d-with-video.js: Added.
(debug):
(.init):
(.runOneIteration):
(.runTest):
* webgl/resources/webgl_test_files/conformance/resources/vertexShader.vert: Added.
* webgl/resources/webgl_test_files/conformance/resources/webgl-test-utils.js: Added.
(WebGLTestUtils):
(WebGLTestUtils.):
* webgl/resources/webgl_test_files/conformance/resources/webgl-test.js: Added.
(webglTestLog):
(getGLErrorAsString):
(shouldGenerateGLError):
(glErrorShouldBe):
* webgl/resources/webgl_test_files/conformance/resources/zero-alpha.png: Added.
* webgl/resources/webgl_test_files/resources/desktop-gl-constants.js: Added.
* webgl/resources/webgl_test_files/resources/js-test-post.js: Added.
* webgl/resources/webgl_test_files/resources/js-test-pre.js: Added.
(.):
(reportTestResultsToHarness):
(notifyFinishedToHarness):
(description):
(debug):
(escapeHTML):
(testPassed):
(testFailed):
(areArraysEqual):
(isMinusZero):
(isResultCorrect):
(stringify):
(evalAndLog):
(shouldBe):
(shouldNotBe):
(shouldBeTrue):
(shouldBeFalse):
(shouldBeNaN):
(shouldBeNull):
(shouldBeEqualToString):
(shouldEvaluateTo):
(shouldBeNonZero):
(shouldBeNonNull):
(shouldBeUndefined):
(shouldBeDefined):
(shouldBeGreaterThanOrEqual):
(expectTrue):
(shouldThrow):
(assertMsg):
(gc.gcRec):
(gc):
(finishTest.epilogue.onload):
(finishTest):
* webgl/resources/webgl_test_files/resources/js-test-style.css: Added.
(.pass):
(.fail):
(#console):
* webgl/resources/webgl_test_files/resources/test-eval.js: Added.
(TestEval):
* webgl/resources/webgl_test_files/resources/webgl-logo.png: Added.
* webgl/resources/webgl_test_files/resources/webgl-test-harness.js: Added.
(WebGLTestHarnessModule.log):
(WebGLTestHarnessModule.try.request.onreadystatechange):
(WebGLTestHarnessModule.loadTextFileAsynchronous):
(WebGLTestHarnessModule.greaterThanOrEqualToVersion):
(WebGLTestHarnessModule.copyObject):
(WebGLTestHarnessModule.toCamelCase):
(WebGLTestHarnessModule.):
(WebGLTestHarnessModule.getFileListImpl):
(WebGLTestHarnessModule.var):
(WebGLTestHarnessModule.getFileList):
(WebGLTestHarnessModule.FilterURL):
(WebGLTestHarnessModule.TestFile):
(WebGLTestHarnessModule.Test):
(WebGLTestHarnessModule.TestHarness):
(WebGLTestHarnessModule.TestHarness.prototype.addFiles_):
(WebGLTestHarnessModule.TestHarness.prototype.runTests):
(WebGLTestHarnessModule.TestHarness.prototype.setTimeout):
(WebGLTestHarnessModule.TestHarness.prototype.clearTimeout):
(WebGLTestHarnessModule.TestHarness.prototype.startNextTest):
(WebGLTestHarnessModule.TestHarness.prototype.startTest):
(WebGLTestHarnessModule.TestHarness.prototype.getTest):
(WebGLTestHarnessModule.TestHarness.prototype.reportResults):
(WebGLTestHarnessModule.TestHarness.prototype.dequeTest):
(WebGLTestHarnessModule.TestHarness.prototype.notifyFinished):
(WebGLTestHarnessModule.TestHarness.prototype.timeout):
(WebGLTestHarnessModule.TestHarness.prototype.setTimeoutDelay):
(WebGLTestHarnessModule):
* webgl/resources/webkit-webgl-test-harness.js: Added.
(.):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141855 268f45cc-cd09-0410-ab3c-d52691b4dbfc