1 Test texImage2D conversions.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
6 PASS successfullyParsed is true
10 check pixels are NOT pre-multiplied
11 PASS getError was expected value: NO_ERROR : Should be no errors from setup
12 PASS pixel 0, 15 should be 0, 0, 0, 255 was 0, 0, 0, 255
13 PASS pixel 128, 15 should be 255, 0, 255, 255 was 255, 0, 255, 255
14 PASS pixel 255, 15 should be 0, 0, 255, 255 was 0, 0, 255, 255
15 PASS pixel 0, 8 should be 128, 128, 128, 255 was 128, 128, 128, 255
16 PASS pixel 128, 8 should be 255, 255, 255, 255 was 255, 255, 255, 255
17 PASS pixel 255, 8 should be 0, 255, 255, 255 was 0, 255, 255, 255
18 PASS pixel 0, 0 should be 255, 0, 0, 255 was 255, 0, 0, 255
19 PASS pixel 128, 0 should be 255, 255, 0, 255 was 255, 255, 0, 255
20 PASS pixel 255, 0 should be 0, 255, 0, 255 was 0, 255, 0, 255
23 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
24 PASS There should be 256 unique values in channel 0. Found 256
25 PASS There should be 256 unique values in channel 1. Found 256
26 PASS There should be 256 unique values in channel 2. Found 256
27 PASS There should be 256 unique values in channel 3. Found 256
28 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
29 PASS There should be 16 unique values in channel 0. Found 16
30 PASS There should be 16 unique values in channel 1. Found 16
31 PASS There should be 16 unique values in channel 2. Found 16
32 PASS There should be 16 unique values in channel 3. Found 16
33 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
34 PASS There should be 32 unique values in channel 0. Found 32
35 PASS There should be 64 unique values in channel 1. Found 64
36 PASS There should be 32 unique values in channel 2. Found 32
37 PASS There should be 1 unique values in channel 3. Found 1
38 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
39 PASS There should be 32 unique values in channel 0. Found 32
40 PASS There should be 32 unique values in channel 1. Found 32
41 PASS There should be 32 unique values in channel 2. Found 32
42 PASS There should be 2 unique values in channel 3. Found 2
44 Check that gamma settings don't effect 8bit pngs
45 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
46 PASS pixels should be same regardless of gamma settings.
47 PASS pixels should be same regardless of gamma settings.
48 PASS pixels should be same regardless of gamma settings.
49 PASS pixels should be same regardless of gamma settings.
50 PASS pixels should be same regardless of gamma settings.
52 check pixels are UN pre-multiplied
53 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
54 PASS Half the pixels in channel 0 should be >= 128,128,128.
55 PASS Half the pixels in channel 0 should be < 128,128,128.
56 PASS Half the pixels in channel 1 should be >= 128,128,128.
57 PASS Half the pixels in channel 1 should be < 128,128,128.
58 PASS Half the pixels in channel 2 should be >= 128,128,128.
59 PASS Half the pixels in channel 2 should be < 128,128,128.
60 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
61 PASS Half the pixels in channel 0 should be >= 128,128,128.
62 PASS Half the pixels in channel 0 should be < 128,128,128.
63 PASS Half the pixels in channel 1 should be >= 128,128,128.
64 PASS Half the pixels in channel 1 should be < 128,128,128.
65 PASS Half the pixels in channel 2 should be >= 128,128,128.
66 PASS Half the pixels in channel 2 should be < 128,128,128.
68 check canvas pixels are UN pre-multiplied
69 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
70 PASS pixel 0, 0 should be within 4 units of 255, 255, 255, 127
72 check canvas pixels are pre-multiplied
73 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
74 PASS pixel 0, 0 should be within 4 units of 127, 127, 127, 127
76 check pixels are pre-multiplied
77 PASS getError was expected value: NO_ERROR : Should be no errors from setup
78 PASS pixels should all be 0.
80 check pixels are flipped
81 PASS getError was expected value: NO_ERROR : Should be no errors from setup
82 PASS pixel 0, 15 should be 255, 0, 0, 255 was 255, 0, 0, 255
83 PASS pixel 128, 15 should be 255, 255, 0, 255 was 255, 255, 0, 255
84 PASS pixel 255, 15 should be 255, 0, 0, 255 was 255, 0, 0, 255
85 PASS pixel 0, 8 should be 255, 0, 255, 255 was 255, 0, 255, 255
86 PASS pixel 128, 8 should be 255, 0, 0, 255 was 255, 0, 0, 255
87 PASS pixel 255, 8 should be 0, 255, 0, 255 was 0, 255, 0, 255
88 PASS pixel 0, 0 should be 0, 0, 0, 255 was 0, 0, 0, 255
89 PASS pixel 128, 0 should be 0, 0, 255, 255 was 0, 0, 255, 255
90 PASS pixel 255, 0 should be 255, 0, 0, 255 was 255, 0, 0, 255
92 check uploading of images with no alpha channel works
93 PASS getError was expected value: NO_ERROR : Should be no errors from setup
94 PASS pixel 128, 8 should be within 10 units of 0, 0, 255, 255
95 PASS getError was expected value: NO_ERROR : Should be no errors
97 check uploading of 16-bit images
98 PASS getError was expected value: NO_ERROR : Should be no errors from setup
99 PASS pixel 128, 8 should be within 10 units of 15, 121, 0, 255
100 PASS getError was expected value: NO_ERROR : Should be no errors
102 check uploading of images with ICC profiles
103 PASS getError was expected value: NO_ERROR : Should be no errors from setup
104 PASS pixel 128, 8 should be within 10 units of 0, 0, 255, 255
105 PASS getError was expected value: NO_ERROR : Should be no errors from setup
106 PASS pixel 128, 8 should be within 10 units of 0, 0, 255, 255
107 PASS getError was expected value: NO_ERROR : Should be no errors from setup
108 PASS getError was expected value: NO_ERROR : Should be no errors
109 PASS uploading PNGs with same data but various ICC profiles should generate the same results
110 PASS getError was expected value: NO_ERROR : Should be no errors from setup
111 PASS getError was expected value: NO_ERROR : Should be no errors
112 PASS uploading PNGs with same data but various ICC profiles should generate the same results
113 PASS getError was expected value: NO_ERROR : Should be no errors from setup
114 PASS getError was expected value: NO_ERROR : Should be no errors
115 PASS uploading PNGs with same data but various ICC profiles should generate the same results
116 PASS getError was expected value: NO_ERROR : Should be no errors from setup
117 PASS getError was expected value: NO_ERROR : Should be no errors
118 PASS uploading PNGs with same data but various ICC profiles should generate the same results
119 PASS getError was expected value: NO_ERROR : Should be no errors from setup
120 PASS getError was expected value: NO_ERROR : Should be no errors
121 PASS uploading PNGs with same data but various ICC profiles should generate the same results
123 check uploading of indexed PNG images
124 PASS getError was expected value: NO_ERROR : Should be no errors from setup
125 PASS pixel 128, 8 should be within 10 units of 255, 0, 0, 255
127 PASS successfullyParsed is true