From 92f8389492c86e38791db0bc87effddb2c98e04f Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Thu, 25 Jan 2018 21:23:48 +0900 Subject: [PATCH] e_plane_renderer: add dip_surfaces and renderer_buffer when dequeue Change-Id: Id2c7d905ed88bc66c3d61008cb13fbfeb3822790 --- src/bin/e_plane_renderer.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/bin/e_plane_renderer.c b/src/bin/e_plane_renderer.c index 8c357c2570..3bed32bd33 100644 --- a/src/bin/e_plane_renderer.c +++ b/src/bin/e_plane_renderer.c @@ -2357,6 +2357,13 @@ e_plane_renderer_surface_queue_dequeue(E_Plane_Renderer *renderer) if (_e_plane_renderer_surface_find_released_surface(renderer, tsurface)) renderer->released_surfaces = eina_list_remove(renderer->released_surfaces, tsurface); + /* if not exist, add the surface to the renderer */ + if (!_e_plane_renderer_surface_find_disp_surface(renderer, tsurface)) + renderer->disp_surfaces = eina_list_append(renderer->disp_surfaces, tsurface); + + if (!_e_plane_renderer_buffer_add(renderer, tsurface)) + ERR("failed to _e_plane_renderer_buffer_add"); + /* debug */ if (renderer_trace_debug) { -- 2.34.1