sdm: Add support to GL based WB.

-- Mark all layers to GPU.
-- Program FBT to GPU for CSC.

CRs-Fixed: 2547250
Change-Id: I707fc25ef590f158b4576c91c710706198d06f01
diff --git a/gpu_tonemapper/EGLImageBuffer.h b/gpu_tonemapper/EGLImageBuffer.h
index 23af573..1433fdd 100644
--- a/gpu_tonemapper/EGLImageBuffer.h
+++ b/gpu_tonemapper/EGLImageBuffer.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016, 2019 The Linux Foundation. All rights reserved.
  * Not a Contribution.
  *
  * Copyright 2015 The Android Open Source Project
@@ -38,13 +38,13 @@
   int getWidth();
   int getHeight();
   EGLImageBuffer(android::sp<android::GraphicBuffer>);
-  unsigned int getTexture();
+  unsigned int getTexture(int target);
   unsigned int getFramebuffer();
-  void bindAsTexture();
+  void bindAsTexture(int target);
   void bindAsFramebuffer();
   ~EGLImageBuffer();
   static EGLImageBuffer *from(const private_handle_t *src);
   static void clear();
 };
 
-#endif  //__EGLIMAGE_BUFFER_H__
\ No newline at end of file
+#endif  //__EGLIMAGE_BUFFER_H_