Lines Matching defs:pixels

21  * excess row length, no pixels skipped, no rows, skipped, and a byte
56 int crdlm_pointers_DrawPixels( struct instanceDrawPixels *instance, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels, CRClientState *c )
62 instance->pixels, format, type, NULL,
63 pixels, format, type, &c->unpack);
379 int crdlm_pointers_TexImage1D( struct instanceTexImage1D *instance, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels, CRClientState *c )
384 crPixelCopy1D(instance->pixels, format, type,
385 pixels, format, type, width, &c->unpack);
401 int crdlm_pointers_TexImage2D( struct instanceTexImage2D *instance, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels, CRClientState *c )
407 instance->pixels, format, type, NULL,
408 pixels, format, type, &c->unpack);
424 int crdlm_pointers_TexImage3D( struct instanceTexImage3D *instance, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels, CRClientState *c )
429 if (pixels == NULL) {
433 size = crStrlen(pixels) + 1 + (type==GL_TRUE?width*height*3:0);
441 crMemcpy(instance->pixels, pixels, size);
445 instance->pixels, format, type, NULL,
446 pixels, format, type, &c->unpack);
452 int crdlm_pointers_TexImage3DEXT( struct instanceTexImage3DEXT *instance, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels, CRClientState *c )
457 if (pixels == NULL) {
461 size = crStrlen(pixels) + 1 + (type==GL_TRUE?width*height*3:0);
469 crMemcpy(instance->pixels, pixels, size);
473 instance->pixels, format, type, NULL,
474 pixels, format, type, &c->unpack);
504 int crdlm_pointers_TexSubImage1D( struct instanceTexSubImage1D *instance, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels, CRClientState *c )
509 crPixelCopy1D(instance->pixels, format, type,
510 pixels, format, type, width, &c->unpack);
515 int crdlm_pointers_TexSubImage2D( struct instanceTexSubImage2D *instance, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels, CRClientState *c )
521 instance->pixels, format, type, NULL,
522 pixels, format, type, &c->unpack);
527 int crdlm_pointers_TexSubImage3D( struct instanceTexSubImage3D *instance, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, CRClientState *c )
532 if (pixels == NULL) {
536 size = crStrlen(pixels) + 1 + (type==GL_TRUE?width*height*3:0);
544 crMemcpy(instance->pixels, pixels, size);
548 instance->pixels, format, type, NULL,
549 pixels, format, type, &c->unpack);
872 const GLvoid *pixels, CRClientState *c)
876 crMemcpy(instance->pixels,pixels,length);