Lines Matching defs:source
150 _mesa_pack_bitmap( GLint width, GLint height, const GLubyte *source,
156 if (!source)
160 src = source;
479 * srcType - source pixel type
480 * source - source data pointer
487 GLenum srcType, const GLvoid *source,
519 memcpy(dest, source, n * sizeof(GLubyte));
526 memcpy(dest, source, n * sizeof(GLuint));
539 extract_uint_indexes(n, indexes, GL_STENCIL_INDEX, srcType, source,
599 GLenum dstType, GLvoid *dest, const GLubyte *source,
612 memcpy(stencil, source, n * sizeof(GLubyte));
614 source = stencil;
619 memcpy(dest, source, n);
626 dst[i] = (GLbyte) (source[i] & 0x7f);
635 dst[i] = (GLushort) source[i];
647 dst[i] = (GLshort) source[i];
659 dst[i] = (GLuint) source[i];
671 dst[i] = (GLint) source[i];
683 dst[i] = (GLfloat) source[i];
696 dst[i] = _mesa_float_to_half( (float) source[i] );
711 *dst |= ((source[i] != 0) << shift);
726 *dst |= ((source[i] != 0) << shift);
745 const GLTYPE *src = (const GLTYPE *)source; \
772 GLenum srcType, const GLvoid *source,
786 const GLuint *src = (const GLuint *) source;
797 const GLushort *src = (const GLushort *) source;
808 const GLuint *src = (const GLuint *) source;
864 const GLuint *src = (const GLuint *) source;
878 const GLuint *src = (const GLuint *) source;
893 const GLfloat *src = (const GLfloat *)source;
912 const GLhalfARB *src = (const GLhalfARB *) source;
1706 * \param format the source data format
1770 * \param format the source data format