package debug

import "github.com/fyne-io/mobile/exp/app/debug"

Package debug provides GL-based debugging tools for apps.

Index

Types

type FPS

type FPS struct {
	// contains filtered or unexported fields
}

FPS draws a count of the frames rendered per second.

func NewFPS

func NewFPS(images *glutil.Images) *FPS

NewFPS creates an FPS tied to the current GL context.

func (*FPS) Draw

func (p *FPS) Draw(sz size.Event)

Draw draws the per second framerate in the bottom-left of the screen.

func (*FPS) Release

func (f *FPS) Release()

Source Files

fps.go

Version
v0.1.2 (latest)
Published
Dec 29, 2020
Platform
linux/amd64
Imports
7 packages
Last checked
1 hour ago

Tools for package owners.