Home | History | Annotate | Download | only in vdpau

Lines Matching full:vlsurface

49    vlVdpBitmapSurface *vlsurface = NULL;
65 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface));
66 if (!vlsurface)
69 vlsurface->device = dev;
90 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ);
95 if (!vlsurface->sampler_view) {
100 *surface = vlAddDataHTAB(vlsurface);
115 vlVdpBitmapSurface *vlsurface;
117 vlsurface = vlGetDataHTAB(surface);
118 if (!vlsurface)
121 pipe_mutex_lock(vlsurface->device->mutex);
122 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL);
123 pipe_mutex_unlock(vlsurface->device->mutex);
126 FREE(vlsurface);
140 vlVdpBitmapSurface *vlsurface;
143 vlsurface = vlGetDataHTAB(surface);
144 if (!vlsurface)
150 res = vlsurface->sampler_view->texture;
169 vlVdpBitmapSurface *vlsurface;
173 vlsurface = vlGetDataHTAB(surface);
174 if (!vlsurface)
180 pipe = vlsurface->device->context;
182 pipe_mutex_lock(vlsurface->device->mutex);
184 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL);
186 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture);
187 pipe->transfer_inline_write(pipe, vlsurface->sampler_view->texture, 0,
191 pipe_mutex_unlock(vlsurface->device->mutex);