| OLD | NEW |
| (Empty) |
| 1 Validate tex functions input parameters | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 PASS gl = create3DContext() is non-null. | |
| 6 PASS tex = gl.createTexture() is non-null. | |
| 7 PASS getError was expected value: NO_ERROR : | |
| 8 | |
| 9 Checking TexImage2D: a set of inputs that are valid in GL but invalid in GLES2 | |
| 10 PASS getError was expected value: INVALID_ENUM : internalFormat: RGBA target: 0
x8064 format: RGBA type: UNSIGNED_BYTE border: 0 | |
| 11 PASS getError was one of: INVALID_ENUM or INVALID_VALUE : internalFormat: 0x190
3 target: TEXTURE_2D format: 0x1903 type: UNSIGNED_BYTE border: 0 | |
| 12 PASS getError was expected value: INVALID_VALUE : internalFormat: RGBA target:
TEXTURE_2D format: RGBA type: UNSIGNED_BYTE border: 1 | |
| 13 PASS getError was expected value: INVALID_OPERATION : internalFormat: RGBA targ
et: TEXTURE_2D format: RGB type: UNSIGNED_BYTE border: 0 | |
| 14 PASS getError was expected value: INVALID_ENUM : internalFormat: RGBA target: T
EXTURE_2D format: RGBA type: BYTE border: 0 | |
| 15 PASS getError was expected value: NO_ERROR : internalFormat: RGBA target: TEXTU
RE_2D format: RGBA type: UNSIGNED_BYTE border: 0 | |
| 16 | |
| 17 Checking TexSubImage2D: a set of inputs that are valid in GL but invalid in GLES
2 | |
| 18 PASS getError was expected value: INVALID_ENUM : format: 0x1903 type: UNSIGNED_
BYTE | |
| 19 PASS getError was expected value: INVALID_ENUM : format: RGBA type: BYTE | |
| 20 PASS getError was expected value: NO_ERROR : format: RGBA type: UNSIGNED_BYTE | |
| 21 | |
| 22 Checking TexParameter: a set of inputs that are valid in GL but invalid in GLES2 | |
| 23 PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T | |
| 24 PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T | |
| 25 PASS getError was expected value: INVALID_ENUM : paramName: 0x813a | |
| 26 PASS getError was expected value: INVALID_ENUM : paramName: 0x813a | |
| 27 PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T | |
| 28 PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T | |
| 29 PASS getError was expected value: NO_ERROR : paramName: TEXTURE_WRAP_T | |
| 30 PASS getError was expected value: NO_ERROR : paramName: TEXTURE_WRAP_T | |
| 31 | |
| 32 Checking GetTexParameter: a set of inputs that are valid in GL but invalid in GL
ES2 | |
| 33 PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T | |
| 34 PASS getError was expected value: INVALID_ENUM : paramName: 0x813a | |
| 35 PASS getError was expected value: NO_ERROR : paramName: TEXTURE_WRAP_T | |
| 36 | |
| 37 Checking CopyTexImage2D: a set of inputs that are valid in GL but invalid in GLE
S2 | |
| 38 PASS fbo = gl.createFramebuffer() is non-null. | |
| 39 PASS colorBuffer = gl.createRenderbuffer() is non-null. | |
| 40 PASS getError was expected value: NO_ERROR : | |
| 41 PASS getError was expected value: NO_ERROR : | |
| 42 PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE | |
| 43 PASS getError was expected value: INVALID_ENUM : colorBufferFormat: RGB565 inte
rnalFormat: 0x8054 target: TEXTURE_2D border: 0 | |
| 44 PASS getError was expected value: NO_ERROR : | |
| 45 PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE | |
| 46 PASS getError was expected value: INVALID_VALUE : colorBufferFormat: RGB565 int
ernalFormat: RGBA target: TEXTURE_2D border: 1 | |
| 47 PASS getError was expected value: NO_ERROR : | |
| 48 PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE | |
| 49 PASS getError was expected value: INVALID_OPERATION : colorBufferFormat: RGB565
internalFormat: RGBA target: TEXTURE_2D border: 0 | |
| 50 PASS getError was expected value: NO_ERROR : | |
| 51 PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE | |
| 52 PASS getError was expected value: NO_ERROR : colorBufferFormat: RGB565 internal
Format: RGB target: TEXTURE_2D border: 0 | |
| 53 | |
| 54 Checking CopyTexSubImage2D: a set of inputs that are valid in GL but invalid in
GLES2 | |
| 55 PASS getError was expected value: NO_ERROR : | |
| 56 PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE | |
| 57 PASS getError was expected value: NO_ERROR : | |
| 58 PASS getError was expected value: NO_ERROR : colorBufferFormat: RGB5_A1 interna
lFormat: RGBA target: TEXTURE_2D | |
| 59 PASS getError was expected value: NO_ERROR : | |
| 60 PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE | |
| 61 PASS getError was expected value: NO_ERROR : | |
| 62 PASS getError was expected value: INVALID_OPERATION : colorBufferFormat: RGB565
internalFormat: RGBA target: TEXTURE_2D | |
| 63 | |
| 64 Checking CopyTex{Sub}Image2D: copy from WebGL internal framebuffer | |
| 65 PASS gl is non-null. | |
| 66 PASS tex = gl.createTexture() is non-null. | |
| 67 PASS getError was expected value: NO_ERROR : | |
| 68 PASS getError was expected value: NO_ERROR : colorBufferFormat: RGBA internalFo
rmat: RGBA | |
| 69 PASS gl is non-null. | |
| 70 PASS tex = gl.createTexture() is non-null. | |
| 71 PASS getError was expected value: NO_ERROR : | |
| 72 PASS getError was expected value: INVALID_OPERATION : colorBufferFormat: RGB in
ternalFormat: RGBA | |
| 73 PASS gl is non-null. | |
| 74 PASS tex = gl.createTexture() is non-null. | |
| 75 PASS getError was expected value: NO_ERROR : | |
| 76 PASS getError was expected value: NO_ERROR : colorBufferFormat: RGBA internalFo
rmat: RGBA | |
| 77 PASS gl is non-null. | |
| 78 PASS tex = gl.createTexture() is non-null. | |
| 79 PASS getError was expected value: NO_ERROR : | |
| 80 PASS getError was expected value: INVALID_OPERATION : colorBufferFormat: RGB in
ternalFormat: RGBA | |
| 81 PASS successfullyParsed is true | |
| 82 | |
| 83 TEST COMPLETE | |
| 84 | |
| OLD | NEW |