Home | History | Annotate | Download | only in libGLESv2

Lines Matching defs:source

3 // Use of this source code is governed by a BSD-style license that can be
2144 unsigned char *source = (unsigned char*)lock.pBits;
2157 // an RGBA source buffer. Note that buffers with no
2160 source + j * lock.Pitch,
2176 unsigned short rgb = *(unsigned short*)(source + 2 * i + j * lock.Pitch);
2186 unsigned short argb = *(unsigned short*)(source + 2 * i + j * lock.Pitch);
2196 unsigned int argb = *(unsigned int*)(source + 4 * i + j * lock.Pitch);
2206 unsigned int xrgb = *(unsigned int*)(source + 4 * i + j * lock.Pitch);
2216 unsigned int argb = *(unsigned int*)(source + 4 * i + j * lock.Pitch);
2227 r = *((float*)(source + 16 * i + j * lock.Pitch) + 0);
2228 g = *((float*)(source + 16 * i + j * lock.Pitch) + 1);
2229 b = *((float*)(source + 16 * i + j * lock.Pitch) + 2);
2230 a = *((float*)(source + 16 * i + j * lock.Pitch) + 3);
2238 D3DXFloat16To32Array(abgr, (D3DXFLOAT16*)(source + 8 * i + j * lock.Pitch), 4);
3376 // The source & destination rectangles also may need to be trimmed if they fall out of the bounds of