summaryrefslogtreecommitdiffstats
path: root/cc/resources/video_resource_updater.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/video_resource_updater.h')
-rw-r--r--cc/resources/video_resource_updater.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h
index e80a849..4e11110 100644
--- a/cc/resources/video_resource_updater.h
+++ b/cc/resources/video_resource_updater.h
@@ -63,6 +63,11 @@ class CC_EXPORT VideoFrameExternalResources {
std::vector<unsigned> software_resources;
ReleaseCallbackImpl software_release_callback;
+ // Used by hardware textures which do not return values in the 0-1 range.
+ // After a lookup, subtract offset and multiply by multiplier.
+ float offset;
+ float multiplier;
+
VideoFrameExternalResources();
~VideoFrameExternalResources();
};