When unbinded, the old buffer was still set to the native surface of
e_comp_object and alive. So.. if we disabled evas map, e_comp_object
could be composited wronly when rendered suddenly.
Change-Id: Ic121ebec737daacc6b4d0fb891a3f0e4014c148a
remote_surface->bind_ec->comp_data->pending.sy = 0;
remote_surface->bind_ec->comp_data->pending.new_attach = EINA_TRUE;
+#if 0 /* FIXME: no proper position to add below codes */
/* when unbinded, ignore_output_transform event is sended. And map should be disable. */
remote_surface->bind_ec->comp_data->pending.buffer_viewport.buffer.transform = WL_OUTPUT_TRANSFORM_NORMAL;
remote_surface->bind_ec->comp_data->pending.buffer_viewport.changed = 0;
remote_surface->bind_ec->comp_data->scaler.buffer_viewport.buffer.transform = WL_OUTPUT_TRANSFORM_NORMAL;
remote_surface->bind_ec->comp_data->scaler.buffer_viewport.changed = 0;
e_comp_wl_map_apply(remote_surface->bind_ec);
+#endif
e_comp_wl_surface_attach(remote_surface->bind_ec, NULL);