Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c151 struct st_texture_image *stImage = st_texture_image(texImage); in st_FreeTextureImageBuffer() local
155 if (stImage->pt) { in st_FreeTextureImageBuffer()
156 pipe_resource_reference(&stImage->pt, NULL); in st_FreeTextureImageBuffer()
159 if (stImage->TexData) { in st_FreeTextureImageBuffer()
160 _mesa_align_free(stImage->TexData); in st_FreeTextureImageBuffer()
161 stImage->TexData = NULL; in st_FreeTextureImageBuffer()
175 struct st_texture_image *stImage = st_texture_image(texImage); in st_MapTextureImage() local
187 map = st_texture_image_map(st, stImage, slice, pipeMode, x, y, w, h); in st_MapTextureImage()
190 *rowStrideOut = stImage->transfer->stride; in st_MapTextureImage()
206 struct st_texture_image *stImage = st_texture_image(texImage); in st_UnmapTextureImage() local
[all …]
Dst_texture.c214 st_texture_image_map(struct st_context *st, struct st_texture_image *stImage, in st_texture_image_map() argument
219 st_texture_object(stImage->base.TexObject); in st_texture_image_map()
225 if (!stImage->pt) in st_texture_image_map()
228 if (stObj->pt != stImage->pt) in st_texture_image_map()
231 level = stImage->base.Level; in st_texture_image_map()
233 stImage->transfer = pipe_get_transfer(st->pipe, stImage->pt, level, in st_texture_image_map()
234 stImage->base.Face + zoffset, in st_texture_image_map()
237 if (stImage->transfer) in st_texture_image_map()
238 return pipe_transfer_map(pipe, stImage->transfer); in st_texture_image_map()
246 struct st_texture_image *stImage) in st_texture_image_unmap() argument
[all …]
Dst_cb_eglimage.c106 struct st_texture_image *stImage; in st_bind_surface() local
117 stImage = st_texture_image(texImage); in st_bind_surface()
134 pipe_resource_reference(&stImage->pt, stObj->pt); in st_bind_surface()
Dst_gen_mipmap.c221 struct st_texture_image *stImage; in st_generate_mipmap() local
253 stImage = st_texture_image(dstImage); in st_generate_mipmap()
255 pipe_resource_reference(&stImage->pt, pt); in st_generate_mipmap()
Dst_texture.h180 struct st_texture_image *stImage,
188 struct st_texture_image *stImage);
Dst_manager.c481 struct st_texture_image *stImage; in st_context_teximage() local
514 stImage = st_texture_image(texImage); in st_context_teximage()
563 pipe_resource_reference(&stImage->pt, tex); in st_context_teximage()