/external/mesa3d/src/gallium/tests/unit/ |
D | u_format_compatible_test.c | 39 enum pipe_format dst_format; in test_all() local 48 for (dst_format = 1; dst_format < PIPE_FORMAT_COUNT; ++dst_format) { in test_all() 50 dst_format_desc = util_format_description(dst_format); in test_all() 55 if (dst_format == src_format) { in test_all()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_pixel_read.c | 97 const gl_format dst_format = gl_format_and_type_to_mesa_format(format, type); in do_blit_readpixels() local 108 if (dst_format == MESA_FORMAT_NONE || in do_blit_readpixels() 109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels() 132 …aligned_rowstride = get_texture_image_row_stride(radeon, dst_format, dst_rowstride, 0, GL_TEXTURE_… in do_blit_readpixels() 133 dst_rowstride *= _mesa_get_format_bytes(dst_format); in do_blit_readpixels() 136 dst_imagesize = get_texture_image_size(dst_format, in do_blit_readpixels() 169 dst_format, in do_blit_readpixels() 170 aligned_rowstride / _mesa_get_format_bytes(dst_format), in do_blit_readpixels()
|
D | r200_blit.c | 306 uint32_t dst_format = 0; in emit_cb_setup() local 315 dst_format = RADEON_COLOR_FORMAT_ARGB8888; in emit_cb_setup() 318 dst_format = RADEON_COLOR_FORMAT_RGB565; in emit_cb_setup() 321 dst_format = RADEON_COLOR_FORMAT_ARGB4444; in emit_cb_setup() 324 dst_format = RADEON_COLOR_FORMAT_ARGB1555; in emit_cb_setup() 329 dst_format = RADEON_COLOR_FORMAT_RGB8; in emit_cb_setup() 348 OUT_BATCH_REGVAL(RADEON_RB3D_CNTL, dst_format); in emit_cb_setup()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_pixel_read.c | 97 const gl_format dst_format = gl_format_and_type_to_mesa_format(format, type); in do_blit_readpixels() local 108 if (dst_format == MESA_FORMAT_NONE || in do_blit_readpixels() 109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels() 132 …aligned_rowstride = get_texture_image_row_stride(radeon, dst_format, dst_rowstride, 0, GL_TEXTURE_… in do_blit_readpixels() 133 dst_rowstride *= _mesa_get_format_bytes(dst_format); in do_blit_readpixels() 136 dst_imagesize = get_texture_image_size(dst_format, in do_blit_readpixels() 169 dst_format, in do_blit_readpixels() 170 aligned_rowstride / _mesa_get_format_bytes(dst_format), in do_blit_readpixels()
|
D | radeon_blit.c | 184 uint32_t dst_format = 0; in emit_cb_setup() local 191 dst_format = RADEON_COLOR_FORMAT_ARGB8888; in emit_cb_setup() 194 dst_format = RADEON_COLOR_FORMAT_RGB565; in emit_cb_setup() 197 dst_format = RADEON_COLOR_FORMAT_ARGB4444; in emit_cb_setup() 200 dst_format = RADEON_COLOR_FORMAT_ARGB1555; in emit_cb_setup() 205 dst_format = RADEON_COLOR_FORMAT_RGB8; in emit_cb_setup() 223 OUT_BATCH_REGVAL(RADEON_RB3D_CNTL, dst_format); in emit_cb_setup()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_surface.c | 158 enum pipe_format src_format, dst_format; in util_resource_copy_region() local 170 dst_format = dst->format; in util_resource_copy_region() 186 assert(util_format_get_blocksize(dst_format) == util_format_get_blocksize(src_format)); in util_resource_copy_region() 187 assert(util_format_get_blockwidth(dst_format) == util_format_get_blockwidth(src_format)); in util_resource_copy_region() 188 assert(util_format_get_blockheight(dst_format) == util_format_get_blockheight(src_format)); in util_resource_copy_region() 201 dst_format, in util_resource_copy_region()
|
D | u_blit.c | 400 enum pipe_format dst_format) in formats_compatible() argument 402 if (src_format == dst_format) { in formats_compatible() 409 util_format_description(dst_format); in formats_compatible() 439 enum pipe_format src_format, dst_format; in util_blit_pixels() local 467 dst_format = util_format_linear(dst->texture->format); in util_blit_pixels() 484 if (formats_compatible(src_format, dst_format) && in util_blit_pixels() 527 if (dst_format == dst->format) { in util_blit_pixels() 531 templ.format = dst_format; in util_blit_pixels() 649 assert(screen->is_format_supported(screen, dst_format, ctx->internal_target, in util_blit_pixels()
|
D | u_format.c | 532 util_format_translate(enum pipe_format dst_format, in util_format_translate() argument 548 dst_format_desc = util_format_description(dst_format); in util_format_translate() 556 util_copy_rect(dst, dst_format, dst_stride, dst_x, dst_y, in util_format_translate()
|
D | u_format_s3tc.h | 54 enum util_format_dxtn dst_format,
|
D | u_format.h | 1004 util_format_translate(enum pipe_format dst_format,
|
D | u_format_s3tc.c | 84 enum util_format_dxtn dst_format, in util_format_dxtn_pack_stub() argument
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_convert.cpp | 642 FX_BOOL _ConvertBuffer_1bppMask2Rgb(FXDIB_Format dst_format, in _ConvertBuffer_1bppMask2Rgb() argument 650 int comps = (dst_format & 0xff) / 8; in _ConvertBuffer_1bppMask2Rgb() 672 FX_BOOL _ConvertBuffer_8bppMask2Rgb(FXDIB_Format dst_format, in _ConvertBuffer_8bppMask2Rgb() argument 680 int comps = (dst_format & 0xff) / 8; in _ConvertBuffer_8bppMask2Rgb() 695 FX_BOOL _ConvertBuffer_1bppPlt2Rgb(FXDIB_Format dst_format, in _ConvertBuffer_1bppPlt2Rgb() argument 704 int comps = (dst_format & 0xff) / 8; in _ConvertBuffer_1bppPlt2Rgb() 754 FX_BOOL _ConvertBuffer_8bppPlt2Rgb(FXDIB_Format dst_format, in _ConvertBuffer_8bppPlt2Rgb() argument 763 int comps = (dst_format & 0xff) / 8; in _ConvertBuffer_8bppPlt2Rgb()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_blorp_blit.cpp | 184 gl_format dst_format = find_miptree(buffer_bit, dst_irb)->format; in formats_match() local 187 _mesa_get_srgb_format_linear(dst_format); in formats_match()
|