Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1801)

Side by Side Diff: runtime/lib/typed_data.dart

Issue 23134002: Replace shuffle getters with shuffle method and masks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // patch classes for Int8List ..... Float64List and ByteData implementations. 5 // patch classes for Int8List ..... Float64List and ByteData implementations.
6 6
7 patch class Int8List { 7 patch class Int8List {
8 /* patch */ factory Int8List(int length) { 8 /* patch */ factory Int8List(int length) {
9 return new _Int8Array(length); 9 return new _Int8Array(length);
10 } 10 }
(...skipping 2004 matching lines...) Expand 10 before | Expand all | Expand 10 after
2015 Float32x4 upperLimit) { 2015 Float32x4 upperLimit) {
2016 return _clamp(lowerLimit, upperLimit); 2016 return _clamp(lowerLimit, upperLimit);
2017 } 2017 }
2018 Float32x4 _clamp(Float32x4 lowerLimit, 2018 Float32x4 _clamp(Float32x4 lowerLimit,
2019 Float32x4 upperLimit) 2019 Float32x4 upperLimit)
2020 native "Float32x4_clamp"; 2020 native "Float32x4_clamp";
2021 double get x native "Float32x4_getX"; 2021 double get x native "Float32x4_getX";
2022 double get y native "Float32x4_getY"; 2022 double get y native "Float32x4_getY";
2023 double get z native "Float32x4_getZ"; 2023 double get z native "Float32x4_getZ";
2024 double get w native "Float32x4_getW"; 2024 double get w native "Float32x4_getW";
2025 Float32x4 get xxxx => _shuffle(0x0); 2025
2026 Float32x4 get xxxy => _shuffle(0x40); 2026 static const int xxxx = 0x0;
2027 Float32x4 get xxxz => _shuffle(0x80); 2027 static const int xxxy = 0x40;
2028 Float32x4 get xxxw => _shuffle(0xC0); 2028 static const int xxxz = 0x80;
2029 Float32x4 get xxyx => _shuffle(0x10); 2029 static const int xxxw = 0xC0;
2030 Float32x4 get xxyy => _shuffle(0x50); 2030 static const int xxyx = 0x10;
2031 Float32x4 get xxyz => _shuffle(0x90); 2031 static const int xxyy = 0x50;
2032 Float32x4 get xxyw => _shuffle(0xD0); 2032 static const int xxyz = 0x90;
2033 Float32x4 get xxzx => _shuffle(0x20); 2033 static const int xxyw = 0xD0;
2034 Float32x4 get xxzy => _shuffle(0x60); 2034 static const int xxzx = 0x20;
2035 Float32x4 get xxzz => _shuffle(0xA0); 2035 static const int xxzy = 0x60;
2036 Float32x4 get xxzw => _shuffle(0xE0); 2036 static const int xxzz = 0xA0;
2037 Float32x4 get xxwx => _shuffle(0x30); 2037 static const int xxzw = 0xE0;
2038 Float32x4 get xxwy => _shuffle(0x70); 2038 static const int xxwx = 0x30;
2039 Float32x4 get xxwz => _shuffle(0xB0); 2039 static const int xxwy = 0x70;
2040 Float32x4 get xxww => _shuffle(0xF0); 2040 static const int xxwz = 0xB0;
2041 Float32x4 get xyxx => _shuffle(0x4); 2041 static const int xxww = 0xF0;
2042 Float32x4 get xyxy => _shuffle(0x44); 2042 static const int xyxx = 0x4;
2043 Float32x4 get xyxz => _shuffle(0x84); 2043 static const int xyxy = 0x44;
2044 Float32x4 get xyxw => _shuffle(0xC4); 2044 static const int xyxz = 0x84;
2045 Float32x4 get xyyx => _shuffle(0x14); 2045 static const int xyxw = 0xC4;
2046 Float32x4 get xyyy => _shuffle(0x54); 2046 static const int xyyx = 0x14;
2047 Float32x4 get xyyz => _shuffle(0x94); 2047 static const int xyyy = 0x54;
2048 Float32x4 get xyyw => _shuffle(0xD4); 2048 static const int xyyz = 0x94;
2049 Float32x4 get xyzx => _shuffle(0x24); 2049 static const int xyyw = 0xD4;
2050 Float32x4 get xyzy => _shuffle(0x64); 2050 static const int xyzx = 0x24;
2051 Float32x4 get xyzz => _shuffle(0xA4); 2051 static const int xyzy = 0x64;
2052 Float32x4 get xyzw => _shuffle(0xE4); 2052 static const int xyzz = 0xA4;
2053 Float32x4 get xywx => _shuffle(0x34); 2053 static const int xyzw = 0xE4;
2054 Float32x4 get xywy => _shuffle(0x74); 2054 static const int xywx = 0x34;
2055 Float32x4 get xywz => _shuffle(0xB4); 2055 static const int xywy = 0x74;
2056 Float32x4 get xyww => _shuffle(0xF4); 2056 static const int xywz = 0xB4;
2057 Float32x4 get xzxx => _shuffle(0x8); 2057 static const int xyww = 0xF4;
2058 Float32x4 get xzxy => _shuffle(0x48); 2058 static const int xzxx = 0x8;
2059 Float32x4 get xzxz => _shuffle(0x88); 2059 static const int xzxy = 0x48;
2060 Float32x4 get xzxw => _shuffle(0xC8); 2060 static const int xzxz = 0x88;
2061 Float32x4 get xzyx => _shuffle(0x18); 2061 static const int xzxw = 0xC8;
2062 Float32x4 get xzyy => _shuffle(0x58); 2062 static const int xzyx = 0x18;
2063 Float32x4 get xzyz => _shuffle(0x98); 2063 static const int xzyy = 0x58;
2064 Float32x4 get xzyw => _shuffle(0xD8); 2064 static const int xzyz = 0x98;
2065 Float32x4 get xzzx => _shuffle(0x28); 2065 static const int xzyw = 0xD8;
2066 Float32x4 get xzzy => _shuffle(0x68); 2066 static const int xzzx = 0x28;
2067 Float32x4 get xzzz => _shuffle(0xA8); 2067 static const int xzzy = 0x68;
2068 Float32x4 get xzzw => _shuffle(0xE8); 2068 static const int xzzz = 0xA8;
2069 Float32x4 get xzwx => _shuffle(0x38); 2069 static const int xzzw = 0xE8;
2070 Float32x4 get xzwy => _shuffle(0x78); 2070 static const int xzwx = 0x38;
2071 Float32x4 get xzwz => _shuffle(0xB8); 2071 static const int xzwy = 0x78;
2072 Float32x4 get xzww => _shuffle(0xF8); 2072 static const int xzwz = 0xB8;
2073 Float32x4 get xwxx => _shuffle(0xC); 2073 static const int xzww = 0xF8;
2074 Float32x4 get xwxy => _shuffle(0x4C); 2074 static const int xwxx = 0xC;
2075 Float32x4 get xwxz => _shuffle(0x8C); 2075 static const int xwxy = 0x4C;
2076 Float32x4 get xwxw => _shuffle(0xCC); 2076 static const int xwxz = 0x8C;
2077 Float32x4 get xwyx => _shuffle(0x1C); 2077 static const int xwxw = 0xCC;
2078 Float32x4 get xwyy => _shuffle(0x5C); 2078 static const int xwyx = 0x1C;
2079 Float32x4 get xwyz => _shuffle(0x9C); 2079 static const int xwyy = 0x5C;
2080 Float32x4 get xwyw => _shuffle(0xDC); 2080 static const int xwyz = 0x9C;
2081 Float32x4 get xwzx => _shuffle(0x2C); 2081 static const int xwyw = 0xDC;
2082 Float32x4 get xwzy => _shuffle(0x6C); 2082 static const int xwzx = 0x2C;
2083 Float32x4 get xwzz => _shuffle(0xAC); 2083 static const int xwzy = 0x6C;
2084 Float32x4 get xwzw => _shuffle(0xEC); 2084 static const int xwzz = 0xAC;
2085 Float32x4 get xwwx => _shuffle(0x3C); 2085 static const int xwzw = 0xEC;
2086 Float32x4 get xwwy => _shuffle(0x7C); 2086 static const int xwwx = 0x3C;
2087 Float32x4 get xwwz => _shuffle(0xBC); 2087 static const int xwwy = 0x7C;
2088 Float32x4 get xwww => _shuffle(0xFC); 2088 static const int xwwz = 0xBC;
2089 Float32x4 get yxxx => _shuffle(0x1); 2089 static const int xwww = 0xFC;
2090 Float32x4 get yxxy => _shuffle(0x41); 2090 static const int yxxx = 0x1;
2091 Float32x4 get yxxz => _shuffle(0x81); 2091 static const int yxxy = 0x41;
2092 Float32x4 get yxxw => _shuffle(0xC1); 2092 static const int yxxz = 0x81;
2093 Float32x4 get yxyx => _shuffle(0x11); 2093 static const int yxxw = 0xC1;
2094 Float32x4 get yxyy => _shuffle(0x51); 2094 static const int yxyx = 0x11;
2095 Float32x4 get yxyz => _shuffle(0x91); 2095 static const int yxyy = 0x51;
2096 Float32x4 get yxyw => _shuffle(0xD1); 2096 static const int yxyz = 0x91;
2097 Float32x4 get yxzx => _shuffle(0x21); 2097 static const int yxyw = 0xD1;
2098 Float32x4 get yxzy => _shuffle(0x61); 2098 static const int yxzx = 0x21;
2099 Float32x4 get yxzz => _shuffle(0xA1); 2099 static const int yxzy = 0x61;
2100 Float32x4 get yxzw => _shuffle(0xE1); 2100 static const int yxzz = 0xA1;
2101 Float32x4 get yxwx => _shuffle(0x31); 2101 static const int yxzw = 0xE1;
2102 Float32x4 get yxwy => _shuffle(0x71); 2102 static const int yxwx = 0x31;
2103 Float32x4 get yxwz => _shuffle(0xB1); 2103 static const int yxwy = 0x71;
2104 Float32x4 get yxww => _shuffle(0xF1); 2104 static const int yxwz = 0xB1;
2105 Float32x4 get yyxx => _shuffle(0x5); 2105 static const int yxww = 0xF1;
2106 Float32x4 get yyxy => _shuffle(0x45); 2106 static const int yyxx = 0x5;
2107 Float32x4 get yyxz => _shuffle(0x85); 2107 static const int yyxy = 0x45;
2108 Float32x4 get yyxw => _shuffle(0xC5); 2108 static const int yyxz = 0x85;
2109 Float32x4 get yyyx => _shuffle(0x15); 2109 static const int yyxw = 0xC5;
2110 Float32x4 get yyyy => _shuffle(0x55); 2110 static const int yyyx = 0x15;
2111 Float32x4 get yyyz => _shuffle(0x95); 2111 static const int yyyy = 0x55;
2112 Float32x4 get yyyw => _shuffle(0xD5); 2112 static const int yyyz = 0x95;
2113 Float32x4 get yyzx => _shuffle(0x25); 2113 static const int yyyw = 0xD5;
2114 Float32x4 get yyzy => _shuffle(0x65); 2114 static const int yyzx = 0x25;
2115 Float32x4 get yyzz => _shuffle(0xA5); 2115 static const int yyzy = 0x65;
2116 Float32x4 get yyzw => _shuffle(0xE5); 2116 static const int yyzz = 0xA5;
2117 Float32x4 get yywx => _shuffle(0x35); 2117 static const int yyzw = 0xE5;
2118 Float32x4 get yywy => _shuffle(0x75); 2118 static const int yywx = 0x35;
2119 Float32x4 get yywz => _shuffle(0xB5); 2119 static const int yywy = 0x75;
2120 Float32x4 get yyww => _shuffle(0xF5); 2120 static const int yywz = 0xB5;
2121 Float32x4 get yzxx => _shuffle(0x9); 2121 static const int yyww = 0xF5;
2122 Float32x4 get yzxy => _shuffle(0x49); 2122 static const int yzxx = 0x9;
2123 Float32x4 get yzxz => _shuffle(0x89); 2123 static const int yzxy = 0x49;
2124 Float32x4 get yzxw => _shuffle(0xC9); 2124 static const int yzxz = 0x89;
2125 Float32x4 get yzyx => _shuffle(0x19); 2125 static const int yzxw = 0xC9;
2126 Float32x4 get yzyy => _shuffle(0x59); 2126 static const int yzyx = 0x19;
2127 Float32x4 get yzyz => _shuffle(0x99); 2127 static const int yzyy = 0x59;
2128 Float32x4 get yzyw => _shuffle(0xD9); 2128 static const int yzyz = 0x99;
2129 Float32x4 get yzzx => _shuffle(0x29); 2129 static const int yzyw = 0xD9;
2130 Float32x4 get yzzy => _shuffle(0x69); 2130 static const int yzzx = 0x29;
2131 Float32x4 get yzzz => _shuffle(0xA9); 2131 static const int yzzy = 0x69;
2132 Float32x4 get yzzw => _shuffle(0xE9); 2132 static const int yzzz = 0xA9;
2133 Float32x4 get yzwx => _shuffle(0x39); 2133 static const int yzzw = 0xE9;
2134 Float32x4 get yzwy => _shuffle(0x79); 2134 static const int yzwx = 0x39;
2135 Float32x4 get yzwz => _shuffle(0xB9); 2135 static const int yzwy = 0x79;
2136 Float32x4 get yzww => _shuffle(0xF9); 2136 static const int yzwz = 0xB9;
2137 Float32x4 get ywxx => _shuffle(0xD); 2137 static const int yzww = 0xF9;
2138 Float32x4 get ywxy => _shuffle(0x4D); 2138 static const int ywxx = 0xD;
2139 Float32x4 get ywxz => _shuffle(0x8D); 2139 static const int ywxy = 0x4D;
2140 Float32x4 get ywxw => _shuffle(0xCD); 2140 static const int ywxz = 0x8D;
2141 Float32x4 get ywyx => _shuffle(0x1D); 2141 static const int ywxw = 0xCD;
2142 Float32x4 get ywyy => _shuffle(0x5D); 2142 static const int ywyx = 0x1D;
2143 Float32x4 get ywyz => _shuffle(0x9D); 2143 static const int ywyy = 0x5D;
2144 Float32x4 get ywyw => _shuffle(0xDD); 2144 static const int ywyz = 0x9D;
2145 Float32x4 get ywzx => _shuffle(0x2D); 2145 static const int ywyw = 0xDD;
2146 Float32x4 get ywzy => _shuffle(0x6D); 2146 static const int ywzx = 0x2D;
2147 Float32x4 get ywzz => _shuffle(0xAD); 2147 static const int ywzy = 0x6D;
2148 Float32x4 get ywzw => _shuffle(0xED); 2148 static const int ywzz = 0xAD;
2149 Float32x4 get ywwx => _shuffle(0x3D); 2149 static const int ywzw = 0xED;
2150 Float32x4 get ywwy => _shuffle(0x7D); 2150 static const int ywwx = 0x3D;
2151 Float32x4 get ywwz => _shuffle(0xBD); 2151 static const int ywwy = 0x7D;
2152 Float32x4 get ywww => _shuffle(0xFD); 2152 static const int ywwz = 0xBD;
2153 Float32x4 get zxxx => _shuffle(0x2); 2153 static const int ywww = 0xFD;
2154 Float32x4 get zxxy => _shuffle(0x42); 2154 static const int zxxx = 0x2;
2155 Float32x4 get zxxz => _shuffle(0x82); 2155 static const int zxxy = 0x42;
2156 Float32x4 get zxxw => _shuffle(0xC2); 2156 static const int zxxz = 0x82;
2157 Float32x4 get zxyx => _shuffle(0x12); 2157 static const int zxxw = 0xC2;
2158 Float32x4 get zxyy => _shuffle(0x52); 2158 static const int zxyx = 0x12;
2159 Float32x4 get zxyz => _shuffle(0x92); 2159 static const int zxyy = 0x52;
2160 Float32x4 get zxyw => _shuffle(0xD2); 2160 static const int zxyz = 0x92;
2161 Float32x4 get zxzx => _shuffle(0x22); 2161 static const int zxyw = 0xD2;
2162 Float32x4 get zxzy => _shuffle(0x62); 2162 static const int zxzx = 0x22;
2163 Float32x4 get zxzz => _shuffle(0xA2); 2163 static const int zxzy = 0x62;
2164 Float32x4 get zxzw => _shuffle(0xE2); 2164 static const int zxzz = 0xA2;
2165 Float32x4 get zxwx => _shuffle(0x32); 2165 static const int zxzw = 0xE2;
2166 Float32x4 get zxwy => _shuffle(0x72); 2166 static const int zxwx = 0x32;
2167 Float32x4 get zxwz => _shuffle(0xB2); 2167 static const int zxwy = 0x72;
2168 Float32x4 get zxww => _shuffle(0xF2); 2168 static const int zxwz = 0xB2;
2169 Float32x4 get zyxx => _shuffle(0x6); 2169 static const int zxww = 0xF2;
2170 Float32x4 get zyxy => _shuffle(0x46); 2170 static const int zyxx = 0x6;
2171 Float32x4 get zyxz => _shuffle(0x86); 2171 static const int zyxy = 0x46;
2172 Float32x4 get zyxw => _shuffle(0xC6); 2172 static const int zyxz = 0x86;
2173 Float32x4 get zyyx => _shuffle(0x16); 2173 static const int zyxw = 0xC6;
2174 Float32x4 get zyyy => _shuffle(0x56); 2174 static const int zyyx = 0x16;
2175 Float32x4 get zyyz => _shuffle(0x96); 2175 static const int zyyy = 0x56;
2176 Float32x4 get zyyw => _shuffle(0xD6); 2176 static const int zyyz = 0x96;
2177 Float32x4 get zyzx => _shuffle(0x26); 2177 static const int zyyw = 0xD6;
2178 Float32x4 get zyzy => _shuffle(0x66); 2178 static const int zyzx = 0x26;
2179 Float32x4 get zyzz => _shuffle(0xA6); 2179 static const int zyzy = 0x66;
2180 Float32x4 get zyzw => _shuffle(0xE6); 2180 static const int zyzz = 0xA6;
2181 Float32x4 get zywx => _shuffle(0x36); 2181 static const int zyzw = 0xE6;
2182 Float32x4 get zywy => _shuffle(0x76); 2182 static const int zywx = 0x36;
2183 Float32x4 get zywz => _shuffle(0xB6); 2183 static const int zywy = 0x76;
2184 Float32x4 get zyww => _shuffle(0xF6); 2184 static const int zywz = 0xB6;
2185 Float32x4 get zzxx => _shuffle(0xA); 2185 static const int zyww = 0xF6;
2186 Float32x4 get zzxy => _shuffle(0x4A); 2186 static const int zzxx = 0xA;
2187 Float32x4 get zzxz => _shuffle(0x8A); 2187 static const int zzxy = 0x4A;
2188 Float32x4 get zzxw => _shuffle(0xCA); 2188 static const int zzxz = 0x8A;
2189 Float32x4 get zzyx => _shuffle(0x1A); 2189 static const int zzxw = 0xCA;
2190 Float32x4 get zzyy => _shuffle(0x5A); 2190 static const int zzyx = 0x1A;
2191 Float32x4 get zzyz => _shuffle(0x9A); 2191 static const int zzyy = 0x5A;
2192 Float32x4 get zzyw => _shuffle(0xDA); 2192 static const int zzyz = 0x9A;
2193 Float32x4 get zzzx => _shuffle(0x2A); 2193 static const int zzyw = 0xDA;
2194 Float32x4 get zzzy => _shuffle(0x6A); 2194 static const int zzzx = 0x2A;
2195 Float32x4 get zzzz => _shuffle(0xAA); 2195 static const int zzzy = 0x6A;
2196 Float32x4 get zzzw => _shuffle(0xEA); 2196 static const int zzzz = 0xAA;
2197 Float32x4 get zzwx => _shuffle(0x3A); 2197 static const int zzzw = 0xEA;
2198 Float32x4 get zzwy => _shuffle(0x7A); 2198 static const int zzwx = 0x3A;
2199 Float32x4 get zzwz => _shuffle(0xBA); 2199 static const int zzwy = 0x7A;
2200 Float32x4 get zzww => _shuffle(0xFA); 2200 static const int zzwz = 0xBA;
2201 Float32x4 get zwxx => _shuffle(0xE); 2201 static const int zzww = 0xFA;
2202 Float32x4 get zwxy => _shuffle(0x4E); 2202 static const int zwxx = 0xE;
2203 Float32x4 get zwxz => _shuffle(0x8E); 2203 static const int zwxy = 0x4E;
2204 Float32x4 get zwxw => _shuffle(0xCE); 2204 static const int zwxz = 0x8E;
2205 Float32x4 get zwyx => _shuffle(0x1E); 2205 static const int zwxw = 0xCE;
2206 Float32x4 get zwyy => _shuffle(0x5E); 2206 static const int zwyx = 0x1E;
2207 Float32x4 get zwyz => _shuffle(0x9E); 2207 static const int zwyy = 0x5E;
2208 Float32x4 get zwyw => _shuffle(0xDE); 2208 static const int zwyz = 0x9E;
2209 Float32x4 get zwzx => _shuffle(0x2E); 2209 static const int zwyw = 0xDE;
2210 Float32x4 get zwzy => _shuffle(0x6E); 2210 static const int zwzx = 0x2E;
2211 Float32x4 get zwzz => _shuffle(0xAE); 2211 static const int zwzy = 0x6E;
2212 Float32x4 get zwzw => _shuffle(0xEE); 2212 static const int zwzz = 0xAE;
2213 Float32x4 get zwwx => _shuffle(0x3E); 2213 static const int zwzw = 0xEE;
2214 Float32x4 get zwwy => _shuffle(0x7E); 2214 static const int zwwx = 0x3E;
2215 Float32x4 get zwwz => _shuffle(0xBE); 2215 static const int zwwy = 0x7E;
2216 Float32x4 get zwww => _shuffle(0xFE); 2216 static const int zwwz = 0xBE;
2217 Float32x4 get wxxx => _shuffle(0x3); 2217 static const int zwww = 0xFE;
2218 Float32x4 get wxxy => _shuffle(0x43); 2218 static const int wxxx = 0x3;
2219 Float32x4 get wxxz => _shuffle(0x83); 2219 static const int wxxy = 0x43;
2220 Float32x4 get wxxw => _shuffle(0xC3); 2220 static const int wxxz = 0x83;
2221 Float32x4 get wxyx => _shuffle(0x13); 2221 static const int wxxw = 0xC3;
2222 Float32x4 get wxyy => _shuffle(0x53); 2222 static const int wxyx = 0x13;
2223 Float32x4 get wxyz => _shuffle(0x93); 2223 static const int wxyy = 0x53;
2224 Float32x4 get wxyw => _shuffle(0xD3); 2224 static const int wxyz = 0x93;
2225 Float32x4 get wxzx => _shuffle(0x23); 2225 static const int wxyw = 0xD3;
2226 Float32x4 get wxzy => _shuffle(0x63); 2226 static const int wxzx = 0x23;
2227 Float32x4 get wxzz => _shuffle(0xA3); 2227 static const int wxzy = 0x63;
2228 Float32x4 get wxzw => _shuffle(0xE3); 2228 static const int wxzz = 0xA3;
2229 Float32x4 get wxwx => _shuffle(0x33); 2229 static const int wxzw = 0xE3;
2230 Float32x4 get wxwy => _shuffle(0x73); 2230 static const int wxwx = 0x33;
2231 Float32x4 get wxwz => _shuffle(0xB3); 2231 static const int wxwy = 0x73;
2232 Float32x4 get wxww => _shuffle(0xF3); 2232 static const int wxwz = 0xB3;
2233 Float32x4 get wyxx => _shuffle(0x7); 2233 static const int wxww = 0xF3;
2234 Float32x4 get wyxy => _shuffle(0x47); 2234 static const int wyxx = 0x7;
2235 Float32x4 get wyxz => _shuffle(0x87); 2235 static const int wyxy = 0x47;
2236 Float32x4 get wyxw => _shuffle(0xC7); 2236 static const int wyxz = 0x87;
2237 Float32x4 get wyyx => _shuffle(0x17); 2237 static const int wyxw = 0xC7;
2238 Float32x4 get wyyy => _shuffle(0x57); 2238 static const int wyyx = 0x17;
2239 Float32x4 get wyyz => _shuffle(0x97); 2239 static const int wyyy = 0x57;
2240 Float32x4 get wyyw => _shuffle(0xD7); 2240 static const int wyyz = 0x97;
2241 Float32x4 get wyzx => _shuffle(0x27); 2241 static const int wyyw = 0xD7;
2242 Float32x4 get wyzy => _shuffle(0x67); 2242 static const int wyzx = 0x27;
2243 Float32x4 get wyzz => _shuffle(0xA7); 2243 static const int wyzy = 0x67;
2244 Float32x4 get wyzw => _shuffle(0xE7); 2244 static const int wyzz = 0xA7;
2245 Float32x4 get wywx => _shuffle(0x37); 2245 static const int wyzw = 0xE7;
2246 Float32x4 get wywy => _shuffle(0x77); 2246 static const int wywx = 0x37;
2247 Float32x4 get wywz => _shuffle(0xB7); 2247 static const int wywy = 0x77;
2248 Float32x4 get wyww => _shuffle(0xF7); 2248 static const int wywz = 0xB7;
2249 Float32x4 get wzxx => _shuffle(0xB); 2249 static const int wyww = 0xF7;
2250 Float32x4 get wzxy => _shuffle(0x4B); 2250 static const int wzxx = 0xB;
2251 Float32x4 get wzxz => _shuffle(0x8B); 2251 static const int wzxy = 0x4B;
2252 Float32x4 get wzxw => _shuffle(0xCB); 2252 static const int wzxz = 0x8B;
2253 Float32x4 get wzyx => _shuffle(0x1B); 2253 static const int wzxw = 0xCB;
2254 Float32x4 get wzyy => _shuffle(0x5B); 2254 static const int wzyx = 0x1B;
2255 Float32x4 get wzyz => _shuffle(0x9B); 2255 static const int wzyy = 0x5B;
2256 Float32x4 get wzyw => _shuffle(0xDB); 2256 static const int wzyz = 0x9B;
2257 Float32x4 get wzzx => _shuffle(0x2B); 2257 static const int wzyw = 0xDB;
2258 Float32x4 get wzzy => _shuffle(0x6B); 2258 static const int wzzx = 0x2B;
2259 Float32x4 get wzzz => _shuffle(0xAB); 2259 static const int wzzy = 0x6B;
2260 Float32x4 get wzzw => _shuffle(0xEB); 2260 static const int wzzz = 0xAB;
2261 Float32x4 get wzwx => _shuffle(0x3B); 2261 static const int wzzw = 0xEB;
2262 Float32x4 get wzwy => _shuffle(0x7B); 2262 static const int wzwx = 0x3B;
2263 Float32x4 get wzwz => _shuffle(0xBB); 2263 static const int wzwy = 0x7B;
2264 Float32x4 get wzww => _shuffle(0xFB); 2264 static const int wzwz = 0xBB;
2265 Float32x4 get wwxx => _shuffle(0xF); 2265 static const int wzww = 0xFB;
2266 Float32x4 get wwxy => _shuffle(0x4F); 2266 static const int wwxx = 0xF;
2267 Float32x4 get wwxz => _shuffle(0x8F); 2267 static const int wwxy = 0x4F;
2268 Float32x4 get wwxw => _shuffle(0xCF); 2268 static const int wwxz = 0x8F;
2269 Float32x4 get wwyx => _shuffle(0x1F); 2269 static const int wwxw = 0xCF;
2270 Float32x4 get wwyy => _shuffle(0x5F); 2270 static const int wwyx = 0x1F;
2271 Float32x4 get wwyz => _shuffle(0x9F); 2271 static const int wwyy = 0x5F;
2272 Float32x4 get wwyw => _shuffle(0xDF); 2272 static const int wwyz = 0x9F;
2273 Float32x4 get wwzx => _shuffle(0x2F); 2273 static const int wwyw = 0xDF;
2274 Float32x4 get wwzy => _shuffle(0x6F); 2274 static const int wwzx = 0x2F;
2275 Float32x4 get wwzz => _shuffle(0xAF); 2275 static const int wwzy = 0x6F;
2276 Float32x4 get wwzw => _shuffle(0xEF); 2276 static const int wwzz = 0xAF;
2277 Float32x4 get wwwx => _shuffle(0x3F); 2277 static const int wwzw = 0xEF;
2278 Float32x4 get wwwy => _shuffle(0x7F); 2278 static const int wwwx = 0x3F;
2279 Float32x4 get wwwz => _shuffle(0xBF); 2279 static const int wwwy = 0x7F;
2280 Float32x4 get wwww => _shuffle(0xFF); 2280 static const int wwwz = 0xBF;
2281 Float32x4 _shuffle(int mask) native "Float32x4_shuffle"; 2281 static const int wwww = 0xFF;
siva 2013/08/14 18:27:54 Why do these constants have be defined here as wel
Cutch 2013/08/14 21:15:28 Removed.
2282
2283 Float32x4 shuffle(int mask) native "Float32x4_shuffle";
2282 2284
2283 Float32x4 withZWInXY(Float32x4 other) native "Float32x4_withZWInXY"; 2285 Float32x4 withZWInXY(Float32x4 other) native "Float32x4_withZWInXY";
2284 Float32x4 interleaveXY(Float32x4 other) native "Float32x4_interleaveXY"; 2286 Float32x4 interleaveXY(Float32x4 other) native "Float32x4_interleaveXY";
2285 Float32x4 interleaveZW(Float32x4 other) native "Float32x4_interleaveZW"; 2287 Float32x4 interleaveZW(Float32x4 other) native "Float32x4_interleaveZW";
2286 Float32x4 interleaveXYPairs(Float32x4 other) 2288 Float32x4 interleaveXYPairs(Float32x4 other)
2287 native "Float32x4_interleaveXYPairs"; 2289 native "Float32x4_interleaveXYPairs";
2288 Float32x4 interleaveZWPairs(Float32x4 other) 2290 Float32x4 interleaveZWPairs(Float32x4 other)
2289 native "Float32x4_interleaveZWPairs"; 2291 native "Float32x4_interleaveZWPairs";
2290 2292
2291 Float32x4 withX(double x) native "Float32x4_setX"; 2293 Float32x4 withX(double x) native "Float32x4_setX";
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after
3385 return value; 3387 return value;
3386 } 3388 }
3387 return object; 3389 return object;
3388 } 3390 }
3389 3391
3390 3392
3391 void _throwRangeError(int index, int length) { 3393 void _throwRangeError(int index, int length) {
3392 String message = "$index must be in the range [0..$length)"; 3394 String message = "$index must be in the range [0..$length)";
3393 throw new RangeError(message); 3395 throw new RangeError(message);
3394 } 3396 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698