Sdílet prostřednictvím


HardwareRenderer.NotifyFramePending Method

Definition

Notifies the hardware renderer that a call to FrameRenderRequest#syncAndDraw() will be coming soon.

[Android.Runtime.Register("notifyFramePending", "()V", "GetNotifyFramePendingHandler", ApiSince=29)]
public virtual void NotifyFramePending ();
[<Android.Runtime.Register("notifyFramePending", "()V", "GetNotifyFramePendingHandler", ApiSince=29)>]
abstract member NotifyFramePending : unit -> unit
override this.NotifyFramePending : unit -> unit
Attributes

Remarks

Notifies the hardware renderer that a call to FrameRenderRequest#syncAndDraw() will be coming soon. This is used to help schedule when RenderThread-driven animations will happen as the renderer wants to avoid producing more than one frame per vsync signal.

Java documentation for android.graphics.HardwareRenderer.notifyFramePending().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to