gpu_tonemapper: Adjust sample points to maintain linearity
Adjust texture sample points to maintain linearity throughout the
sample range
CRs-Fixed: 1110654
Change-Id: I2c198c9f330a0b6001d2eda28c0355f2c9ecbde4
diff --git a/gpu_tonemapper/Tonemapper.h b/gpu_tonemapper/Tonemapper.h
index 1d6f808..88866d5 100644
--- a/gpu_tonemapper/Tonemapper.h
+++ b/gpu_tonemapper/Tonemapper.h
@@ -32,6 +32,8 @@
unsigned int tonemapTexture;
unsigned int lutXformTexture;
unsigned int programID;
+ float lutXformScaleOffset[2];
+ float tonemapScaleOffset[2];
EGLImageWrapper* eglImageWrapper;
Tonemapper();