38.6.14.4.2 Destination Color Keying
If the iterated masked color matches the color key then the overlay color is selected, Destination Color Keying is activated using the following configuration sequence:
- Select the overlay to blit.
- Write a one to DSTKEY.
- Activate Color Keying by writing a one to CRKEY bit
- Configure the Color Key by writing RKEY, GKEY and BKEY fields.
- 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.