Moved pixel render functions to C for parallel OpenCL development