Searched refs:stObj (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 136 struct st_texture_object *stObj = st_texture_object(texObj); in st_DeleteTextureObject() local 137 if (stObj->pt) in st_DeleteTextureObject() 138 pipe_resource_reference(&stObj->pt, NULL); in st_DeleteTextureObject() 139 if (stObj->sampler_view) { in st_DeleteTextureObject() 140 pipe_sampler_view_release(st->pipe, &stObj->sampler_view); in st_DeleteTextureObject() 324 struct st_texture_object *stObj, in guess_and_alloc_texture() argument 334 assert(!stObj->pt); in guess_and_alloc_texture() 336 if (!guess_base_level_size(stObj->base.Target, in guess_and_alloc_texture() 343 stObj->width0 = stObj->height0 = stObj->depth0 = 0; in guess_and_alloc_texture() 358 if ((stObj->base.Sampler.MinFilter == GL_NEAREST || in guess_and_alloc_texture() [all …]
|
D | st_atom_texture.c | 143 struct st_texture_object *stObj, in st_create_texture_sampler_view_from_stobj() argument 148 GLuint swizzle = apply_depthmode(stObj->pt->format, in st_create_texture_sampler_view_from_stobj() 149 stObj->base._Swizzle, in st_create_texture_sampler_view_from_stobj() 150 stObj->base.DepthMode); in st_create_texture_sampler_view_from_stobj() 153 stObj->pt, in st_create_texture_sampler_view_from_stobj() 155 templ.u.tex.first_level = stObj->base.BaseLevel; in st_create_texture_sampler_view_from_stobj() 164 return pipe->create_sampler_view(pipe, stObj->pt, &templ); in st_create_texture_sampler_view_from_stobj() 169 st_get_texture_sampler_view_from_stobj(struct st_texture_object *stObj, in st_get_texture_sampler_view_from_stobj() argument 174 if (!stObj || !stObj->pt) { in st_get_texture_sampler_view_from_stobj() 178 if (!stObj->sampler_view) { in st_get_texture_sampler_view_from_stobj() [all …]
|
D | st_cb_eglimage.c | 105 struct st_texture_object *stObj; in st_bind_surface() local 116 stObj = st_texture_object(texObj); in st_bind_surface() 120 if (!stObj->surface_based) { in st_bind_surface() 122 stObj->surface_based = GL_TRUE; in st_bind_surface() 132 pipe_resource_reference(&stObj->pt, ps->texture); in st_bind_surface() 133 pipe_sampler_view_reference(&stObj->sampler_view, NULL); in st_bind_surface() 134 pipe_resource_reference(&stImage->pt, stObj->pt); in st_bind_surface() 136 stObj->width0 = ps->width; in st_bind_surface() 137 stObj->height0 = ps->height; in st_bind_surface() 138 stObj->depth0 = 1; in st_bind_surface()
|
D | st_gen_mipmap.c | 73 struct st_texture_object *stObj, in st_render_mipmap() argument 88 if (!screen->is_format_supported(screen, stObj->pt->format, in st_render_mipmap() 89 stObj->pt->target, in st_render_mipmap() 94 psv = st_create_texture_sampler_view(pipe, stObj->pt); in st_render_mipmap() 145 struct st_texture_object *stObj = st_texture_object(texObj); in st_generate_mipmap() local 167 stObj->lastLevel = lastLevel; in st_generate_mipmap() 173 struct pipe_resource *oldTex = stObj->pt; in st_generate_mipmap() 176 stObj->pt = st_texture_create(st, in st_generate_mipmap() 193 pipe_sampler_view_reference(&stObj->sampler_view, NULL); in st_generate_mipmap() 202 pt = stObj->pt; in st_generate_mipmap() [all …]
|
D | st_texture.h | 113 struct st_texture_object *stObj = st_texture_object(texObj); in st_get_texobj_resource() local 114 return stObj ? stObj->pt : NULL; in st_get_texobj_resource() 119 st_get_stobj_resource(struct st_texture_object *stObj) in st_get_stobj_resource() argument 121 return stObj ? stObj->pt : NULL; in st_get_stobj_resource()
|
D | st_cb_fbo.c | 392 struct st_texture_object *stObj; in st_render_texture() local 424 stObj = st_texture_object(att->Texture); in st_render_texture() 427 strb->rtt = stObj; in st_render_texture() 510 const struct st_texture_object *stObj = st_texture_object(att->Texture); in st_validate_attachment() local 522 if (!stObj) in st_validate_attachment() 525 format = stObj->pt->format; in st_validate_attachment() 539 stObj->pt->nr_samples, bindings); in st_validate_attachment()
|
D | st_manager.c | 480 struct st_texture_object *stObj; in st_context_teximage() local 506 stObj = st_texture_object(texObj); in st_context_teximage() 508 if (!stObj->surface_based) { in st_context_teximage() 510 stObj->surface_based = GL_TRUE; in st_context_teximage() 564 stObj->width0 = width; in st_context_teximage() 565 stObj->height0 = height; in st_context_teximage() 566 stObj->depth0 = depth; in st_context_teximage()
|
D | st_texture.c | 218 struct st_texture_object *stObj = in st_texture_image_map() local 228 if (stObj->pt != stImage->pt) in st_texture_image_map()
|