38.6.14.4.1 Source Color Keying

If the masked overlay color matches the color key, the iterated color is selected and Source Color Keying is activated using the following configuration sequence:

  1. Select the overlay to blit.
  2. Write a zero to DSTKEY.
  3. Activate Color Keying by writing a one to CRKEY.
  4. Configure the Color Key by writing RKEY, GKEY and BKEY fields.
  5. Configure the Color Mask by writing RKEY, GKEY and BKEY fields.

When the field RMASK, GMASK, or BMASK is configured to zero, the comparison is disabled and the raster operation is activated.