Pan Gesture Prediction - Added DALI_PAN_GESTURE_PREDICTION_AMOUNT environment variable
[platform/core/uifw/dali-core.git] / dali / internal / event / events / pan-gesture-processor.h
index ddbbdab..efc30ff 100644 (file)
@@ -112,6 +112,26 @@ public: // To be called by GestureEventProcessor
    */
   void EnableProfiling();
 
+  /**
+   * Called to set the prediction mode for pan gestures
+   *
+   * @param[in] mode The prediction mode
+   *
+   * Valid modes:
+   * 0 - No prediction
+   * 1 - Average Smoothing (no actual prediction)
+   * 2 - Interpolation using last vsync time and event time
+   * 3 - Same as 2 for now, in progress
+   */
+  void SetPredictionMode(int mode);
+
+  /**
+   * @brief Sets the prediction amount of the pan gesture
+   *
+   * @param[in] amount The prediction amount, 0.0f being next vsync and each 1.0f on top is another vsync ahead, can be divisions of (0.5f)
+   */
+  void SetPredictionAmount(float amount);
+
 private:
 
   // Undefined