Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_screen.c323 struct st_egl_image *stimg) in dri_get_egl_image() argument
335 stimg->texture = NULL; in dri_get_egl_image()
336 pipe_resource_reference(&stimg->texture, img->texture); in dri_get_egl_image()
339 stimg->format = PIPE_FORMAT_IYUV; in dri_get_egl_image()
342 stimg->format = PIPE_FORMAT_NV12; in dri_get_egl_image()
345 stimg->format = img->texture->format; in dri_get_egl_image()
348 stimg->level = img->level; in dri_get_egl_image()
349 stimg->layer = img->layer; in dri_get_egl_image()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c843 struct st_egl_image stimg; in st_manager_get_egl_image_surface() local
849 memset(&stimg, 0, sizeof(stimg)); in st_manager_get_egl_image_surface()
850 if (!smapi->get_egl_image(smapi, eglimg, &stimg)) in st_manager_get_egl_image_surface()
853 u_surface_default_template(&surf_tmpl, stimg.texture); in st_manager_get_egl_image_surface()
854 surf_tmpl.format = stimg.format; in st_manager_get_egl_image_surface()
855 surf_tmpl.u.tex.level = stimg.level; in st_manager_get_egl_image_surface()
856 surf_tmpl.u.tex.first_layer = stimg.layer; in st_manager_get_egl_image_surface()
857 surf_tmpl.u.tex.last_layer = stimg.layer; in st_manager_get_egl_image_surface()
858 ps = st->pipe->create_surface(st->pipe, stimg.texture, &surf_tmpl); in st_manager_get_egl_image_surface()
859 pipe_resource_reference(&stimg.texture, NULL); in st_manager_get_egl_image_surface()