blob: c462fc18e93405cd7945db4738eac3d3a6a54b71 [file] [log] [blame]
commit-queue@webkit.orgc5178be2013-08-02 18:42:51 +00001Series of tests to ensure correct results on applying different blend modes when drawing a rectangle on top of an pattern.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
commit-queue@webkit.org144b3222013-08-09 17:35:12 +00006Running test in non accelerated mode
7
8Testing blend mode source-over
9PASS actualColor(0, 0)[0] is within 5 of 255
10PASS actualColor(0, 0)[1] is within 5 of 129
11PASS actualColor(0, 0)[2] is within 5 of 129
12PASS actualColor(0, 0)[3] is within 5 of 255
13
14Testing blend mode multiply
15PASS actualColor(0, 0)[0] is within 5 of 129
16PASS actualColor(0, 0)[1] is within 5 of 129
17PASS actualColor(0, 0)[2] is within 5 of 65.25882352941176
18PASS actualColor(0, 0)[3] is within 5 of 255
19
20Testing blend mode screen
21PASS actualColor(0, 0)[0] is within 5 of 255
22PASS actualColor(0, 0)[1] is within 5 of 255
23PASS actualColor(0, 0)[2] is within 5 of 192.74117647058821
24PASS actualColor(0, 0)[3] is within 5 of 255
25
26Testing blend mode overlay
27PASS actualColor(0, 0)[0] is within 5 of 255
28PASS actualColor(0, 0)[1] is within 5 of 255
29PASS actualColor(0, 0)[2] is within 5 of 130.48235294117646
30PASS actualColor(0, 0)[3] is within 5 of 255
31
32Testing blend mode darken
33PASS actualColor(0, 0)[0] is within 5 of 129
34PASS actualColor(0, 0)[1] is within 5 of 129
35PASS actualColor(0, 0)[2] is within 5 of 129
36PASS actualColor(0, 0)[3] is within 5 of 255
37
38Testing blend mode lighten
39PASS actualColor(0, 0)[0] is within 5 of 255
40PASS actualColor(0, 0)[1] is within 5 of 255
41PASS actualColor(0, 0)[2] is within 5 of 129
42PASS actualColor(0, 0)[3] is within 5 of 255
43
44Testing blend mode color-dodge
45PASS actualColor(0, 0)[0] is within 5 of 255
46PASS actualColor(0, 0)[1] is within 5 of 255
47PASS actualColor(0, 0)[2] is within 5 of 255
48PASS actualColor(0, 0)[3] is within 5 of 255
49
50Testing blend mode color-burn
51PASS actualColor(0, 0)[0] is within 5 of 129
52PASS actualColor(0, 0)[1] is within 5 of 255
53PASS actualColor(0, 0)[2] is within 5 of 5.930232558139517
54PASS actualColor(0, 0)[3] is within 5 of 255
55
56Testing blend mode hard-light
57PASS actualColor(0, 0)[0] is within 5 of 255
58PASS actualColor(0, 0)[1] is within 5 of 255
59PASS actualColor(0, 0)[2] is within 5 of 130.48235294117646
60PASS actualColor(0, 0)[3] is within 5 of 255
61
62Testing blend mode difference
63PASS actualColor(0, 0)[0] is within 5 of 126
64PASS actualColor(0, 0)[1] is within 5 of 126
65PASS actualColor(0, 0)[2] is within 5 of 0
66PASS actualColor(0, 0)[3] is within 5 of 255
67
68Testing blend mode exclusion
69PASS actualColor(0, 0)[0] is within 5 of 126
70PASS actualColor(0, 0)[1] is within 5 of 126
71PASS actualColor(0, 0)[2] is within 5 of 127.48235294117649
72PASS actualColor(0, 0)[3] is within 5 of 255
73
74Running test in hardware accelerated mode
75
commit-queue@webkit.orgc5178be2013-08-02 18:42:51 +000076Testing blend mode source-over
commit-queue@webkit.org7887c4d2013-08-05 14:23:05 +000077PASS actualColor(0, 0)[0] is within 5 of 255
78PASS actualColor(0, 0)[1] is within 5 of 129
79PASS actualColor(0, 0)[2] is within 5 of 129
80PASS actualColor(0, 0)[3] is within 5 of 255
81
82Testing blend mode multiply
83PASS actualColor(0, 0)[0] is within 5 of 129
84PASS actualColor(0, 0)[1] is within 5 of 129
85PASS actualColor(0, 0)[2] is within 5 of 65.25882352941176
86PASS actualColor(0, 0)[3] is within 5 of 255
87
88Testing blend mode screen
89PASS actualColor(0, 0)[0] is within 5 of 255
90PASS actualColor(0, 0)[1] is within 5 of 255
91PASS actualColor(0, 0)[2] is within 5 of 192.74117647058821
92PASS actualColor(0, 0)[3] is within 5 of 255
93
94Testing blend mode overlay
95PASS actualColor(0, 0)[0] is within 5 of 255
96PASS actualColor(0, 0)[1] is within 5 of 255
97PASS actualColor(0, 0)[2] is within 5 of 130.48235294117646
98PASS actualColor(0, 0)[3] is within 5 of 255
99
100Testing blend mode darken
101PASS actualColor(0, 0)[0] is within 5 of 129
102PASS actualColor(0, 0)[1] is within 5 of 129
103PASS actualColor(0, 0)[2] is within 5 of 129
104PASS actualColor(0, 0)[3] is within 5 of 255
105
106Testing blend mode lighten
107PASS actualColor(0, 0)[0] is within 5 of 255
108PASS actualColor(0, 0)[1] is within 5 of 255
109PASS actualColor(0, 0)[2] is within 5 of 129
110PASS actualColor(0, 0)[3] is within 5 of 255
111
112Testing blend mode color-dodge
113PASS actualColor(0, 0)[0] is within 5 of 255
114PASS actualColor(0, 0)[1] is within 5 of 255
115PASS actualColor(0, 0)[2] is within 5 of 255
116PASS actualColor(0, 0)[3] is within 5 of 255
117
118Testing blend mode color-burn
119PASS actualColor(0, 0)[0] is within 5 of 129
120PASS actualColor(0, 0)[1] is within 5 of 255
121PASS actualColor(0, 0)[2] is within 5 of 5.930232558139517
122PASS actualColor(0, 0)[3] is within 5 of 255
123
124Testing blend mode hard-light
125PASS actualColor(0, 0)[0] is within 5 of 255
126PASS actualColor(0, 0)[1] is within 5 of 255
127PASS actualColor(0, 0)[2] is within 5 of 130.48235294117646
128PASS actualColor(0, 0)[3] is within 5 of 255
129
130Testing blend mode difference
131PASS actualColor(0, 0)[0] is within 5 of 126
132PASS actualColor(0, 0)[1] is within 5 of 126
133PASS actualColor(0, 0)[2] is within 5 of 0
134PASS actualColor(0, 0)[3] is within 5 of 255
135
136Testing blend mode exclusion
137PASS actualColor(0, 0)[0] is within 5 of 126
138PASS actualColor(0, 0)[1] is within 5 of 126
139PASS actualColor(0, 0)[2] is within 5 of 127.48235294117649
140PASS actualColor(0, 0)[3] is within 5 of 255
141
commit-queue@webkit.orgc5178be2013-08-02 18:42:51 +0000142PASS successfullyParsed is true
143
144TEST COMPLETE
commit-queue@webkit.org144b3222013-08-09 17:35:12 +0000145