Use the CGLayer