Lines Matching defs:red
198 // Allocates red, green and blue value arrays of the specified size
202 ramp->red = _glfw_calloc(size, sizeof(unsigned short));
208 // Frees the red, green and blue value arrays and clears the struct
212 _glfw_free(ramp->red);
278 // Splits a color depth into red, green and blue bit depths
280 void _glfwSplitBPP(int bpp, int* red, int* green, int* blue)
288 // Convert "bits per pixel" to red, green & blue sizes
290 *red = *green = *blue = bpp / 3;
291 delta = bpp - (*red * 3);
296 *red = *red + 1;
503 ramp.red = values;
530 assert(ramp->red != NULL);