Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef6d451e authored by Steve Kondik's avatar Steve Kondik
Browse files

window: Add API to set the min undequeued buffer count

 * Raising this value globally has some effects on other parts of the
   system. We need to control it dynamically.

Change-Id: Ie11c7a7e53006aad710aebce64c02d3a3f64ade1
parent 92c38748
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -254,6 +254,9 @@ enum {
    NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS = 15, /* private */
    NATIVE_WINDOW_SET_POST_TRANSFORM_CROP   = 16,   /* private */
    NATIVE_WINDOW_SET_BUFFERS_SIZE          = 17,   /* private */
#ifdef QCOM_HARDWARE
    NATIVE_WINDOW_SET_MIN_UNDEQUEUED_BUFFER_COUNT = 18, /* private */
#endif
};

/* parameter for NATIVE_WINDOW_[API_][DIS]CONNECT */