Searched refs:staging_texture (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_texture.c | 45 ctx->resource_copy_region(ctx, rtransfer->staging_texture, in r600_copy_to_staging_texture() 65 rtransfer->staging_texture, in r600_copy_from_staging_texture() 353 trans->staging_texture = ctx->screen->resource_create(ctx->screen, &resource); in si_texture_get_transfer() 354 if (trans->staging_texture == NULL) { in si_texture_get_transfer() 361 trans->transfer.stride = ((struct r600_resource_texture *)trans->staging_texture) in si_texture_get_transfer() 383 if (rtransfer->staging_texture) { in si_texture_transfer_destroy() 387 pipe_resource_reference(&rtransfer->staging_texture, NULL); in si_texture_transfer_destroy() 409 if (rtransfer->staging_texture) { in si_texture_transfer_map() 410 buf = si_resource(rtransfer->staging_texture)->cs_buf; in si_texture_transfer_map() 438 if (rtransfer->staging_texture) { in si_texture_transfer_unmap() [all …]
|
D | r600_resource.h | 38 struct pipe_resource *staging_texture; member
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 734 transfer->staging_texture = NULL; in i915_texture_get_transfer() 755 transfer->staging_texture = i915_texture_create(pipe->screen, resource, TRUE); in i915_texture_get_transfer() 768 if ((itransfer->staging_texture) && in i915_transfer_destroy() 775 itransfer->staging_texture, in i915_transfer_destroy() 778 pipe_resource_reference(&itransfer->staging_texture, NULL); in i915_transfer_destroy() 801 if (itransfer->staging_texture) { in i915_texture_transfer_map() 802 tex = i915_texture(itransfer->staging_texture); in i915_texture_transfer_map() 830 if (itransfer->staging_texture) in i915_texture_transfer_unmap() 831 tex = i915_texture(itransfer->staging_texture); in i915_texture_transfer_unmap() 860 if (itransfer->staging_texture) { in i915_transfer_inline_write() [all …]
|
D | i915_resource.h | 53 struct pipe_resource *staging_texture; member
|
/external/vulkan-validation-layers/demos/ |
D | cube.cpp | 1931 texture_object staging_texture; in prepare_textures() local 1934 tex_files[i], &staging_texture, vk::ImageTiling::eLinear, in prepare_textures() 1946 staging_texture.image, vk::ImageAspectFlagBits::eColor, in prepare_textures() 1947 staging_texture.imageLayout, in prepare_textures() 1968 .setExtent({(uint32_t)staging_texture.tex_width, in prepare_textures() 1969 (uint32_t)staging_texture.tex_height, 1}); in prepare_textures() 1972 staging_texture.image, vk::ImageLayout::eTransferSrcOptimal, in prepare_textures() 1983 destroy_texture_image(&staging_texture); in prepare_textures()
|
D | cube.c | 1349 struct texture_object staging_texture; in demo_prepare_textures() local 1351 memset(&staging_texture, 0, sizeof(staging_texture)); in demo_prepare_textures() 1353 demo, tex_files[i], &staging_texture, VK_IMAGE_TILING_LINEAR, in demo_prepare_textures() 1363 demo_set_image_layout(demo, staging_texture.image, in demo_prepare_textures() 1384 .extent = {staging_texture.tex_width, in demo_prepare_textures() 1385 staging_texture.tex_height, 1}, in demo_prepare_textures() 1388 demo->cmd, staging_texture.image, in demo_prepare_textures() 1402 demo_destroy_texture_image(demo, &staging_texture); in demo_prepare_textures()
|