Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | test output in Xorg rgb.txt format |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | rfe-3503317 |
Files: | files | file ages | folders |
SHA1: |
588cd4452a5693295b9d143d7b9eaf6f |
User & Date: | jan.nijtmans 2012-03-18 16:45:53 |
Context
2012-03-18
| ||
21:00 | rfe-3503317: XParseColor speedup check-in: 26bdfc04 user: jan.nijtmans tags: core-8-4-branch | |
16:45 | test output in Xorg rgb.txt format Closed-Leaf check-in: 588cd445 user: jan.nijtmans tags: rfe-3503317 | |
2012-03-17
| ||
00:33 | elimination of gray table by using calculations in stead check-in: 4ecc5287 user: jan.nijtmans tags: rfe-3503317 | |
Changes
Changes to xlib/xcolors.c.
︙ | ︙ | |||
414 415 416 417 418 419 420 | ++charindex; ++(buf[0]); } strcpy(buf + 1, xColors[i]); end = buf + strlen(buf); num = 0; result = XParseColor(0, 0, buf, &color); | | | | 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 | ++charindex; ++(buf[0]); } strcpy(buf + 1, xColors[i]); end = buf + strlen(buf); num = 0; result = XParseColor(0, 0, buf, &color); printf("%3d %3d %3d\t\t%s\n", color.red >> 8, color.green >> 8, color.blue >> 8, buf); maxnum = xColors[i][31]; if (maxnum == 8) maxnum = 100; while (result && ++num <= maxnum) { sprintf(end, "%d", num); result = XParseColor(0, 0, buf, &color); printf("%3d %3d %3d\t\t%s\n", color.red >> 8, color.green >> 8, color.blue >> 8, buf); } if (!result) { break; } } } if (!result) { |
︙ | ︙ |