1. A computer-implemented method that causes at least one computing device to perform a bit block transfer (bitblt), the method comprising: generating a bitblt signature, based on one or more received graphics parameters specifying a bitblt, wherein the bitblt signature uniquely identifies a bitblt operation to perform; determining if a machine-specific language specialized bitblt function exists in cache that corresponds to a desired bitblt function by searching the cache for the bitblt signature; generating, if no machine-specific language specialized bitblt function exists, a specialized bitblt function based on the received one or more graphics parameters to perform the bitblt, the specialized bitblt function comprising intermediate language code comprising a set of one or more code blocks from a superset of code blocks corresponding to multiple bitblt operations; translating the intermediate language code into machine-specific language code, wherein the intermediate code includes registers, and wherein the registers are loaded with data from the bitblt signature; caching the machine-specific language code; determining if the machine-specific language code should be optimized, wherein the determining is based on whether the specialized bitblt function has been executed a specified number of times; and executing the cached machine-specific language code.