Searched refs:staging_texture (Results 1 - 4 of 4) sorted by relevance
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_d3d11va.c | 80 ID3D11Texture2D *staging_texture; member 113 if (s->staging_texture) in d3d11va_frames_uninit() 114 ID3D11Texture2D_Release(s->staging_texture); in d3d11va_frames_uninit() 115 s->staging_texture = NULL; in d3d11va_frames_uninit() 369 hr = ID3D11Device_CreateTexture2D(device_hwctx->device, &texDesc, NULL, &s->staging_texture); in d3d11va_create_staging_texture() 417 if (!s->staging_texture) { in d3d11va_transfer_data() 424 staging = (ID3D11Resource *)s->staging_texture; in d3d11va_transfer_data() 426 ID3D11Texture2D_GetDesc(s->staging_texture, &desc); in d3d11va_transfer_data()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_resource_texture.c | 807 transfer->staging_texture = NULL; in i915_texture_transfer_map() 825 * If the alloc fails, transfer->staging_texture is NULL and we fallback in i915_texture_transfer_map() 828 transfer->staging_texture = in i915_texture_transfer_map() 838 if (transfer->staging_texture) { in i915_texture_transfer_map() 839 tex = i915_texture(transfer->staging_texture); in i915_texture_transfer_map() 851 pipe_resource_reference(&transfer->staging_texture, NULL); in i915_texture_transfer_map() 873 if (itransfer->staging_texture) in i915_texture_transfer_unmap() 874 tex = i915_texture(itransfer->staging_texture); in i915_texture_transfer_unmap() 878 if ((itransfer->staging_texture) && (transfer->usage & PIPE_MAP_WRITE)) { in i915_texture_transfer_unmap() 885 itransfer->staging_texture, in i915_texture_transfer_unmap() [all...] |
H A D | i915_resource.h | 50 struct pipe_resource *staging_texture; member
|
/third_party/glfw/tests/ |
H A D | triangle-vulkan.c | 929 struct texture_object staging_texture; in demo_prepare_textures() local 931 memset(&staging_texture, 0, sizeof(staging_texture)); in demo_prepare_textures() 933 demo, tex_colors[i], &staging_texture, VK_IMAGE_TILING_LINEAR, in demo_prepare_textures() 944 demo_set_image_layout(demo, staging_texture.image, in demo_prepare_textures() 946 staging_texture.imageLayout, in demo_prepare_textures() 961 .extent = {staging_texture.tex_width, in demo_prepare_textures() 962 staging_texture.tex_height, 1}, in demo_prepare_textures() 965 demo->setup_cmd, staging_texture.image, in demo_prepare_textures() 977 demo_destroy_texture_image(demo, &staging_texture); in demo_prepare_textures() [all...] |
Completed in 5 milliseconds