gl-teximage-expected.txt 6.98 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
Test texImage2D conversions.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

PASS getError was expected value: NO_ERROR : Should be no errors from setup.

check pixels are NOT pre-multiplied
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS pixel 0, 15 should be 0, 0, 0, 255 was 0, 0, 0, 255
PASS pixel 128, 15 should be 255, 0, 255, 255 was 255, 0, 255, 255
PASS pixel 255, 15 should be 0, 0, 255, 255 was 0, 0, 255, 255
PASS pixel 0, 8 should be 128, 128, 128, 255 was 128, 128, 128, 255
PASS pixel 128, 8 should be 255, 255, 255, 255 was 255, 255, 255, 255
PASS pixel 255, 8 should be 0, 255, 255, 255 was 0, 255, 255, 255
PASS pixel 0, 0 should be 255, 0, 0, 255 was 255, 0, 0, 255
PASS pixel 128, 0 should be 255, 255, 0, 255 was 255, 255, 0, 255
PASS pixel 255, 0 should be 0, 255, 0, 255 was 0, 255, 0, 255

check quantization
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS There should be 256 unique values in channel 0. Found 256
PASS There should be 256 unique values in channel 1. Found 256
PASS There should be 256 unique values in channel 2. Found 256
PASS There should be 256 unique values in channel 3. Found 256
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS There should be 16 unique values in channel 0. Found 16
PASS There should be 16 unique values in channel 1. Found 16
PASS There should be 16 unique values in channel 2. Found 16
PASS There should be 16 unique values in channel 3. Found 16
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS There should be 32 unique values in channel 0. Found 32
PASS There should be 64 unique values in channel 1. Found 64
PASS There should be 32 unique values in channel 2. Found 32
PASS There should be 1 unique values in channel 3. Found 1
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS There should be 32 unique values in channel 0. Found 32
PASS There should be 32 unique values in channel 1. Found 32
PASS There should be 32 unique values in channel 2. Found 32
PASS There should be 2 unique values in channel 3. Found 2

Check that gamma settings don't effect 8bit pngs
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS pixels should be same regardless of gamma settings.
PASS pixels should be same regardless of gamma settings.
PASS pixels should be same regardless of gamma settings.
PASS pixels should be same regardless of gamma settings.
PASS pixels should be same regardless of gamma settings.

check pixels are UN pre-multiplied
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS Half the pixels in channel 0 should be >= 128,128,128. found 49%
PASS Half the pixels in channel 0 should be < 128,128,128. found 51%
PASS Half the pixels in channel 1 should be >= 128,128,128. found 49%
PASS Half the pixels in channel 1 should be < 128,128,128. found 51%
PASS Half the pixels in channel 2 should be >= 128,128,128. found 49%
PASS Half the pixels in channel 2 should be < 128,128,128. found 51%
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS Half the pixels in channel 0 should be >= 128,128,128. found 50%
PASS Half the pixels in channel 0 should be < 128,128,128. found 50%
PASS Half the pixels in channel 1 should be >= 128,128,128. found 50%
PASS Half the pixels in channel 1 should be < 128,128,128. found 50%
PASS Half the pixels in channel 2 should be >= 128,128,128. found 50%
PASS Half the pixels in channel 2 should be < 128,128,128. found 50%

check canvas pixels are UN pre-multiplied
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS pixel 0, 0 should be within 4 units of 255, 255, 255, 127 was 254, 254, 254, 127

check canvas pixels are pre-multiplied
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS pixel 0, 0 should be within 4 units of 127, 127, 127, 127 was 127, 127, 127, 127

check pixels are pre-multiplied
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS pixels should all be 0.

check pixels are flipped
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS pixel 0, 15 should be 255, 0, 0, 255 was 255, 0, 0, 255
PASS pixel 128, 15 should be 255, 255, 0, 255 was 255, 255, 0, 255
PASS pixel 255, 15 should be 255, 0, 0, 255 was 255, 0, 0, 255
PASS pixel 0, 8 should be 255, 0, 255, 255 was 255, 0, 255, 255
PASS pixel 128, 8 should be 255, 0, 0, 255 was 255, 0, 0, 255
PASS pixel 255, 8 should be 0, 255, 0, 255 was 0, 255, 0, 255
PASS pixel 0, 0 should be 0, 0, 0, 255 was 0, 0, 0, 255
PASS pixel 128, 0 should be 0, 0, 255, 255 was 0, 0, 255, 255
PASS pixel 255, 0 should be 255, 0, 0, 255 was 255, 0, 0, 255

check uploading of images with no alpha channel works
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS pixel 128, 8 should be within 10 units of 0, 0, 255, 255 was 0, 0, 254, 255
PASS getError was expected value: NO_ERROR : Should be no errors

check uploading of 16-bit images
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS pixel 128, 8 should be within 10 units of 15, 121, 0, 255 was 15, 121, 0, 255
PASS getError was expected value: NO_ERROR : Should be no errors

check uploading of images with ICC profiles
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS pixel 128, 8 should be within 10 units of 0, 0, 255, 255 was 0, 0, 254, 255
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS pixel 128, 8 should be within 10 units of 0, 0, 255, 255 was 0, 0, 254, 255
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS getError was expected value: NO_ERROR : Should be no errors
PASS uploading PNGs with same data but various ICC profiles should generate the same results
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS getError was expected value: NO_ERROR : Should be no errors
PASS uploading PNGs with same data but various ICC profiles should generate the same results
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS getError was expected value: NO_ERROR : Should be no errors
PASS uploading PNGs with same data but various ICC profiles should generate the same results
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS getError was expected value: NO_ERROR : Should be no errors
PASS uploading PNGs with same data but various ICC profiles should generate the same results
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS getError was expected value: NO_ERROR : Should be no errors
PASS uploading PNGs with same data but various ICC profiles should generate the same results

check uploading of indexed PNG images
PASS getError was expected value: NO_ERROR : Should be no errors from setup
PASS pixel 128, 8 should be within 10 units of 255, 0, 0, 255 was 255, 0, 0, 255

PASS successfullyParsed is true

TEST COMPLETE