Lines Matching defs:source
2205 unsigned char *source = (unsigned char*)renderTarget->lock(rect.x0, rect.y0, sw::LOCK_READONLY);
2215 // Fast path for EXT_read_format_bgra, given an RGBA source buffer
2217 memcpy(dest + j * outputPitch, source + j * inputPitch, (rect.x1 - rect.x0) * 4);
2232 unsigned short rgb = *(unsigned short*)(source + 2 * i + j * inputPitch);
2242 unsigned short argb = *(unsigned short*)(source + 2 * i + j * inputPitch);
2252 unsigned int argb = *(unsigned int*)(source + 4 * i + j * inputPitch);
2262 unsigned int xrgb = *(unsigned int*)(source + 4 * i + j * inputPitch);
2272 unsigned int argb = *(unsigned int*)(source + 4 * i + j * inputPitch);
2282 r = *((float*)(source + 16 * i + j * inputPitch) + 0);
2283 g = *((float*)(source + 16 * i + j * inputPitch) + 1);
2284 b = *((float*)(source + 16 * i + j * inputPitch) + 2);
2285 a = *((float*)(source + 16 * i + j * inputPitch) + 3);
2290 r = (float)*((sw::half*)(source + 8 * i + j * inputPitch) + 0);
2291 g = (float)*((sw::half*)(source + 8 * i + j * inputPitch) + 1);
2292 b = (float)*((sw::half*)(source + 8 * i + j * inputPitch) + 2);
2293 a = (float)*((sw::half*)(source + 8 * i + j * inputPitch) + 3);
2856 // The source & destination rectangles also may need to be trimmed if they fall out of the bounds of