Skip to content

[Android] Uncapped framerates (300fps) on SKGLView.PaintSurface after updating package #533

Open
@Suprndm

Description

@Suprndm

Description

Application framerate went from a capped 60fps to a ~300fps.

Upgrading to SkiaSharp.Views.Forms version="1.60.1" from version="1.59.3"
Using SKGLView with HasRenderLoop to true,

Expected behavior

Like in version="1.59.3" framerate should not go higher than 60fps

Actual behavior

Framerate is not fixed, going from 60fps to 1000fps.
It modifies all the animations of the application that are frame based.

Basic Information

Framerate is based on the elapsedTime between each PaintSurface event.

  • Version with issue: 1.60.1
  • Last known good version: 1.59.3
  • Xamarin Version : Xamarin.Forms version="3.0.0.446417"
  • IDE: Visual Studio Community 2017
  • Platform Target Frameworks:
    • Android: 7 API 24
  • Target Devices:
    • Samsung galaxy S7 Edge

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions