mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 07:18:06 +02:00
drm: Stop using weston_view in try_paint_node_on_plane
We've removed all need for this now. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
9042fd41d7
commit
501f6d31b1
1 changed files with 2 additions and 3 deletions
|
|
@ -111,8 +111,7 @@ drm_output_try_paint_node_on_plane(struct drm_plane_handle *handle,
|
|||
struct drm_fb *fb, uint64_t zpos)
|
||||
{
|
||||
struct drm_output *output = output_state->output;
|
||||
struct weston_view *ev = pnode->view;
|
||||
struct weston_surface *surface = ev->surface;
|
||||
struct weston_surface *surface = pnode->surface;
|
||||
struct drm_device *device = output->device;
|
||||
struct drm_backend *b = device->backend;
|
||||
struct drm_plane *plane = handle->plane;
|
||||
|
|
@ -140,7 +139,7 @@ drm_output_try_paint_node_on_plane(struct drm_plane_handle *handle,
|
|||
* here to live within the state. */
|
||||
state->paint_node = pnode;
|
||||
state->fb = drm_fb_ref(fb);
|
||||
state->in_fence_fd = ev->surface->acquire_fence_fd;
|
||||
state->in_fence_fd = surface->acquire_fence_fd;
|
||||
|
||||
if (fb->format && fb->format->color_model == COLOR_MODEL_YUV) {
|
||||
struct weston_color_representation color_rep;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue