epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright 2006 The Android Open Source Project |
| 4 | * |
| 5 | * Use of this source code is governed by a BSD-style license that can be |
| 6 | * found in the LICENSE file. |
| 7 | */ |
| 8 | |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 9 | |
| 10 | #include "SkTypes.h" |
| 11 | #ifndef SK_BUILD_FOR_UNIX |
| 12 | #ifdef SK_RELEASE |
| 13 | // This file was automatically generated. |
| 14 | // To change it, edit the file with the matching debug info. |
| 15 | // Then execute SkDisplayType::BuildCondensedInfo() to regenerate this file. |
| 16 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 17 | static const char gMathStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 18 | "E\0" |
| 19 | "LN10\0" |
| 20 | "LN2\0" |
| 21 | "LOG10E\0" |
| 22 | "LOG2E\0" |
| 23 | "PI\0" |
| 24 | "SQRT1_2\0" |
| 25 | "SQRT2\0" |
| 26 | "abs\0" |
| 27 | "acos\0" |
| 28 | "asin\0" |
| 29 | "atan\0" |
| 30 | "atan2\0" |
| 31 | "ceil\0" |
| 32 | "cos\0" |
| 33 | "exp\0" |
| 34 | "floor\0" |
| 35 | "log\0" |
| 36 | "max\0" |
| 37 | "min\0" |
| 38 | "pow\0" |
| 39 | "random\0" |
| 40 | "round\0" |
| 41 | "sin\0" |
| 42 | "sqrt\0" |
| 43 | "tan" |
| 44 | ; |
| 45 | |
| 46 | static const SkMemberInfo gMathInfo[] = { |
| 47 | {0, -1, 67, 98}, |
| 48 | {2, -2, 67, 98}, |
| 49 | {7, -3, 67, 98}, |
| 50 | {11, -4, 67, 98}, |
| 51 | {18, -5, 67, 98}, |
| 52 | {24, -6, 67, 98}, |
| 53 | {27, -7, 67, 98}, |
| 54 | {35, -8, 67, 98}, |
| 55 | {41, -1, 66, 98}, |
| 56 | {45, -2, 66, 98}, |
| 57 | {50, -3, 66, 98}, |
| 58 | {55, -4, 66, 98}, |
| 59 | {60, -5, 66, 98}, |
| 60 | {66, -6, 66, 98}, |
| 61 | {71, -7, 66, 98}, |
| 62 | {75, -8, 66, 98}, |
| 63 | {79, -9, 66, 98}, |
| 64 | {85, -10, 66, 98}, |
| 65 | {89, -11, 66, 98}, |
| 66 | {93, -12, 66, 98}, |
| 67 | {97, -13, 66, 98}, |
| 68 | {101, -14, 66, 98}, |
| 69 | {108, -15, 66, 98}, |
| 70 | {114, -16, 66, 98}, |
| 71 | {118, -17, 66, 98}, |
| 72 | {123, -18, 66, 98} |
| 73 | }; |
| 74 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 75 | static const char gAddStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 76 | "inPlace\0" |
| 77 | "offset\0" |
| 78 | "use\0" |
| 79 | "where" |
| 80 | ; |
| 81 | |
| 82 | static const SkMemberInfo gAddInfo[] = { |
| 83 | {0, 4, 26, 1}, |
| 84 | {8, 8, 96, 1}, |
| 85 | {15, 12, 37, 1}, |
| 86 | {19, 16, 37, 1} |
| 87 | }; |
| 88 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 89 | static const char gAddCircleStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 90 | "\0" |
| 91 | "radius\0" |
| 92 | "x\0" |
| 93 | "y" |
| 94 | ; |
| 95 | |
| 96 | static const SkMemberInfo gAddCircleInfo[] = { |
| 97 | {0, 3, 18, 1}, |
| 98 | {1, 12, 98, 1}, |
| 99 | {8, 16, 98, 1}, |
| 100 | {10, 20, 98, 1} |
| 101 | }; |
| 102 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 103 | static const char gUnknown1Strings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 104 | "direction" |
| 105 | ; |
| 106 | |
| 107 | static const SkMemberInfo gUnknown1Info[] = { |
| 108 | {0, 8, 75, 1} |
| 109 | }; |
| 110 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 111 | static const char gAddOvalStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 112 | "" |
| 113 | ; |
| 114 | |
| 115 | static const SkMemberInfo gAddOvalInfo[] = { |
| 116 | {0, 6, 18, 5} |
| 117 | }; |
| 118 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 119 | static const char gAddPathStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 120 | "matrix\0" |
| 121 | "path" |
| 122 | ; |
| 123 | |
| 124 | static const SkMemberInfo gAddPathInfo[] = { |
| 125 | {0, 8, 65, 1}, |
| 126 | {7, 12, 74, 1} |
| 127 | }; |
| 128 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 129 | static const char gAddRectangleStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 130 | "\0" |
| 131 | "bottom\0" |
| 132 | "left\0" |
| 133 | "right\0" |
| 134 | "top" |
| 135 | ; |
| 136 | |
| 137 | static const SkMemberInfo gAddRectangleInfo[] = { |
| 138 | {0, 3, 18, 1}, |
| 139 | {1, 24, 98, 1}, |
| 140 | {8, 12, 98, 1}, |
| 141 | {13, 20, 98, 1}, |
| 142 | {19, 16, 98, 1} |
| 143 | }; |
| 144 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 145 | static const char gAddRoundRectStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 146 | "\0" |
| 147 | "rx\0" |
| 148 | "ry" |
| 149 | ; |
| 150 | |
| 151 | static const SkMemberInfo gAddRoundRectInfo[] = { |
| 152 | {0, 6, 18, 5}, |
| 153 | {1, 28, 98, 1}, |
| 154 | {4, 32, 98, 1} |
| 155 | }; |
| 156 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 157 | static const char gUnknown2Strings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 158 | "begin\0" |
| 159 | "blend\0" |
| 160 | "dur\0" |
| 161 | "dynamic\0" |
| 162 | "field\0" |
| 163 | "formula\0" |
| 164 | "from\0" |
| 165 | "mirror\0" |
| 166 | "repeat\0" |
| 167 | "reset\0" |
| 168 | "target\0" |
| 169 | "to\0" |
| 170 | "values" |
| 171 | ; |
| 172 | |
| 173 | static const SkMemberInfo gUnknown2Info[] = { |
| 174 | {0, 4, 71, 1}, |
| 175 | {6, 8, 119, 98}, |
| 176 | {12, 16, 71, 1}, |
| 177 | {16, -1, 67, 26}, |
| 178 | {24, 20, 108, 1}, |
| 179 | {30, 24, 40, 1}, |
| 180 | {38, 28, 40, 1}, |
| 181 | {43, -2, 67, 26}, |
| 182 | {50, 32, 98, 1}, |
| 183 | {57, -3, 67, 26}, |
| 184 | {63, 36, 40, 1}, |
| 185 | {70, 40, 40, 1}, |
| 186 | {73, -4, 67, 40} |
| 187 | }; |
| 188 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 189 | static const char gAnimateFieldStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 190 | "" |
| 191 | ; |
| 192 | |
| 193 | static const SkMemberInfo gAnimateFieldInfo[] = { |
| 194 | {0, 8, 18, 13} |
| 195 | }; |
| 196 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 197 | static const char gApplyStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 198 | "animator\0" |
| 199 | "begin\0" |
| 200 | "dontDraw\0" |
| 201 | "dynamicScope\0" |
| 202 | "interval\0" |
| 203 | "mode\0" |
| 204 | "pickup\0" |
| 205 | "restore\0" |
| 206 | "scope\0" |
| 207 | "step\0" |
| 208 | "steps\0" |
| 209 | "time\0" |
| 210 | "transition" |
| 211 | ; |
| 212 | |
| 213 | static const SkMemberInfo gApplyInfo[] = { |
| 214 | {0, -1, 67, 10}, |
| 215 | {9, 4, 71, 1}, |
| 216 | {15, 8, 26, 1}, |
| 217 | {24, 12, 108, 1}, |
| 218 | {37, 16, 71, 1}, |
| 219 | {46, 20, 13, 1}, |
| 220 | {51, 24, 26, 1}, |
| 221 | {58, 28, 26, 1}, |
| 222 | {66, 32, 37, 1}, |
| 223 | {72, -2, 67, 96}, |
| 224 | {77, 36, 96, 1}, |
| 225 | {83, -3, 67, 71}, |
| 226 | {88, 40, 14, 1} |
| 227 | }; |
| 228 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 229 | static const char gUnknown3Strings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 230 | "x\0" |
| 231 | "y" |
| 232 | ; |
| 233 | |
| 234 | static const SkMemberInfo gUnknown3Info[] = { |
| 235 | {0, 36, 98, 1}, |
| 236 | {2, 40, 98, 1} |
| 237 | }; |
| 238 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 239 | static const char gBitmapStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 240 | "\0" |
| 241 | "erase\0" |
| 242 | "format\0" |
| 243 | "height\0" |
| 244 | "rowBytes\0" |
| 245 | "width" |
| 246 | ; |
| 247 | |
| 248 | static const SkMemberInfo gDrawBitmapInfo[] = { |
| 249 | {0, 11, 18, 2}, |
| 250 | {1, -1, 67, 15}, |
| 251 | {7, 44, 21, 1}, |
| 252 | {14, 48, 96, 1}, |
| 253 | {21, 52, 96, 1}, |
| 254 | {30, 56, 96, 1} |
| 255 | }; |
| 256 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 257 | static const char gBitmapShaderStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 258 | "\0" |
| 259 | "filterType\0" |
| 260 | "image" |
| 261 | ; |
| 262 | |
| 263 | static const SkMemberInfo gDrawBitmapShaderInfo[] = { |
| 264 | {0, 66, 18, 2}, |
| 265 | {1, 16, 47, 1}, |
| 266 | {12, 20, 17, 1} |
| 267 | }; |
| 268 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 269 | static const char gBlurStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 270 | "blurStyle\0" |
| 271 | "radius" |
| 272 | ; |
| 273 | |
| 274 | static const SkMemberInfo gDrawBlurInfo[] = { |
| 275 | {0, 12, 63, 1}, |
| 276 | {10, 8, 98, 1} |
| 277 | }; |
| 278 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 279 | static const char gBoundsStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 280 | "\0" |
| 281 | "inval" |
| 282 | ; |
| 283 | |
| 284 | static const SkMemberInfo gDisplayBoundsInfo[] = { |
| 285 | {0, 57, 18, 7}, |
| 286 | {1, 32, 26, 1} |
| 287 | }; |
| 288 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 289 | static const char gClipStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 290 | "path\0" |
| 291 | "rectangle" |
| 292 | ; |
| 293 | |
| 294 | static const SkMemberInfo gDrawClipInfo[] = { |
| 295 | {0, 8, 74, 1}, |
| 296 | {5, 4, 91, 1} |
| 297 | }; |
| 298 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 299 | static const char gColorStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 300 | "alpha\0" |
| 301 | "blue\0" |
| 302 | "color\0" |
| 303 | "green\0" |
| 304 | "hue\0" |
| 305 | "red\0" |
| 306 | "saturation\0" |
| 307 | "value" |
| 308 | ; |
| 309 | |
| 310 | static const SkMemberInfo gDrawColorInfo[] = { |
| 311 | {0, -1, 67, 98}, |
| 312 | {6, -2, 67, 98}, |
| 313 | {11, 8, 15, 1}, |
| 314 | {17, -3, 67, 98}, |
| 315 | {23, -4, 67, 98}, |
| 316 | {27, -5, 67, 98}, |
| 317 | {31, -6, 67, 98}, |
| 318 | {42, -7, 67, 98} |
| 319 | }; |
| 320 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 321 | static const char gCubicToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 322 | "x1\0" |
| 323 | "x2\0" |
| 324 | "x3\0" |
| 325 | "y1\0" |
| 326 | "y2\0" |
| 327 | "y3" |
| 328 | ; |
| 329 | |
| 330 | static const SkMemberInfo gCubicToInfo[] = { |
| 331 | {0, 8, 98, 1}, |
| 332 | {3, 16, 98, 1}, |
| 333 | {6, 24, 98, 1}, |
| 334 | {9, 12, 98, 1}, |
| 335 | {12, 20, 98, 1}, |
| 336 | {15, 28, 98, 1} |
| 337 | }; |
| 338 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 339 | static const char gDashStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 340 | "intervals\0" |
| 341 | "phase" |
| 342 | ; |
| 343 | |
| 344 | static const SkMemberInfo gDashInfo[] = { |
| 345 | {0, 8, 119, 98}, |
| 346 | {10, 16, 98, 1} |
| 347 | }; |
| 348 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 349 | static const char gDataStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 350 | "\0" |
| 351 | "name" |
| 352 | ; |
| 353 | |
| 354 | static const SkMemberInfo gDataInfo[] = { |
| 355 | {0, 32, 18, 3}, |
| 356 | {1, 16, 108, 1} |
| 357 | }; |
| 358 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 359 | static const char gDiscreteStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 360 | "deviation\0" |
| 361 | "segLength" |
| 362 | ; |
| 363 | |
| 364 | static const SkMemberInfo gDiscreteInfo[] = { |
| 365 | {0, 8, 98, 1}, |
| 366 | {10, 12, 98, 1} |
| 367 | }; |
| 368 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 369 | static const char gDrawToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 370 | "drawOnce\0" |
| 371 | "use" |
| 372 | ; |
| 373 | |
| 374 | static const SkMemberInfo gDrawToInfo[] = { |
| 375 | {0, 36, 26, 1}, |
| 376 | {9, 40, 19, 1} |
| 377 | }; |
| 378 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 379 | static const char gEmbossStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 380 | "ambient\0" |
| 381 | "direction\0" |
| 382 | "radius\0" |
| 383 | "specular" |
| 384 | ; |
| 385 | |
| 386 | static const SkMemberInfo gDrawEmbossInfo[] = { |
| 387 | {0, -1, 67, 98}, |
| 388 | {8, 8, 119, 98}, |
| 389 | {18, 16, 98, 1}, |
| 390 | {25, -2, 67, 98} |
| 391 | }; |
| 392 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 393 | static const char gEventStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 394 | "code\0" |
| 395 | "disable\0" |
| 396 | "key\0" |
| 397 | "keys\0" |
| 398 | "kind\0" |
| 399 | "target\0" |
| 400 | "x\0" |
| 401 | "y" |
| 402 | ; |
| 403 | |
| 404 | static const SkMemberInfo gDisplayEventInfo[] = { |
| 405 | {0, 4, 43, 1}, |
| 406 | {5, 8, 26, 1}, |
| 407 | {13, -1, 67, 108}, |
| 408 | {17, -2, 67, 108}, |
| 409 | {22, 12, 44, 1}, |
| 410 | {27, 16, 108, 1}, |
| 411 | {34, 20, 98, 1}, |
| 412 | {36, 24, 98, 1} |
| 413 | }; |
| 414 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 415 | static const char gFromPathStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 416 | "mode\0" |
| 417 | "offset\0" |
| 418 | "path" |
| 419 | ; |
| 420 | |
| 421 | static const SkMemberInfo gFromPathInfo[] = { |
| 422 | {0, 8, 49, 1}, |
| 423 | {5, 12, 98, 1}, |
| 424 | {12, 16, 74, 1} |
| 425 | }; |
| 426 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 427 | static const char gUnknown4Strings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 428 | "\0" |
| 429 | "offsets\0" |
| 430 | "unitMapper" |
| 431 | ; |
| 432 | |
| 433 | static const SkMemberInfo gUnknown4Info[] = { |
| 434 | {0, 66, 18, 2}, |
| 435 | {1, 16, 119, 98}, |
| 436 | {9, 24, 108, 1} |
| 437 | }; |
| 438 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 439 | static const char gGStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 440 | "condition\0" |
| 441 | "enableCondition" |
| 442 | ; |
| 443 | |
| 444 | static const SkMemberInfo gGInfo[] = { |
| 445 | {0, 4, 40, 1}, |
| 446 | {10, 8, 40, 1} |
| 447 | }; |
| 448 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 449 | static const char gHitClearStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 450 | "targets" |
| 451 | ; |
| 452 | |
| 453 | static const SkMemberInfo gHitClearInfo[] = { |
| 454 | {0, 4, 119, 36} |
| 455 | }; |
| 456 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 457 | static const char gHitTestStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 458 | "bullets\0" |
| 459 | "hits\0" |
| 460 | "targets\0" |
| 461 | "value" |
| 462 | ; |
| 463 | |
| 464 | static const SkMemberInfo gHitTestInfo[] = { |
| 465 | {0, 4, 119, 36}, |
| 466 | {8, 12, 119, 96}, |
| 467 | {13, 20, 119, 36}, |
| 468 | {21, 28, 26, 1} |
| 469 | }; |
| 470 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 471 | static const char gImageStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 472 | "\0" |
| 473 | "base64\0" |
| 474 | "src" |
| 475 | ; |
| 476 | |
| 477 | static const SkMemberInfo gImageInfo[] = { |
| 478 | {0, 11, 18, 2}, |
| 479 | {1, 44, 16, 2}, |
| 480 | {8, 52, 108, 1} |
| 481 | }; |
| 482 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 483 | static const char gIncludeStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 484 | "src" |
| 485 | ; |
| 486 | |
| 487 | static const SkMemberInfo gIncludeInfo[] = { |
| 488 | {0, 4, 108, 1} |
| 489 | }; |
| 490 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 491 | static const char gInputStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 492 | "s32\0" |
| 493 | "scalar\0" |
| 494 | "string" |
| 495 | ; |
| 496 | |
| 497 | static const SkMemberInfo gInputInfo[] = { |
| 498 | {0, 4, 96, 1}, |
| 499 | {4, 8, 98, 1}, |
| 500 | {11, 12, 108, 1} |
| 501 | }; |
| 502 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 503 | static const char gLineStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 504 | "x1\0" |
| 505 | "x2\0" |
| 506 | "y1\0" |
| 507 | "y2" |
| 508 | ; |
| 509 | |
| 510 | static const SkMemberInfo gLineInfo[] = { |
| 511 | {0, 12, 98, 1}, |
| 512 | {3, 16, 98, 1}, |
| 513 | {6, 20, 98, 1}, |
| 514 | {9, 24, 98, 1} |
| 515 | }; |
| 516 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 517 | static const char gLineToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 518 | "x\0" |
| 519 | "y" |
| 520 | ; |
| 521 | |
| 522 | static const SkMemberInfo gLineToInfo[] = { |
| 523 | {0, 8, 98, 1}, |
| 524 | {2, 12, 98, 1} |
| 525 | }; |
| 526 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 527 | static const char gLinearGradientStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 528 | "\0" |
| 529 | "points" |
| 530 | ; |
| 531 | |
| 532 | static const SkMemberInfo gLinearGradientInfo[] = { |
| 533 | {0, 26, 18, 3}, |
| 534 | {1, 48, 77, 4} |
| 535 | }; |
| 536 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 537 | static const char gMatrixStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 538 | "matrix\0" |
| 539 | "perspectX\0" |
| 540 | "perspectY\0" |
| 541 | "rotate\0" |
| 542 | "scale\0" |
| 543 | "scaleX\0" |
| 544 | "scaleY\0" |
| 545 | "skewX\0" |
| 546 | "skewY\0" |
| 547 | "translate\0" |
| 548 | "translateX\0" |
| 549 | "translateY" |
| 550 | ; |
| 551 | |
| 552 | static const SkMemberInfo gDrawMatrixInfo[] = { |
| 553 | {0, 4, 119, 98}, |
| 554 | {7, -1, 67, 98}, |
| 555 | {17, -2, 67, 98}, |
| 556 | {27, -3, 67, 98}, |
| 557 | {34, -4, 67, 98}, |
| 558 | {40, -5, 67, 98}, |
| 559 | {47, -6, 67, 98}, |
| 560 | {54, -7, 67, 98}, |
| 561 | {60, -8, 67, 98}, |
| 562 | {66, -9, 67, 77}, |
| 563 | {76, -10, 67, 98}, |
| 564 | {87, -11, 67, 98} |
| 565 | }; |
| 566 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 567 | static const char gMoveStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 568 | "" |
| 569 | ; |
| 570 | |
| 571 | static const SkMemberInfo gMoveInfo[] = { |
| 572 | {0, 1, 18, 4} |
| 573 | }; |
| 574 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 575 | static const char gMoveToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 576 | "x\0" |
| 577 | "y" |
| 578 | ; |
| 579 | |
| 580 | static const SkMemberInfo gMoveToInfo[] = { |
| 581 | {0, 8, 98, 1}, |
| 582 | {2, 12, 98, 1} |
| 583 | }; |
| 584 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 585 | static const char gMovieStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 586 | "src" |
| 587 | ; |
| 588 | |
| 589 | static const SkMemberInfo gMovieInfo[] = { |
| 590 | {0, 4, 108, 1} |
| 591 | }; |
| 592 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 593 | static const char gOvalStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 594 | "" |
| 595 | ; |
| 596 | |
| 597 | static const SkMemberInfo gOvalInfo[] = { |
| 598 | {0, 57, 18, 7} |
| 599 | }; |
| 600 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 601 | static const char gPaintStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 602 | "antiAlias\0" |
| 603 | "ascent\0" |
| 604 | "color\0" |
| 605 | "descent\0" |
| 606 | "filterType\0" |
| 607 | "linearText\0" |
| 608 | "maskFilter\0" |
| 609 | "measureText\0" |
| 610 | "pathEffect\0" |
| 611 | "shader\0" |
| 612 | "strikeThru\0" |
| 613 | "stroke\0" |
| 614 | "strokeCap\0" |
| 615 | "strokeJoin\0" |
| 616 | "strokeMiter\0" |
| 617 | "strokeWidth\0" |
| 618 | "style\0" |
| 619 | "textAlign\0" |
| 620 | "textScaleX\0" |
| 621 | "textSize\0" |
| 622 | "textSkewX\0" |
| 623 | "textTracking\0" |
| 624 | "typeface\0" |
| 625 | "underline\0" |
| 626 | "xfermode" |
| 627 | ; |
| 628 | |
| 629 | static const SkMemberInfo gDrawPaintInfo[] = { |
| 630 | {0, 4, 26, 1}, |
| 631 | {10, -1, 67, 98}, |
| 632 | {17, 8, 31, 1}, |
| 633 | {23, -2, 67, 98}, |
| 634 | {31, 12, 47, 1}, |
| 635 | {42, 16, 26, 1}, |
| 636 | {53, 20, 62, 1}, |
| 637 | {64, -1, 66, 98}, |
| 638 | {76, 24, 76, 1}, |
| 639 | {87, 28, 102, 1}, |
| 640 | {94, 32, 26, 1}, |
| 641 | {105, 36, 26, 1}, |
| 642 | {112, 40, 27, 1}, |
| 643 | {122, 44, 58, 1}, |
| 644 | {133, 48, 98, 1}, |
| 645 | {145, 52, 98, 1}, |
| 646 | {157, 56, 109, 1}, |
| 647 | {163, 60, 9, 1}, |
| 648 | {173, 64, 98, 1}, |
| 649 | {184, 68, 98, 1}, |
| 650 | {193, 72, 98, 1}, |
| 651 | {203, 76, 98, 1}, |
| 652 | {216, 80, 120, 1}, |
| 653 | {225, 84, 26, 1}, |
| 654 | {235, 88, 121, 1} |
| 655 | }; |
| 656 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 657 | static const char gPathStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 658 | "d\0" |
| 659 | "fillType\0" |
| 660 | "length" |
| 661 | ; |
| 662 | |
| 663 | static const SkMemberInfo gDrawPathInfo[] = { |
| 664 | {0, 32, 108, 1}, |
| 665 | {2, -1, 67, 46}, |
| 666 | {11, -2, 67, 98} |
| 667 | }; |
| 668 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 669 | static const char gUnknown5Strings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 670 | "x\0" |
| 671 | "y\0" |
| 672 | "z" |
| 673 | ; |
| 674 | |
| 675 | static const SkMemberInfo gUnknown5Info[] = { |
| 676 | {0, 0, 98, 1}, |
| 677 | {2, 4, 98, 1}, |
| 678 | {4, 8, 98, 1} |
| 679 | }; |
| 680 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 681 | static const char gPointStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 682 | "x\0" |
| 683 | "y" |
| 684 | ; |
| 685 | |
| 686 | static const SkMemberInfo gDrawPointInfo[] = { |
| 687 | {0, 4, 98, 1}, |
| 688 | {2, 8, 98, 1} |
| 689 | }; |
| 690 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 691 | static const char gPolyToPolyStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 692 | "destination\0" |
| 693 | "source" |
| 694 | ; |
| 695 | |
| 696 | static const SkMemberInfo gPolyToPolyInfo[] = { |
| 697 | {0, 12, 80, 1}, |
| 698 | {12, 8, 80, 1} |
| 699 | }; |
| 700 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 701 | static const char gPolygonStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 702 | "" |
| 703 | ; |
| 704 | |
| 705 | static const SkMemberInfo gPolygonInfo[] = { |
| 706 | {0, 47, 18, 1} |
| 707 | }; |
| 708 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 709 | static const char gPolylineStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 710 | "points" |
| 711 | ; |
| 712 | |
| 713 | static const SkMemberInfo gPolylineInfo[] = { |
| 714 | {0, 56, 119, 98} |
| 715 | }; |
| 716 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 717 | static const char gPostStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 718 | "delay\0" |
| 719 | "initialized\0" |
| 720 | "mode\0" |
| 721 | "sink\0" |
| 722 | "target\0" |
| 723 | "type" |
| 724 | ; |
| 725 | |
| 726 | static const SkMemberInfo gPostInfo[] = { |
| 727 | {0, 4, 71, 1}, |
| 728 | {6, 8, 26, 1}, |
| 729 | {18, 12, 45, 1}, |
| 730 | {23, -1, 67, 108}, |
| 731 | {28, -2, 67, 108}, |
| 732 | {35, -3, 67, 108} |
| 733 | }; |
| 734 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 735 | static const char gQuadToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 736 | "x1\0" |
| 737 | "x2\0" |
| 738 | "y1\0" |
| 739 | "y2" |
| 740 | ; |
| 741 | |
| 742 | static const SkMemberInfo gQuadToInfo[] = { |
| 743 | {0, 8, 98, 1}, |
| 744 | {3, 16, 98, 1}, |
| 745 | {6, 12, 98, 1}, |
| 746 | {9, 20, 98, 1} |
| 747 | }; |
| 748 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 749 | static const char gRCubicToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 750 | "" |
| 751 | ; |
| 752 | |
| 753 | static const SkMemberInfo gRCubicToInfo[] = { |
| 754 | {0, 18, 18, 6} |
| 755 | }; |
| 756 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 757 | static const char gRLineToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 758 | "" |
| 759 | ; |
| 760 | |
| 761 | static const SkMemberInfo gRLineToInfo[] = { |
| 762 | {0, 34, 18, 2} |
| 763 | }; |
| 764 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 765 | static const char gRMoveToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 766 | "" |
| 767 | ; |
| 768 | |
| 769 | static const SkMemberInfo gRMoveToInfo[] = { |
| 770 | {0, 38, 18, 2} |
| 771 | }; |
| 772 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 773 | static const char gRQuadToStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 774 | "" |
| 775 | ; |
| 776 | |
| 777 | static const SkMemberInfo gRQuadToInfo[] = { |
| 778 | {0, 49, 18, 4} |
| 779 | }; |
| 780 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 781 | static const char gRadialGradientStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 782 | "\0" |
| 783 | "center\0" |
| 784 | "radius" |
| 785 | ; |
| 786 | |
| 787 | static const SkMemberInfo gRadialGradientInfo[] = { |
| 788 | {0, 26, 18, 3}, |
| 789 | {1, 48, 77, 2}, |
| 790 | {8, 56, 98, 1} |
| 791 | }; |
| 792 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 793 | static const char gRandomStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 794 | "blend\0" |
| 795 | "max\0" |
| 796 | "min\0" |
| 797 | "random\0" |
| 798 | "seed" |
| 799 | ; |
| 800 | |
| 801 | static const SkMemberInfo gDisplayRandomInfo[] = { |
| 802 | {0, 4, 98, 1}, |
| 803 | {6, 12, 98, 1}, |
| 804 | {10, 8, 98, 1}, |
| 805 | {14, 1, 67, 98}, |
| 806 | {21, -2, 67, 96} |
| 807 | }; |
| 808 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 809 | static const char gRectToRectStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 810 | "destination\0" |
| 811 | "source" |
| 812 | ; |
| 813 | |
| 814 | static const SkMemberInfo gRectToRectInfo[] = { |
| 815 | {0, 12, 91, 1}, |
| 816 | {12, 8, 91, 1} |
| 817 | }; |
| 818 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 819 | static const char gRectangleStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 820 | "bottom\0" |
| 821 | "height\0" |
| 822 | "left\0" |
| 823 | "needsRedraw\0" |
| 824 | "right\0" |
| 825 | "top\0" |
| 826 | "width" |
| 827 | ; |
| 828 | |
| 829 | static const SkMemberInfo gRectangleInfo[] = { |
| 830 | {0, 24, 98, 1}, |
| 831 | {7, -1, 67, 98}, |
| 832 | {14, 12, 98, 1}, |
| 833 | {19, -2, 67, 26}, |
| 834 | {31, 20, 98, 1}, |
| 835 | {37, 16, 98, 1}, |
| 836 | {41, -3, 67, 98} |
| 837 | }; |
| 838 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 839 | static const char gRemoveStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 840 | "offset\0" |
| 841 | "where" |
| 842 | ; |
| 843 | |
| 844 | static const SkMemberInfo gRemoveInfo[] = { |
| 845 | {0, 8, 96, 1}, |
| 846 | {7, 16, 37, 1} |
| 847 | }; |
| 848 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 849 | static const char gReplaceStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 850 | "" |
| 851 | ; |
| 852 | |
| 853 | static const SkMemberInfo gReplaceInfo[] = { |
| 854 | {0, 1, 18, 4} |
| 855 | }; |
| 856 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 857 | static const char gRotateStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 858 | "center\0" |
| 859 | "degrees" |
| 860 | ; |
| 861 | |
| 862 | static const SkMemberInfo gRotateInfo[] = { |
| 863 | {0, 12, 77, 2}, |
| 864 | {7, 8, 98, 1} |
| 865 | }; |
| 866 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 867 | static const char gRoundRectStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 868 | "\0" |
| 869 | "rx\0" |
| 870 | "ry" |
| 871 | ; |
| 872 | |
| 873 | static const SkMemberInfo gRoundRectInfo[] = { |
| 874 | {0, 57, 18, 7}, |
| 875 | {1, 32, 98, 1}, |
| 876 | {4, 36, 98, 1} |
| 877 | }; |
| 878 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 879 | static const char gS32Strings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 880 | "value" |
| 881 | ; |
| 882 | |
| 883 | static const SkMemberInfo gS32Info[] = { |
| 884 | {0, 4, 96, 1} |
| 885 | }; |
| 886 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 887 | static const char gScalarStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 888 | "value" |
| 889 | ; |
| 890 | |
| 891 | static const SkMemberInfo gScalarInfo[] = { |
| 892 | {0, 4, 98, 1} |
| 893 | }; |
| 894 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 895 | static const char gScaleStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 896 | "center\0" |
| 897 | "x\0" |
| 898 | "y" |
| 899 | ; |
| 900 | |
| 901 | static const SkMemberInfo gScaleInfo[] = { |
| 902 | {0, 16, 77, 2}, |
| 903 | {7, 8, 98, 1}, |
| 904 | {9, 12, 98, 1} |
| 905 | }; |
| 906 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 907 | static const char gSetStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 908 | "begin\0" |
| 909 | "dur\0" |
| 910 | "dynamic\0" |
| 911 | "field\0" |
| 912 | "formula\0" |
| 913 | "reset\0" |
| 914 | "target\0" |
| 915 | "to" |
| 916 | ; |
| 917 | |
| 918 | static const SkMemberInfo gSetInfo[] = { |
| 919 | {0, 4, 71, 1}, |
| 920 | {6, 16, 71, 1}, |
| 921 | {10, -1, 67, 26}, |
| 922 | {18, 20, 108, 1}, |
| 923 | {24, 24, 40, 1}, |
| 924 | {32, -3, 67, 26}, |
| 925 | {38, 36, 40, 1}, |
| 926 | {45, 40, 40, 1} |
| 927 | }; |
| 928 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 929 | static const char gShaderStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 930 | "matrix\0" |
| 931 | "tileMode" |
| 932 | ; |
| 933 | |
| 934 | static const SkMemberInfo gShaderInfo[] = { |
| 935 | {0, 8, 65, 1}, |
| 936 | {7, 12, 116, 1} |
| 937 | }; |
| 938 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 939 | static const char gSkewStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 940 | "center\0" |
| 941 | "x\0" |
| 942 | "y" |
| 943 | ; |
| 944 | |
| 945 | static const SkMemberInfo gSkewInfo[] = { |
| 946 | {0, 16, 77, 2}, |
| 947 | {7, 8, 98, 1}, |
| 948 | {9, 12, 98, 1} |
| 949 | }; |
| 950 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 951 | static const char g3D_CameraStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 952 | "axis\0" |
| 953 | "hackHeight\0" |
| 954 | "hackWidth\0" |
| 955 | "location\0" |
| 956 | "observer\0" |
| 957 | "patch\0" |
| 958 | "zenith" |
| 959 | ; |
| 960 | |
| 961 | static const SkMemberInfo g3D_CameraInfo[] = { |
| 962 | {0, 24, 106, 3}, |
| 963 | {5, 8, 98, 1}, |
| 964 | {16, 4, 98, 1}, |
| 965 | {26, 12, 106, 3}, |
| 966 | {35, 48, 106, 3}, |
| 967 | {44, 96, 105, 1}, |
| 968 | {50, 36, 106, 3} |
| 969 | }; |
| 970 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 971 | static const char g3D_PatchStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 972 | "origin\0" |
| 973 | "rotateDegrees\0" |
| 974 | "u\0" |
| 975 | "v" |
| 976 | ; |
| 977 | |
| 978 | static const SkMemberInfo g3D_PatchInfo[] = { |
| 979 | {0, 28, 106, 3}, |
| 980 | {7, -1, 66, 98}, |
| 981 | {21, 4, 106, 3}, |
| 982 | {23, 16, 106, 3} |
| 983 | }; |
| 984 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 985 | static const char gUnknown6Strings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 986 | "x\0" |
| 987 | "y\0" |
| 988 | "z" |
| 989 | ; |
| 990 | |
| 991 | static const SkMemberInfo gUnknown6Info[] = { |
| 992 | {0, 0, 98, 1}, |
| 993 | {2, 4, 98, 1}, |
| 994 | {4, 8, 98, 1} |
| 995 | }; |
| 996 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 997 | static const char gSnapshotStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 998 | "filename\0" |
| 999 | "quality\0" |
| 1000 | "sequence\0" |
| 1001 | "type" |
| 1002 | ; |
| 1003 | |
| 1004 | static const SkMemberInfo gSnapshotInfo[] = { |
| 1005 | {0, 4, 108, 1}, |
| 1006 | {9, 8, 98, 1}, |
| 1007 | {17, 12, 26, 1}, |
| 1008 | {26, 16, 20, 1} |
| 1009 | }; |
| 1010 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1011 | static const char gStringStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1012 | "length\0" |
| 1013 | "slice\0" |
| 1014 | "value" |
| 1015 | ; |
| 1016 | |
| 1017 | static const SkMemberInfo gStringInfo[] = { |
| 1018 | {0, -1, 67, 96}, |
| 1019 | {7, -1, 66, 108}, |
| 1020 | {13, 4, 108, 1} |
| 1021 | }; |
| 1022 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1023 | static const char gTextStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1024 | "length\0" |
| 1025 | "text\0" |
| 1026 | "x\0" |
| 1027 | "y" |
| 1028 | ; |
| 1029 | |
| 1030 | static const SkMemberInfo gTextInfo[] = { |
| 1031 | {0, -1, 67, 96}, |
| 1032 | {7, 12, 108, 1}, |
| 1033 | {12, 16, 98, 1}, |
| 1034 | {14, 20, 98, 1} |
| 1035 | }; |
| 1036 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1037 | static const char gTextBoxStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1038 | "\0" |
| 1039 | "mode\0" |
| 1040 | "spacingAdd\0" |
| 1041 | "spacingAlign\0" |
| 1042 | "spacingMul\0" |
| 1043 | "text" |
| 1044 | ; |
| 1045 | |
| 1046 | static const SkMemberInfo gTextBoxInfo[] = { |
| 1047 | {0, 57, 18, 7}, |
| 1048 | {1, 44, 113, 1}, |
| 1049 | {6, 40, 98, 1}, |
| 1050 | {17, 48, 112, 1}, |
| 1051 | {30, 36, 98, 1}, |
| 1052 | {41, 32, 108, 1} |
| 1053 | }; |
| 1054 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1055 | static const char gTextOnPathStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1056 | "offset\0" |
| 1057 | "path\0" |
| 1058 | "text" |
| 1059 | ; |
| 1060 | |
| 1061 | static const SkMemberInfo gTextOnPathInfo[] = { |
| 1062 | {0, 12, 98, 1}, |
| 1063 | {7, 16, 74, 1}, |
| 1064 | {12, 20, 110, 1} |
| 1065 | }; |
| 1066 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1067 | static const char gTextToPathStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1068 | "path\0" |
| 1069 | "text" |
| 1070 | ; |
| 1071 | |
| 1072 | static const SkMemberInfo gTextToPathInfo[] = { |
| 1073 | {0, 4, 74, 1}, |
| 1074 | {5, 8, 110, 1} |
| 1075 | }; |
| 1076 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1077 | static const char gTranslateStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1078 | "x\0" |
| 1079 | "y" |
| 1080 | ; |
| 1081 | |
| 1082 | static const SkMemberInfo gTranslateInfo[] = { |
| 1083 | {0, 8, 98, 1}, |
| 1084 | {2, 12, 98, 1} |
| 1085 | }; |
| 1086 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1087 | static const char gTypedArrayStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1088 | "length\0" |
| 1089 | "values" |
| 1090 | ; |
| 1091 | |
| 1092 | static const SkMemberInfo gTypedArrayInfo[] = { |
| 1093 | {0, -1, 67, 96}, |
| 1094 | {7, 4, 119, 0} |
| 1095 | }; |
| 1096 | |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1097 | static const char gTypefaceStrings[] = |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1098 | "fontName" |
| 1099 | ; |
| 1100 | |
| 1101 | static const SkMemberInfo gTypefaceInfo[] = { |
| 1102 | {0, 8, 108, 1} |
| 1103 | }; |
| 1104 | |
| 1105 | static const SkMemberInfo* const gInfoTables[] = { |
| 1106 | gMathInfo, |
| 1107 | gAddInfo, |
| 1108 | gAddCircleInfo, |
| 1109 | gUnknown1Info, |
| 1110 | gAddOvalInfo, |
| 1111 | gAddPathInfo, |
| 1112 | gAddRectangleInfo, |
| 1113 | gAddRoundRectInfo, |
| 1114 | gUnknown2Info, |
| 1115 | gAnimateFieldInfo, |
| 1116 | gApplyInfo, |
| 1117 | gUnknown3Info, |
| 1118 | gDrawBitmapInfo, |
| 1119 | gDrawBitmapShaderInfo, |
| 1120 | gDrawBlurInfo, |
| 1121 | gDisplayBoundsInfo, |
| 1122 | gDrawClipInfo, |
| 1123 | gDrawColorInfo, |
| 1124 | gCubicToInfo, |
| 1125 | gDashInfo, |
| 1126 | gDataInfo, |
| 1127 | gDiscreteInfo, |
| 1128 | gDrawToInfo, |
| 1129 | gDrawEmbossInfo, |
| 1130 | gDisplayEventInfo, |
| 1131 | gFromPathInfo, |
| 1132 | gUnknown4Info, |
| 1133 | gGInfo, |
| 1134 | gHitClearInfo, |
| 1135 | gHitTestInfo, |
| 1136 | gImageInfo, |
| 1137 | gIncludeInfo, |
| 1138 | gInputInfo, |
| 1139 | gLineInfo, |
| 1140 | gLineToInfo, |
| 1141 | gLinearGradientInfo, |
| 1142 | gDrawMatrixInfo, |
| 1143 | gMoveInfo, |
| 1144 | gMoveToInfo, |
| 1145 | gMovieInfo, |
| 1146 | gOvalInfo, |
| 1147 | gDrawPaintInfo, |
| 1148 | gDrawPathInfo, |
| 1149 | gUnknown5Info, |
| 1150 | gDrawPointInfo, |
| 1151 | gPolyToPolyInfo, |
| 1152 | gPolygonInfo, |
| 1153 | gPolylineInfo, |
| 1154 | gPostInfo, |
| 1155 | gQuadToInfo, |
| 1156 | gRCubicToInfo, |
| 1157 | gRLineToInfo, |
| 1158 | gRMoveToInfo, |
| 1159 | gRQuadToInfo, |
| 1160 | gRadialGradientInfo, |
| 1161 | gDisplayRandomInfo, |
| 1162 | gRectToRectInfo, |
| 1163 | gRectangleInfo, |
| 1164 | gRemoveInfo, |
| 1165 | gReplaceInfo, |
| 1166 | gRotateInfo, |
| 1167 | gRoundRectInfo, |
| 1168 | gS32Info, |
| 1169 | gScalarInfo, |
| 1170 | gScaleInfo, |
| 1171 | gSetInfo, |
| 1172 | gShaderInfo, |
| 1173 | gSkewInfo, |
| 1174 | g3D_CameraInfo, |
| 1175 | g3D_PatchInfo, |
| 1176 | gUnknown6Info, |
| 1177 | gSnapshotInfo, |
| 1178 | gStringInfo, |
| 1179 | gTextInfo, |
| 1180 | gTextBoxInfo, |
| 1181 | gTextOnPathInfo, |
| 1182 | gTextToPathInfo, |
| 1183 | gTranslateInfo, |
| 1184 | gTypedArrayInfo, |
| 1185 | gTypefaceInfo, |
| 1186 | }; |
| 1187 | |
| 1188 | static const unsigned char gInfoCounts[] = { |
| 1189 | 26,4,4,1,1,2,5,3,13,1,13,2,6,3,2,2,2,8,6, |
| 1190 | 2,2,2,2,4,8,3,3,2,1,4,3,1,3,4,2,2,12,1,2, |
| 1191 | 1,1,25,3,3,2,2,1,1,6,4,1,1,1,1,3,5,2,7,2, |
| 1192 | 1,2,3,1,1,3,8,2,3,7,4,3,4,3,4,6,3,2,2,2, |
| 1193 | 1 |
| 1194 | }; |
| 1195 | |
| 1196 | static const unsigned char gTypeIDs[] = { |
| 1197 | 1, // Math |
| 1198 | 2, // Add |
| 1199 | 3, // AddCircle |
| 1200 | 4, // Unknown1 |
| 1201 | 5, // AddOval |
| 1202 | 6, // AddPath |
| 1203 | 7, // AddRectangle |
| 1204 | 8, // AddRoundRect |
| 1205 | 10, // Unknown2 |
| 1206 | 11, // AnimateField |
| 1207 | 12, // Apply |
| 1208 | 17, // Unknown3 |
| 1209 | 19, // Bitmap |
| 1210 | 22, // BitmapShader |
| 1211 | 23, // Blur |
| 1212 | 25, // Bounds |
| 1213 | 29, // Clip |
| 1214 | 31, // Color |
| 1215 | 32, // CubicTo |
| 1216 | 33, // Dash |
| 1217 | 34, // Data |
| 1218 | 35, // Discrete |
| 1219 | 38, // DrawTo |
| 1220 | 41, // Emboss |
| 1221 | 42, // Event |
| 1222 | 48, // FromPath |
| 1223 | 51, // Unknown4 |
| 1224 | 52, // G |
| 1225 | 53, // HitClear |
| 1226 | 54, // HitTest |
| 1227 | 55, // Image |
| 1228 | 56, // Include |
| 1229 | 57, // Input |
| 1230 | 59, // Line |
| 1231 | 60, // LineTo |
| 1232 | 61, // LinearGradient |
| 1233 | 65, // Matrix |
| 1234 | 68, // Move |
| 1235 | 69, // MoveTo |
| 1236 | 70, // Movie |
| 1237 | 72, // Oval |
| 1238 | 73, // Paint |
| 1239 | 74, // Path |
| 1240 | 77, // Unknown5 |
| 1241 | 78, // Point |
| 1242 | 79, // PolyToPoly |
| 1243 | 80, // Polygon |
| 1244 | 81, // Polyline |
| 1245 | 82, // Post |
| 1246 | 83, // QuadTo |
| 1247 | 84, // RCubicTo |
| 1248 | 85, // RLineTo |
| 1249 | 86, // RMoveTo |
| 1250 | 87, // RQuadTo |
| 1251 | 88, // RadialGradient |
| 1252 | 89, // Random |
| 1253 | 90, // RectToRect |
| 1254 | 91, // Rectangle |
| 1255 | 92, // Remove |
| 1256 | 93, // Replace |
| 1257 | 94, // Rotate |
| 1258 | 95, // RoundRect |
| 1259 | 96, // S32 |
| 1260 | 98, // Scalar |
| 1261 | 99, // Scale |
| 1262 | 101, // Set |
| 1263 | 102, // Shader |
| 1264 | 103, // Skew |
| 1265 | 104, // 3D_Camera |
| 1266 | 105, // 3D_Patch |
| 1267 | 106, // Unknown6 |
| 1268 | 107, // Snapshot |
| 1269 | 108, // String |
| 1270 | 110, // Text |
| 1271 | 111, // TextBox |
| 1272 | 114, // TextOnPath |
| 1273 | 115, // TextToPath |
| 1274 | 117, // Translate |
| 1275 | 119, // TypedArray |
| 1276 | 120, // Typeface |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 1277 | |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 1278 | }; |
| 1279 | |
| 1280 | static const int kTypeIDs = 80; |
| 1281 | |
| 1282 | static const char* const gInfoNames[] = { |
| 1283 | gMathStrings, |
| 1284 | gAddStrings, |
| 1285 | gAddCircleStrings, |
| 1286 | gUnknown1Strings, |
| 1287 | gAddOvalStrings, |
| 1288 | gAddPathStrings, |
| 1289 | gAddRectangleStrings, |
| 1290 | gAddRoundRectStrings, |
| 1291 | gUnknown2Strings, |
| 1292 | gAnimateFieldStrings, |
| 1293 | gApplyStrings, |
| 1294 | gUnknown3Strings, |
| 1295 | gBitmapStrings, |
| 1296 | gBitmapShaderStrings, |
| 1297 | gBlurStrings, |
| 1298 | gBoundsStrings, |
| 1299 | gClipStrings, |
| 1300 | gColorStrings, |
| 1301 | gCubicToStrings, |
| 1302 | gDashStrings, |
| 1303 | gDataStrings, |
| 1304 | gDiscreteStrings, |
| 1305 | gDrawToStrings, |
| 1306 | gEmbossStrings, |
| 1307 | gEventStrings, |
| 1308 | gFromPathStrings, |
| 1309 | gUnknown4Strings, |
| 1310 | gGStrings, |
| 1311 | gHitClearStrings, |
| 1312 | gHitTestStrings, |
| 1313 | gImageStrings, |
| 1314 | gIncludeStrings, |
| 1315 | gInputStrings, |
| 1316 | gLineStrings, |
| 1317 | gLineToStrings, |
| 1318 | gLinearGradientStrings, |
| 1319 | gMatrixStrings, |
| 1320 | gMoveStrings, |
| 1321 | gMoveToStrings, |
| 1322 | gMovieStrings, |
| 1323 | gOvalStrings, |
| 1324 | gPaintStrings, |
| 1325 | gPathStrings, |
| 1326 | gUnknown5Strings, |
| 1327 | gPointStrings, |
| 1328 | gPolyToPolyStrings, |
| 1329 | gPolygonStrings, |
| 1330 | gPolylineStrings, |
| 1331 | gPostStrings, |
| 1332 | gQuadToStrings, |
| 1333 | gRCubicToStrings, |
| 1334 | gRLineToStrings, |
| 1335 | gRMoveToStrings, |
| 1336 | gRQuadToStrings, |
| 1337 | gRadialGradientStrings, |
| 1338 | gRandomStrings, |
| 1339 | gRectToRectStrings, |
| 1340 | gRectangleStrings, |
| 1341 | gRemoveStrings, |
| 1342 | gReplaceStrings, |
| 1343 | gRotateStrings, |
| 1344 | gRoundRectStrings, |
| 1345 | gS32Strings, |
| 1346 | gScalarStrings, |
| 1347 | gScaleStrings, |
| 1348 | gSetStrings, |
| 1349 | gShaderStrings, |
| 1350 | gSkewStrings, |
| 1351 | g3D_CameraStrings, |
| 1352 | g3D_PatchStrings, |
| 1353 | gUnknown6Strings, |
| 1354 | gSnapshotStrings, |
| 1355 | gStringStrings, |
| 1356 | gTextStrings, |
| 1357 | gTextBoxStrings, |
| 1358 | gTextOnPathStrings, |
| 1359 | gTextToPathStrings, |
| 1360 | gTranslateStrings, |
| 1361 | gTypedArrayStrings, |
| 1362 | gTypefaceStrings |
| 1363 | }; |
| 1364 | #endif |
| 1365 | #endif |