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