• Home
  • Raw
  • Download

Lines Matching refs:Pack

102             void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels,  in get_tex_depth()
107 _mesa_pack_depth_span(ctx, width, dest, type, depthRow, &ctx->Pack); in get_tex_depth()
148 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_depth_stencil()
164 if (ctx->Pack.SwapBytes) { in get_tex_depth_stencil()
205 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_stencil()
248 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_ycbcr()
258 if (!ctx->Pack.SwapBytes) in get_tex_ycbcr()
261 else if (ctx->Pack.SwapBytes) { in get_tex_ycbcr()
367 dstStride = _mesa_image_row_stride(&ctx->Pack, width, format, type); in get_tex_rgba_compressed()
371 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_rgba_compressed()
380 if (ctx->Pack.SwapBytes) { in get_tex_rgba_compressed()
381 _mesa_swap_bytes_2d_image(format, type, &ctx->Pack, in get_tex_rgba_compressed()
455 dst_stride = _mesa_image_row_stride(&ctx->Pack, width, format, type); in get_tex_rgba_uncompressed()
485 dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_rgba_uncompressed()
553 if (ctx->Pack.SwapBytes) in get_tex_rgba_uncompressed()
554 _mesa_swap_bytes_2d_image(format, type, &ctx->Pack, in get_tex_rgba_uncompressed()
638 ctx->Pack.SwapBytes, NULL); in get_tex_memcpy()
650 _mesa_image_address2d(&ctx->Pack, pixels, width, height, in get_tex_memcpy()
653 _mesa_image_row_stride(&ctx->Pack, width, format, type); in get_tex_memcpy()
704 if (ctx->Pack.BufferObj) { in _mesa_GetTexSubImage_sw()
712 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, in _mesa_GetTexSubImage_sw()
713 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj, in _mesa_GetTexSubImage_sw()
763 if (ctx->Pack.BufferObj) { in _mesa_GetTexSubImage_sw()
764 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj, MAP_INTERNAL); in _mesa_GetTexSubImage_sw()
789 &ctx->Pack, &store); in get_compressed_texsubimage_sw()
791 if (ctx->Pack.BufferObj) { in get_compressed_texsubimage_sw()
794 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, in get_compressed_texsubimage_sw()
795 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj, in get_compressed_texsubimage_sw()
838 if (ctx->Pack.BufferObj) { in get_compressed_texsubimage_sw()
839 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj, MAP_INTERNAL); in get_compressed_texsubimage_sw()
1102 if (!_mesa_validate_pbo_access(dimensions, &ctx->Pack, width, height, depth, in pbo_error_check()
1104 if (ctx->Pack.BufferObj) { in pbo_error_check()
1115 if (ctx->Pack.BufferObj) { in pbo_error_check()
1117 if (_mesa_check_disallowed_mapping(ctx->Pack.BufferObj)) { in pbo_error_check()
1124 if (!ctx->Pack.BufferObj && !pixels) { in pbo_error_check()
1418 imageStride = _mesa_image_image_stride(&ctx->Pack, width, height, in get_texture_image()
1711 &ctx->Pack, in getcompressedteximage_error_check()
1719 &ctx->Pack); in getcompressedteximage_error_check()
1722 if (ctx->Pack.BufferObj) { in getcompressedteximage_error_check()
1725 (GLubyte *) ctx->Pack.BufferObj->Size) { in getcompressedteximage_error_check()
1732 if (_mesa_check_disallowed_mapping(ctx->Pack.BufferObj)) { in getcompressedteximage_error_check()
1747 if (!ctx->Pack.BufferObj && !pixels) { in getcompressedteximage_error_check()
1793 &ctx->Pack, &store); in get_compressed_texture_image()