Home
last modified time | relevance | path

Searched refs:transferOps (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dpack.h56 GLbitfield transferOps);
93 GLbitfield transferOps);
105 GLbitfield transferOps);
112 GLbitfield transferOps);
Dpixeltransfer.c164 _mesa_apply_rgba_transfer_ops(struct gl_context *ctx, GLbitfield transferOps, in _mesa_apply_rgba_transfer_ops() argument
168 if (transferOps & IMAGE_SCALE_BIAS_BIT) { in _mesa_apply_rgba_transfer_ops()
176 if (transferOps & IMAGE_MAP_COLOR_BIT) { in _mesa_apply_rgba_transfer_ops()
181 if (transferOps & IMAGE_CLAMP_BIT) { in _mesa_apply_rgba_transfer_ops()
229 GLbitfield transferOps, in _mesa_apply_ci_transfer_ops() argument
232 if (transferOps & IMAGE_SHIFT_OFFSET_BIT) { in _mesa_apply_ci_transfer_ops()
235 if (transferOps & IMAGE_MAP_COLOR_BIT) { in _mesa_apply_ci_transfer_ops()
Dreadpix.c89 GLbitfield transferOps = ctx->_ImageTransferState; in _mesa_get_readpixels_transfer_ops() local
112 transferOps |= IMAGE_CLAMP_BIT; in _mesa_get_readpixels_transfer_ops()
121 transferOps |= IMAGE_CLAMP_BIT; in _mesa_get_readpixels_transfer_ops()
128 transferOps &= ~IMAGE_CLAMP_BIT; in _mesa_get_readpixels_transfer_ops()
138 transferOps &= ~IMAGE_CLAMP_BIT; in _mesa_get_readpixels_transfer_ops()
141 return transferOps; in _mesa_get_readpixels_transfer_ops()
443 GLbitfield transferOps; in read_rgba_pixels() local
460 transferOps = _mesa_get_readpixels_transfer_ops(ctx, rb->Format, format, in read_rgba_pixels()
513 assert(!transferOps || (transferOps && !dst_is_integer)); in read_rgba_pixels()
515 needs_rgba = transferOps || convert_rgb_to_lum; in read_rgba_pixels()
[all …]
Dpixeltransfer.h60 _mesa_apply_rgba_transfer_ops(struct gl_context *ctx, GLbitfield transferOps,
69 GLbitfield transferOps,
Dpack.c489 GLbitfield transferOps ) in _mesa_unpack_stencil_span() argument
510 transferOps &= IMAGE_SHIFT_OFFSET_BIT; in _mesa_unpack_stencil_span()
515 if (transferOps == 0 && in _mesa_unpack_stencil_span()
521 else if (transferOps == 0 && in _mesa_unpack_stencil_span()
542 if (transferOps & IMAGE_SHIFT_OFFSET_BIT) { in _mesa_unpack_stencil_span()
1337 GLbitfield transferOps) in _mesa_pack_luminance_from_rgba_float() argument
1344 if (transferOps & IMAGE_CLAMP_BIT) { in _mesa_pack_luminance_from_rgba_float()
1356 if (transferOps & IMAGE_CLAMP_BIT) { in _mesa_pack_luminance_from_rgba_float()
1555 GLbitfield transferOps) in _mesa_unpack_color_index_to_rgba_float() argument
1586 if (transferOps & IMAGE_SHIFT_OFFSET_BIT) in _mesa_unpack_color_index_to_rgba_float()
[all …]
Dtexgetimage.c319 GLbitfield transferOps) in get_tex_rgba_compressed() argument
436 GLbitfield transferOps) in get_tex_rgba_uncompressed() argument
462 assert(!transferOps || (transferOps && !dst_is_integer)); in get_tex_rgba_uncompressed()
489 if (transferOps) { in get_tex_rgba_uncompressed()
523 _mesa_apply_rgba_transfer_ops(ctx, transferOps, width * height, rgba); in get_tex_rgba_uncompressed()
578 GLbitfield transferOps = 0x0; in get_tex_rgba() local
590 transferOps |= IMAGE_CLAMP_BIT; in get_tex_rgba()
599 pixels, texImage, transferOps); in get_tex_rgba()
606 pixels, texImage, transferOps); in get_tex_rgba()
/third_party/mesa3d/src/mesa/swrast/
Ds_drawpix.c427 GLbitfield transferOps = ctx->_ImageTransferState; in draw_rgba_pixels() local
449 transferOps |= IMAGE_CLAMP_BIT; in draw_rgba_pixels()
476 transferOps); in draw_rgba_pixels()
482 transferOps = 0; in draw_rgba_pixels()
526 if (transferOps) in draw_rgba_pixels()
527 _mesa_apply_rgba_transfer_ops(ctx, transferOps, spanWidth, (GLfloat (*)[4])rgba); in draw_rgba_pixels()
Ds_copypix.c95 GLuint transferOps = ctx->_ImageTransferState; in copy_rgba_pixels() local
167 if (transferOps) { in copy_rgba_pixels()
168 _mesa_apply_rgba_transfer_ops(ctx, transferOps, width, in copy_rgba_pixels()