summaryrefslogtreecommitdiff
path: root/screen_connector_remote_surface_evas/watcher_image_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'screen_connector_remote_surface_evas/watcher_image_internal.h')
-rw-r--r--screen_connector_remote_surface_evas/watcher_image_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen_connector_remote_surface_evas/watcher_image_internal.h b/screen_connector_remote_surface_evas/watcher_image_internal.h
index 31fb4f3..a1d8bf0 100644
--- a/screen_connector_remote_surface_evas/watcher_image_internal.h
+++ b/screen_connector_remote_surface_evas/watcher_image_internal.h
@@ -33,10 +33,12 @@ class WatcherImage : public EvasObject {
void UpdateTbm(std::shared_ptr<WlBuffer> tbm);
void ClearTbm();
+ void ReleaseWlBuffer();
void UpdateFile(int fd, uint32_t size);
private:
std::shared_ptr<WlBuffer> prev_buf_;
+ std::unique_ptr<TbmSurface> prev_surf_;
};
} // namespace screen_connector