Lines Matching refs:hdr
42 __GLXdispatchConvolutionFilterHeader *hdr =
50 __GLX_SWAP_INT((GLbyte *) &hdr->rowLength);
51 __GLX_SWAP_INT((GLbyte *) &hdr->skipRows);
52 __GLX_SWAP_INT((GLbyte *) &hdr->skipPixels);
53 __GLX_SWAP_INT((GLbyte *) &hdr->alignment);
55 __GLX_SWAP_INT((GLbyte *) &hdr->target);
56 __GLX_SWAP_INT((GLbyte *) &hdr->internalformat);
57 __GLX_SWAP_INT((GLbyte *) &hdr->width);
58 __GLX_SWAP_INT((GLbyte *) &hdr->height);
59 __GLX_SWAP_INT((GLbyte *) &hdr->format);
60 __GLX_SWAP_INT((GLbyte *) &hdr->type);
66 glPixelStorei(GL_UNPACK_SWAP_BYTES, !hdr->swapBytes);
67 glPixelStorei(GL_UNPACK_LSB_FIRST, hdr->lsbFirst);
68 glPixelStorei(GL_UNPACK_ROW_LENGTH, hdr->rowLength);
69 glPixelStorei(GL_UNPACK_SKIP_ROWS, hdr->skipRows);
70 glPixelStorei(GL_UNPACK_SKIP_PIXELS, hdr->skipPixels);
71 glPixelStorei(GL_UNPACK_ALIGNMENT, hdr->alignment);
76 image1len = __glXImageSize(hdr->format, hdr->type, 0, hdr->width, 1, 1,
77 0, hdr->rowLength, 0, hdr->skipRows,
78 hdr->alignment);
81 glSeparableFilter2D(hdr->target, hdr->internalformat, hdr->width,
82 hdr->height, hdr->format, hdr->type,
83 ((GLubyte *) hdr + hdrlen),
84 ((GLubyte *) hdr + hdrlen + image1len));