• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:GLubyte

74 flip_bytes( GLubyte *p, GLuint n )  in flip_bytes()
87 p[i] = (GLubyte) a; in flip_bytes()
98 _mesa_unpack_polygon_stipple( const GLubyte *pattern, GLuint dest[32], in _mesa_unpack_polygon_stipple()
101 GLubyte *ptrn = (GLubyte *) _mesa_unpack_image(2, 32, 32, 1, GL_COLOR_INDEX, in _mesa_unpack_polygon_stipple()
107 GLubyte *p = ptrn; in _mesa_unpack_polygon_stipple()
126 _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest, in _mesa_pack_polygon_stipple()
132 GLubyte ptrn[32*4]; in _mesa_pack_polygon_stipple()
135 ptrn[i * 4 + 0] = (GLubyte) ((pattern[i] >> 24) & 0xff); in _mesa_pack_polygon_stipple()
136 ptrn[i * 4 + 1] = (GLubyte) ((pattern[i] >> 16) & 0xff); in _mesa_pack_polygon_stipple()
137 ptrn[i * 4 + 2] = (GLubyte) ((pattern[i] >> 8 ) & 0xff); in _mesa_pack_polygon_stipple()
138 ptrn[i * 4 + 3] = (GLubyte) ((pattern[i] ) & 0xff); in _mesa_pack_polygon_stipple()
149 _mesa_pack_bitmap( GLint width, GLint height, const GLubyte *source, in _mesa_pack_bitmap()
150 GLubyte *dest, const struct gl_pixelstore_attrib *packing ) in _mesa_pack_bitmap()
153 const GLubyte *src; in _mesa_pack_bitmap()
161 GLubyte *dst = (GLubyte *) _mesa_image_address2d(packing, dest, in _mesa_pack_bitmap()
176 GLubyte srcMask = 128; in _mesa_pack_bitmap()
177 GLubyte dstMask = 1 << (packing->SkipPixels & 0x7); in _mesa_pack_bitmap()
178 const GLubyte *s = src; in _mesa_pack_bitmap()
179 GLubyte *d = dst; in _mesa_pack_bitmap()
203 GLubyte srcMask = 128; in _mesa_pack_bitmap()
204 GLubyte dstMask = 128 >> (packing->SkipPixels & 0x7); in _mesa_pack_bitmap()
205 const GLubyte *s = src; in _mesa_pack_bitmap()
206 GLubyte *d = dst; in _mesa_pack_bitmap()
237 GLubyte *bytes = (GLubyte *) &(VALUE); \
238 GLubyte tmp = bytes[0]; \
245 GLubyte *bytes = (GLubyte *) &(VALUE); \
246 GLubyte tmp = bytes[0]; \
278 GLubyte *ubsrc = (GLubyte *) src; in extract_uint_indexes()
280 GLubyte mask = 1 << (unpack->SkipPixels & 0x7); in extract_uint_indexes()
294 GLubyte mask = 128 >> (unpack->SkipPixels & 0x7); in extract_uint_indexes()
312 const GLubyte *s = (const GLubyte *) src; in extract_uint_indexes()
518 memcpy(dest, source, n * sizeof(GLubyte)); in _mesa_unpack_stencil_span()
559 GLubyte *dst = (GLubyte *) dest; in _mesa_unpack_stencil_span()
562 dst[i] = (GLubyte) (indexes[i] & 0xff); in _mesa_unpack_stencil_span()
598 GLenum dstType, GLvoid *dest, const GLubyte *source, in _mesa_pack_stencil_span()
601 GLubyte *stencil = malloc(n * sizeof(GLubyte)); in _mesa_pack_stencil_span()
611 memcpy(stencil, source, n * sizeof(GLubyte)); in _mesa_pack_stencil_span()
704 GLubyte *dst = (GLubyte *) dest; in _mesa_pack_stencil_span()
719 GLubyte *dst = (GLubyte *) dest; in _mesa_pack_stencil_span()
842 DEPTH_VALUES(GLubyte, UBYTE_TO_FLOAT); in _mesa_unpack_depth_span()
1021 GLubyte *dst = (GLubyte *) dest; in _mesa_pack_depth_span()
1141 const GLubyte *stencilVals, in _mesa_pack_depth_stencil_span()
1145 GLubyte *stencilCopy = malloc(n * sizeof(GLubyte)); in _mesa_pack_depth_stencil_span()
1164 memcpy(stencilCopy, stencilVals, n * sizeof(GLubyte)); in _mesa_pack_depth_stencil_span()
1241 GLubyte *destBuffer in _mesa_unpack_image()
1243 GLubyte *dst; in _mesa_unpack_image()
1258 GLubyte srcMask = 1 << (unpack->SkipPixels & 0x7); in _mesa_unpack_image()
1259 GLubyte dstMask = 128; in _mesa_unpack_image()
1260 const GLubyte *s = src; in _mesa_unpack_image()
1261 GLubyte *d = dst; in _mesa_unpack_image()
1285 GLubyte srcMask = 128 >> (unpack->SkipPixels & 0x7); in _mesa_unpack_image()
1286 GLubyte dstMask = 128; in _mesa_unpack_image()
1287 const GLubyte *s = src; in _mesa_unpack_image()
1288 GLubyte *d = dst; in _mesa_unpack_image()
1318 flip_bytes((GLubyte *) dst, bytesPerRow); in _mesa_unpack_image()
1577 const GLubyte *srcPtr = in _mesa_unpack_color_index_to_rgba_float()
1578 (const GLubyte *) _mesa_image_address(dims, srcPacking, src, in _mesa_unpack_color_index_to_rgba_float()
1604 GLubyte *
1612 GLubyte *dst; in _mesa_unpack_color_index_to_rgba_ubyte()
1622 dst = malloc(count * 4 * sizeof(GLubyte)); in _mesa_unpack_color_index_to_rgba_ubyte()