choreographer

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Raw CGo bindings for Android choreographer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AChoreographerFrameCallbackData_getFrameTimeNanos

func AChoreographerFrameCallbackData_getFrameTimeNanos(data *AChoreographerFrameCallbackData) int64

func AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos

func AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos(data *AChoreographerFrameCallbackData, index uint64) int64

func AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos

func AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos(data *AChoreographerFrameCallbackData, index uint64) int64

func AChoreographerFrameCallbackData_getFrameTimelinesLength

func AChoreographerFrameCallbackData_getFrameTimelinesLength(data *AChoreographerFrameCallbackData) uint64

func AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex

func AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(data *AChoreographerFrameCallbackData) uint64

func AChoreographer_frameCallback64A698EB9E

func AChoreographer_frameCallback64A698EB9E(cframeTimeNanos C.int64_t, cdata unsafe.Pointer)

func AChoreographer_frameCallbackB2A0E09C

func AChoreographer_frameCallbackB2A0E09C(cframeTimeNanos C.int64_t, cdata unsafe.Pointer)

func AChoreographer_postFrameCallback

func AChoreographer_postFrameCallback(choreographer *AChoreographer, callback AChoreographer_frameCallback, data unsafe.Pointer)

func AChoreographer_postFrameCallback64

func AChoreographer_postFrameCallback64(choreographer *AChoreographer, callback AChoreographer_frameCallback64, data unsafe.Pointer)

func AChoreographer_postFrameCallbackDelayed

func AChoreographer_postFrameCallbackDelayed(choreographer *AChoreographer, callback AChoreographer_frameCallback, data unsafe.Pointer, delayMillis int64)

func AChoreographer_postFrameCallbackDelayed64

func AChoreographer_postFrameCallbackDelayed64(choreographer *AChoreographer, callback AChoreographer_frameCallback64, data unsafe.Pointer, delayMillis uint32)

func AChoreographer_postVsyncCallback

func AChoreographer_postVsyncCallback(choreographer *AChoreographer, callback AChoreographer_vsyncCallback, data unsafe.Pointer)

func AChoreographer_refreshRateCallback872A4FEA

func AChoreographer_refreshRateCallback872A4FEA(cvsyncPeriodNanos C.int64_t, cdata unsafe.Pointer)

func AChoreographer_registerRefreshRateCallback

func AChoreographer_registerRefreshRateCallback(choreographer *AChoreographer, p1 AChoreographer_refreshRateCallback, data unsafe.Pointer)

func AChoreographer_unregisterRefreshRateCallback

func AChoreographer_unregisterRefreshRateCallback(choreographer *AChoreographer, p1 AChoreographer_refreshRateCallback, data unsafe.Pointer)

func AChoreographer_vsyncCallbackC3E58802

func AChoreographer_vsyncCallbackC3E58802(ccallbackData *C.AChoreographerFrameCallbackData, cdata unsafe.Pointer)

Types

type AChoreographer

type AChoreographer C.AChoreographer

func AChoreographer_getInstance

func AChoreographer_getInstance() *AChoreographer

type AChoreographerFrameCallbackData

type AChoreographerFrameCallbackData C.AChoreographerFrameCallbackData

type AChoreographer_frameCallback

type AChoreographer_frameCallback func(frameTimeNanos int64, data unsafe.Pointer)

func NewAChoreographer_frameCallbackRef

func NewAChoreographer_frameCallbackRef(ref unsafe.Pointer) *AChoreographer_frameCallback

func (AChoreographer_frameCallback) PassRef

func (AChoreographer_frameCallback) PassValue

type AChoreographer_frameCallback64

type AChoreographer_frameCallback64 func(frameTimeNanos int64, data unsafe.Pointer)

func NewAChoreographer_frameCallback64Ref

func NewAChoreographer_frameCallback64Ref(ref unsafe.Pointer) *AChoreographer_frameCallback64

func (AChoreographer_frameCallback64) PassRef

func (AChoreographer_frameCallback64) PassValue

type AChoreographer_refreshRateCallback

type AChoreographer_refreshRateCallback func(vsyncPeriodNanos int64, data unsafe.Pointer)

func NewAChoreographer_refreshRateCallbackRef

func NewAChoreographer_refreshRateCallbackRef(ref unsafe.Pointer) *AChoreographer_refreshRateCallback

func (AChoreographer_refreshRateCallback) PassRef

func (AChoreographer_refreshRateCallback) PassValue

type AChoreographer_vsyncCallback

type AChoreographer_vsyncCallback func(callbackData *AChoreographerFrameCallbackData, data unsafe.Pointer)

func NewAChoreographer_vsyncCallbackRef

func NewAChoreographer_vsyncCallbackRef(ref unsafe.Pointer) *AChoreographer_vsyncCallback

func (AChoreographer_vsyncCallback) PassRef

func (AChoreographer_vsyncCallback) PassValue

type AVsyncId

type AVsyncId int64

func AChoreographerFrameCallbackData_getFrameTimelineVsyncId

func AChoreographerFrameCallbackData_getFrameTimelineVsyncId(data *AChoreographerFrameCallbackData, index uint64) AVsyncId

type CgoAllocMap

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

CgoAllocMap stores pointers to C allocated memory for future reference.

func (*CgoAllocMap) Add

func (a *CgoAllocMap) Add(ptr unsafe.Pointer)

func (*CgoAllocMap) Borrow

func (a *CgoAllocMap) Borrow(b *CgoAllocMap)

func (*CgoAllocMap) Free

func (a *CgoAllocMap) Free()

func (*CgoAllocMap) IsEmpty

func (a *CgoAllocMap) IsEmpty() bool

type SliceHeader

type SliceHeader struct {
	Data unsafe.Pointer
	Len  int
	Cap  int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL