gl-teximage-expected.txt 6.84 KB
Newer Older
1 2 3 4 5 6 7 8 9
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
10
PASS pixel 128, 15 should be 255, 0, 255, 255 was 255, 0, 255, 255
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
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

41 42 43 44 45 46 47 48
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.

49 50
check pixels are UN pre-multiplied
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
51 52 53 54 55 56 57
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.
58 59 60 61 62 63 64
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%

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

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

73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
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
88 89 90

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

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

99 100
check uploading of images with ICC profiles
PASS getError was expected value: NO_ERROR : Should be no errors from setup
101
PASS pixel 128, 8 should be within 10 units of 0, 0, 255, 255
102
PASS getError was expected value: NO_ERROR : Should be no errors from setup
103
PASS pixel 128, 8 should be within 10 units of 0, 0, 255, 255
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
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

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

124 125 126 127
PASS successfullyParsed is true

TEST COMPLETE