Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c235 struct st_egl_image stimg; in st_egl_image_target_renderbuffer_storage() local
240 &stimg, &native_supported)) { in st_egl_image_target_renderbuffer_storage()
244 u_surface_default_template(&surf_tmpl, stimg.texture); in st_egl_image_target_renderbuffer_storage()
245 surf_tmpl.format = stimg.format; in st_egl_image_target_renderbuffer_storage()
246 surf_tmpl.u.tex.level = stimg.level; in st_egl_image_target_renderbuffer_storage()
247 surf_tmpl.u.tex.first_layer = stimg.layer; in st_egl_image_target_renderbuffer_storage()
248 surf_tmpl.u.tex.last_layer = stimg.layer; in st_egl_image_target_renderbuffer_storage()
249 ps = pipe->create_surface(pipe, stimg.texture, &surf_tmpl); in st_egl_image_target_renderbuffer_storage()
250 pipe_resource_reference(&stimg.texture, NULL); in st_egl_image_target_renderbuffer_storage()
268 struct st_egl_image *stimg, in st_bind_egl_image() argument
[all …]
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c431 struct st_egl_image *stimg) in dri_get_egl_image() argument
446 stimg->texture = NULL; in dri_get_egl_image()
447 pipe_resource_reference(&stimg->texture, img->texture); in dri_get_egl_image()
449 stimg->format = map ? map->pipe_format : img->texture->format; in dri_get_egl_image()
450 stimg->level = img->level; in dri_get_egl_image()
451 stimg->layer = img->layer; in dri_get_egl_image()
458 stimg->internalformat = driGLFormatToSizedInternalGLFormat(mesa_format); in dri_get_egl_image()