Home
last modified time | relevance | path

Searched refs:staging_texture (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_texture.c45 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 …]
Dr600_resource.h38 struct pipe_resource *staging_texture; member
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c734 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 …]
Di915_resource.h53 struct pipe_resource *staging_texture; member
/external/vulkan-validation-layers/demos/
Dtri.c922 struct texture_object staging_texture; in demo_prepare_textures() local
924 memset(&staging_texture, 0, sizeof(staging_texture)); in demo_prepare_textures()
925 demo_prepare_texture_image(demo, tex_colors[i], &staging_texture, in demo_prepare_textures()
936 demo_set_image_layout(demo, staging_texture.image, in demo_prepare_textures()
938 staging_texture.imageLayout, in demo_prepare_textures()
953 .extent = {staging_texture.tex_width, in demo_prepare_textures()
954 staging_texture.tex_height, 1}, in demo_prepare_textures()
957 demo->setup_cmd, staging_texture.image, in demo_prepare_textures()
969 demo_destroy_texture_image(demo, &staging_texture); in demo_prepare_textures()
Dcube.c1176 struct texture_object staging_texture; in demo_prepare_textures() local
1178 memset(&staging_texture, 0, sizeof(staging_texture)); in demo_prepare_textures()
1179 demo_prepare_texture_image(demo, tex_files[i], &staging_texture, in demo_prepare_textures()
1189 demo_set_image_layout(demo, staging_texture.image, in demo_prepare_textures()
1191 staging_texture.imageLayout, in demo_prepare_textures()
1206 .extent = {staging_texture.tex_width, in demo_prepare_textures()
1207 staging_texture.tex_height, 1}, in demo_prepare_textures()
1210 demo->cmd, staging_texture.image, in demo_prepare_textures()
1222 demo_destroy_texture_image(demo, &staging_texture); in demo_prepare_textures()