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.c182 struct st_texture_image *stImage = st_texture_image(texImage); in st_FreeTextureImageBuffer() local
186 if (stImage->pt) { in st_FreeTextureImageBuffer()
187 pipe_resource_reference(&stImage->pt, NULL); in st_FreeTextureImageBuffer()
190 free(stImage->transfer); in st_FreeTextureImageBuffer()
191 stImage->transfer = NULL; in st_FreeTextureImageBuffer()
192 stImage->num_transfers = 0; in st_FreeTextureImageBuffer()
194 if (stImage->etc_data) { in st_FreeTextureImageBuffer()
195 free(stImage->etc_data); in st_FreeTextureImageBuffer()
196 stImage->etc_data = NULL; in st_FreeTextureImageBuffer()
213 etc_fallback_allocate(struct st_context *st, struct st_texture_image *stImage) in etc_fallback_allocate() argument
[all …]
Dst_texture.c246 st_texture_image_map(struct st_context *st, struct st_texture_image *stImage, in st_texture_image_map() argument
253 st_texture_object(stImage->base.TexObject); in st_texture_image_map()
259 if (!stImage->pt) in st_texture_image_map()
262 if (stObj->pt != stImage->pt) in st_texture_image_map()
265 level = stImage->base.Level; in st_texture_image_map()
274 z += stImage->base.Face; in st_texture_image_map()
276 map = pipe_transfer_map_3d(st->pipe, stImage->pt, level, usage, in st_texture_image_map()
280 if (z >= stImage->num_transfers) { in st_texture_image_map()
283 stImage->transfer = realloc(stImage->transfer, in st_texture_image_map()
285 memset(&stImage->transfer[stImage->num_transfers], 0, in st_texture_image_map()
[all …]
Dst_cb_eglimage.c103 struct st_texture_image *stImage; in st_bind_surface() local
114 stImage = st_texture_image(texImage); in st_bind_surface()
149 pipe_resource_reference(&stImage->pt, stObj->pt); in st_bind_surface()
Dst_vdpau.c189 struct st_texture_image *stImage = st_texture_image(texImage); in st_vdpau_map_surface() local
236 pipe_resource_reference(&stImage->pt, res); in st_vdpau_map_surface()
253 struct st_texture_image *stImage = st_texture_image(texImage); in st_vdpau_unmap_surface() local
257 pipe_resource_reference(&stImage->pt, NULL); in st_vdpau_unmap_surface()
Dst_texture.h224 st_texture_image_map(struct st_context *st, struct st_texture_image *stImage,
232 struct st_texture_image *stImage, unsigned slice);
Dst_manager.c522 struct st_texture_image *stImage; in st_context_teximage() local
556 stImage = st_texture_image(texImage); in st_context_teximage()
589 pipe_resource_reference(&stImage->pt, tex); in st_context_teximage()