Lines Matching refs:storage_bits
1857 if (!has_bit(res->storage_bits, VREND_STORAGE_GL_BUFFER) && in vrend_create_surface()
2193 if (!has_bit(view->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_create_sampler_view()
2979 if (!has_bit(view->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_set_single_sampler_view()
4220 if (has_bit(tview->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_draw_bind_samplers_shader()
4375 if (has_bit(iview->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_draw_bind_images_shader()
5725 if (has_bit(tex->base.storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_apply_sampler_state()
6058 if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_pipe_resource_attach_iov()
6069 if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_pipe_resource_detach_iov()
6085 if (res->storage_bits & VREND_STORAGE_GBM_BUFFER) { in vrend_pipe_resource_export_fd()
6685 gr->storage_bits |= VREND_STORAGE_GL_BUFFER; in vrend_create_buffer()
6719 gr->storage_bits |= VREND_STORAGE_GBM_BUFFER | VREND_STORAGE_GL_MEMOBJ; in vrend_create_buffer()
6732 gr->storage_bits |= VREND_STORAGE_GL_IMMUTABLE; in vrend_create_buffer()
6749 gr->storage_bits |= VREND_STORAGE_HOST_SYSTEM_MEMORY; in vrend_resource_alloc_buffer()
6848 gr->storage_bits |= VREND_STORAGE_GBM_BUFFER; in vrend_resource_gbm_init()
6864 gr->storage_bits |= VREND_STORAGE_EGL_IMAGE; in vrend_resource_gbm_init()
6914 gr->storage_bits |= VREND_STORAGE_GL_IMMUTABLE; in vrend_resource_alloc_texture()
6918 if (gr->gbm_bo && !has_bit(gr->storage_bits, VREND_STORAGE_EGL_IMAGE)) in vrend_resource_alloc_texture()
6925 gr->storage_bits |= VREND_STORAGE_GL_TEXTURE; in vrend_resource_alloc_texture()
6952 if (has_bit(gr->storage_bits, VREND_STORAGE_GL_IMMUTABLE) && in vrend_resource_alloc_texture()
6956 gr->storage_bits &= ~VREND_STORAGE_GL_IMMUTABLE; in vrend_resource_alloc_texture()
7066 if (!has_bit(gr->storage_bits, VREND_STORAGE_GL_BUFFER) && in vrend_resource_alloc_texture()
7101 gr->storage_bits = VREND_STORAGE_GUEST_MEMORY; in vrend_resource_create()
7140 if (has_bit(res->storage_bits, VREND_STORAGE_GL_TEXTURE)) { in vrend_renderer_resource_destroy()
7142 } else if (has_bit(res->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_renderer_resource_destroy()
7146 } else if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_renderer_resource_destroy()
7150 if (has_bit(res->storage_bits, VREND_STORAGE_GL_MEMOBJ)) { in vrend_renderer_resource_destroy()
7454 if ((is_only_bit(res->storage_bits, VREND_STORAGE_GUEST_MEMORY) || in vrend_renderer_transfer_write_iov()
7455 has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) && res->iov) { in vrend_renderer_transfer_write_iov()
7461 if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_renderer_transfer_write_iov()
7468 if (has_bit(res->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_renderer_transfer_write_iov()
8017 if (is_only_bit(res->storage_bits, VREND_STORAGE_GUEST_MEMORY) || in vrend_renderer_transfer_send_iov()
8018 (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY) && res->iov)) { in vrend_renderer_transfer_send_iov()
8024 if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_renderer_transfer_send_iov()
8031 if (has_bit(res->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_renderer_transfer_send_iov()
8089 !has_bit(res->storage_bits, VREND_STORAGE_EGL_IMAGE))) { in vrend_renderer_transfer_internal()
8231 if (has_bit(dst_res->storage_bits, VREND_STORAGE_GL_IMMUTABLE)) in vrend_renderer_copy_transfer3d()
8785 if (!has_bit(res->storage_bits, VREND_STORAGE_GL_IMMUTABLE)) in vrend_make_view()
9433 if (!res || !has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_create_query()
10960 gr->storage_bits |= VREND_STORAGE_EGL_IMAGE; in vrend_renderer_pipe_resource_set_type()
10997 if (!has_bits(res->storage_bits, VREND_STORAGE_GL_BUFFER | VREND_STORAGE_GL_IMMUTABLE)) in vrend_renderer_resource_map()
11013 if (!has_bits(res->storage_bits, VREND_STORAGE_GL_BUFFER | VREND_STORAGE_GL_IMMUTABLE)) in vrend_renderer_resource_unmap()