Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dpack.h54 GLbitfield transferOps);
91 GLbitfield transferOps);
103 GLbitfield transferOps);
110 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.c88 GLbitfield transferOps = ctx->_ImageTransferState; in _mesa_get_readpixels_transfer_ops() local
110 transferOps |= IMAGE_CLAMP_BIT; in _mesa_get_readpixels_transfer_ops()
118 transferOps |= IMAGE_CLAMP_BIT; in _mesa_get_readpixels_transfer_ops()
128 transferOps &= ~IMAGE_CLAMP_BIT; in _mesa_get_readpixels_transfer_ops()
131 return transferOps; in _mesa_get_readpixels_transfer_ops()
433 GLbitfield transferOps; in read_rgba_pixels() local
450 transferOps = _mesa_get_readpixels_transfer_ops(ctx, rb->Format, format, in read_rgba_pixels()
503 assert(!transferOps || (transferOps && !dst_is_integer)); in read_rgba_pixels()
505 needs_rgba = transferOps || convert_rgb_to_lum; in read_rgba_pixels()
551 if (transferOps) in read_rgba_pixels()
[all …]
Dpixeltransfer.h58 _mesa_apply_rgba_transfer_ops(struct gl_context *ctx, GLbitfield transferOps,
67 GLbitfield transferOps,
Dpack.c487 GLbitfield transferOps ) in _mesa_unpack_stencil_span() argument
508 transferOps &= IMAGE_SHIFT_OFFSET_BIT; in _mesa_unpack_stencil_span()
513 if (transferOps == 0 && in _mesa_unpack_stencil_span()
519 else if (transferOps == 0 && in _mesa_unpack_stencil_span()
540 if (transferOps & IMAGE_SHIFT_OFFSET_BIT) { in _mesa_unpack_stencil_span()
1335 GLbitfield transferOps) in _mesa_pack_luminance_from_rgba_float() argument
1342 if (transferOps & IMAGE_CLAMP_BIT) { in _mesa_pack_luminance_from_rgba_float()
1354 if (transferOps & IMAGE_CLAMP_BIT) { in _mesa_pack_luminance_from_rgba_float()
1553 GLbitfield transferOps) in _mesa_unpack_color_index_to_rgba_float() argument
1584 if (transferOps & IMAGE_SHIFT_OFFSET_BIT) in _mesa_unpack_color_index_to_rgba_float()
[all …]
Dtexgetimage.c312 GLbitfield transferOps) in get_tex_rgba_compressed() argument
429 GLbitfield transferOps) in get_tex_rgba_uncompressed() argument
455 assert(!transferOps || (transferOps && !dst_is_integer)); in get_tex_rgba_uncompressed()
482 if (transferOps) { in get_tex_rgba_uncompressed()
516 _mesa_apply_rgba_transfer_ops(ctx, transferOps, width * height, rgba); in get_tex_rgba_uncompressed()
571 GLbitfield transferOps = 0x0; in get_tex_rgba() local
583 transferOps |= IMAGE_CLAMP_BIT; in get_tex_rgba()
592 pixels, texImage, transferOps); in get_tex_rgba()
599 pixels, texImage, transferOps); in get_tex_rgba()
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c419 GLbitfield transferOps = ctx->_ImageTransferState; in draw_rgba_pixels() local
441 transferOps |= IMAGE_CLAMP_BIT; in draw_rgba_pixels()
468 transferOps); in draw_rgba_pixels()
474 transferOps = 0; in draw_rgba_pixels()
518 if (transferOps) in draw_rgba_pixels()
519 _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()