Home
last modified time | relevance | path

Searched refs:gsurf (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c82 struct gdi_surface *gsurf = gdi_surface(nsurf); in gdi_surface_update_geometry() local
86 GetClientRect(gsurf->hWnd, &rect); in gdi_surface_update_geometry()
90 if (resource_surface_set_size(gsurf->rsurf, w, h)) in gdi_surface_update_geometry()
91 gsurf->server_stamp++; in gdi_surface_update_geometry()
100 struct gdi_surface *gsurf = gdi_surface(nsurf); in gdi_surface_update_buffers() local
102 if (gsurf->client_stamp != gsurf->server_stamp) { in gdi_surface_update_buffers()
103 gdi_surface_update_geometry(&gsurf->base); in gdi_surface_update_buffers()
104 gsurf->client_stamp = gsurf->server_stamp; in gdi_surface_update_buffers()
107 return resource_surface_add_resources(gsurf->rsurf, buffer_mask); in gdi_surface_update_buffers()
116 struct gdi_surface *gsurf = gdi_surface(nsurf); in gdi_surface_invalidate() local
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_api.c228 struct egl_g3d_surface *gsurf; in egl_g3d_create_surface() local
249 gsurf = CALLOC_STRUCT(egl_g3d_surface); in egl_g3d_create_surface()
250 if (!gsurf) { in egl_g3d_create_surface()
255 if (!_eglInitSurface(&gsurf->base, dpy, arg->type, conf, attribs)) { in egl_g3d_create_surface()
256 FREE(gsurf); in egl_g3d_create_surface()
273 gsurf->base.RenderBuffer = EGL_BACK_BUFFER; in egl_g3d_create_surface()
275 gconf->native, gsurf->base.Width, gsurf->base.Height); in egl_g3d_create_surface()
284 FREE(gsurf); in egl_g3d_create_surface()
288 if (!nsurf->validate(nsurf, 0x0, &gsurf->sequence_number, NULL, in egl_g3d_create_surface()
289 &gsurf->base.Width, &gsurf->base.Height)) { in egl_g3d_create_surface()
[all …]
Degl_g3d_st.c123 pbuffer_reference_openvg_image(struct egl_g3d_surface *gsurf) in pbuffer_reference_openvg_image() argument
129 pbuffer_allocate_pbuffer_texture(struct egl_g3d_surface *gsurf) in pbuffer_allocate_pbuffer_texture() argument
132 egl_g3d_display(gsurf->base.Resource.Display); in pbuffer_allocate_pbuffer_texture()
139 templ.width0 = gsurf->base.Width; in pbuffer_allocate_pbuffer_texture()
140 templ.height0 = gsurf->base.Height; in pbuffer_allocate_pbuffer_texture()
143 templ.format = gsurf->stvis.color_format; in pbuffer_allocate_pbuffer_texture()
148 gsurf->render_texture = ptex; in pbuffer_allocate_pbuffer_texture()
158 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf); in egl_g3d_st_framebuffer_validate_pbuffer() local
164 if (gsurf->stvis.render_buffer != statts[i]) in egl_g3d_st_framebuffer_validate_pbuffer()
167 if (!gsurf->render_texture) { in egl_g3d_st_framebuffer_validate_pbuffer()
[all …]
Degl_g3d.c48 struct egl_g3d_surface *gsurf = egl_g3d_surface(nsurf->user_data); in egl_g3d_invalid_surface() local
50 if (gsurf && gsurf->stfbi) in egl_g3d_invalid_surface()
51 p_atomic_inc(&gsurf->stfbi->stamp); in egl_g3d_invalid_surface()