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