Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_image.c229 struct egl_g3d_image *gimg; in egl_g3d_create_image() local
232 gimg = CALLOC_STRUCT(egl_g3d_image); in egl_g3d_create_image()
233 if (!gimg) { in egl_g3d_create_image()
238 if (!_eglInitImage(&gimg->base, dpy)) { in egl_g3d_create_image()
239 FREE(gimg); in egl_g3d_create_image()
251 (EGLint) pointer_to_intptr(buffer), &gimg->base, attribs); in egl_g3d_create_image()
257 (struct wl_buffer *) buffer, &gimg->base, attribs); in egl_g3d_create_image()
272 FREE(gimg); in egl_g3d_create_image()
278 pipe_resource_reference(&gimg->texture, NULL); in egl_g3d_create_image()
279 FREE(gimg); in egl_g3d_create_image()
[all …]
Degl_g3d_st.c60 struct egl_g3d_image *gimg; in egl_g3d_st_manager_get_egl_image() local
71 gimg = egl_g3d_image(img); in egl_g3d_st_manager_get_egl_image()
74 pipe_resource_reference(&out->texture, gimg->texture); in egl_g3d_st_manager_get_egl_image()
75 out->level = gimg->level; in egl_g3d_st_manager_get_egl_image()
76 out->layer = gimg->layer; in egl_g3d_st_manager_get_egl_image()