sdm: Use fence utility for buffer fences management

Change-Id: I08746d36aa869938ebf60248e2ada5880e2f44a9
CRs-Fixed: 2579548
diff --git a/composer/gl_color_convert.h b/composer/gl_color_convert.h
index a4c31ce..3a083a8 100644
--- a/composer/gl_color_convert.h
+++ b/composer/gl_color_convert.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
@@ -46,8 +46,10 @@
   static void Destroy(GLColorConvert* intf);
 
   virtual int Blit(const private_handle_t *src_hnd, const private_handle_t *dst_hnd,
-                   const GLRect &src_rect, const GLRect &dst_rect, int src_acquire_fence_fd,
-                   int dst_acquire_fence_fd, int *release_fence_fd) = 0;
+                   const GLRect &src_rect, const GLRect &dst_rect,
+                   const shared_ptr<Fence> &src_acquire_fence,
+                   const shared_ptr<Fence> &dst_acquire_fence,
+                   shared_ptr<Fence> *release_fence) = 0;
  protected:
   virtual ~GLColorConvert() { }
 };