Lines Matching defs:surface

50                          VdpOutputSurface  *surface)
112 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ);
113 if (!vlsurface->surface)
116 *surface = vlAddDataHTAB(vlsurface);
117 if (*surface == 0)
132 pipe_surface_reference(&vlsurface->surface, NULL);
145 vlVdpOutputSurfaceDestroy(VdpOutputSurface surface)
150 vlsurface = vlGetDataHTAB(surface);
158 pipe_surface_reference(&vlsurface->surface, NULL);
164 vlRemoveDataHTAB(surface);
175 vlVdpOutputSurfaceGetParameters(VdpOutputSurface surface,
181 vlsurface = vlGetDataHTAB(surface);
194 * surface's native format.
197 vlVdpOutputSurfaceGetBitsNative(VdpOutputSurface surface,
209 vlsurface = vlGetDataHTAB(surface);
240 * Copy image data from application memory in the surface's native format to
244 vlVdpOutputSurfacePutBitsNative(VdpOutputSurface surface,
253 vlsurface = vlGetDataHTAB(surface);
287 vlVdpOutputSurfacePutBitsIndexed(VdpOutputSurface surface,
310 vlsurface = vlGetDataHTAB(surface);
343 res_tmpl.width0 = vlsurface->surface->texture->width0;
344 res_tmpl.height0 = vlsurface->surface->texture->height0;
413 vl_compositor_render(cstate, compositor, vlsurface->surface, &vlsurface->dirty_area, false);
433 vlVdpOutputSurfacePutBitsYCbCr(VdpOutputSurface surface,
452 vlsurface = vlGetDataHTAB(surface);
479 vtmpl.width = vlsurface->surface->texture->width0;
480 vtmpl.height = vlsurface->surface->texture->height0;
522 vl_compositor_render(cstate, compositor, vlsurface->surface, &vlsurface->dirty_area, false);
707 vl_compositor_render(cstate, compositor, dst_vlsurface->surface, &dst_vlsurface->dirty_area, false);
773 vl_compositor_render(cstate, compositor, dst_vlsurface->surface, &dst_vlsurface->dirty_area, false);
781 struct pipe_resource *vlVdpOutputSurfaceGallium(VdpOutputSurface surface)
785 vlsurface = vlGetDataHTAB(surface);
786 if (!vlsurface || !vlsurface->surface)
793 return vlsurface->surface->texture;
796 VdpStatus vlVdpOutputSurfaceDMABuf(VdpOutputSurface surface,
806 vlsurface = vlGetDataHTAB(surface);
807 if (!vlsurface || !vlsurface->surface)
816 pscreen = vlsurface->surface->texture->screen;
818 vlsurface->surface->texture, &whandle,
827 result->width = vlsurface->surface->width;
828 result->height = vlsurface->surface->height;
831 result->format = PipeToFormatRGBA(vlsurface->surface->format);