This test draws a set of gradients (or a color palette in 8-bit mode), then draws another set of gradients or a color palette on top, while cycling the color key on the second set. You should see only that color change as it cycles. This uses the _DDBLT_KEYSRCOVERRIDE flag to set the color key.