Home
last modified time | relevance | path

Searched refs:stimg (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c207 struct st_egl_image stimg; in st_egl_image_target_renderbuffer_storage() local
212 &stimg, &native_supported)) { in st_egl_image_target_renderbuffer_storage()
216 u_surface_default_template(&surf_tmpl, stimg.texture); in st_egl_image_target_renderbuffer_storage()
217 surf_tmpl.format = stimg.format; in st_egl_image_target_renderbuffer_storage()
218 surf_tmpl.u.tex.level = stimg.level; in st_egl_image_target_renderbuffer_storage()
219 surf_tmpl.u.tex.first_layer = stimg.layer; in st_egl_image_target_renderbuffer_storage()
220 surf_tmpl.u.tex.last_layer = stimg.layer; in st_egl_image_target_renderbuffer_storage()
221 ps = pipe->create_surface(pipe, stimg.texture, &surf_tmpl); in st_egl_image_target_renderbuffer_storage()
222 pipe_resource_reference(&stimg.texture, NULL); in st_egl_image_target_renderbuffer_storage()
240 struct st_egl_image *stimg, in st_bind_egl_image() argument
[all …]
/external/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c463 struct st_egl_image *stimg) in dri_get_egl_image() argument
476 stimg->texture = NULL; in dri_get_egl_image()
477 pipe_resource_reference(&stimg->texture, img->texture); in dri_get_egl_image()
479 stimg->format = map ? map->pipe_format : img->texture->format; in dri_get_egl_image()
480 stimg->level = img->level; in dri_get_egl_image()
481 stimg->layer = img->layer; in dri_get_egl_image()
488 stimg->internalformat = driGLFormatToSizedInternalGLFormat(mesa_format); in dri_get_egl_image()