Documentation
¶
Overview ¶
Raw CGo bindings for Android choreographer
Index ¶
- func AChoreographerFrameCallbackData_getFrameTimeNanos(data *AChoreographerFrameCallbackData) int64
- func AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos(data *AChoreographerFrameCallbackData, index uint64) int64
- func AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos(data *AChoreographerFrameCallbackData, index uint64) int64
- func AChoreographerFrameCallbackData_getFrameTimelinesLength(data *AChoreographerFrameCallbackData) uint64
- func AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(data *AChoreographerFrameCallbackData) uint64
- func AChoreographer_frameCallback64A698EB9E(cframeTimeNanos C.int64_t, cdata unsafe.Pointer)
- func AChoreographer_frameCallbackB2A0E09C(cframeTimeNanos C.int64_t, cdata unsafe.Pointer)
- func AChoreographer_postFrameCallback(choreographer *AChoreographer, callback AChoreographer_frameCallback, ...)
- func AChoreographer_postFrameCallback64(choreographer *AChoreographer, callback AChoreographer_frameCallback64, ...)
- func AChoreographer_postFrameCallbackDelayed(choreographer *AChoreographer, callback AChoreographer_frameCallback, ...)
- func AChoreographer_postFrameCallbackDelayed64(choreographer *AChoreographer, callback AChoreographer_frameCallback64, ...)
- func AChoreographer_postVsyncCallback(choreographer *AChoreographer, callback AChoreographer_vsyncCallback, ...)
- func AChoreographer_refreshRateCallback872A4FEA(cvsyncPeriodNanos C.int64_t, cdata unsafe.Pointer)
- func AChoreographer_registerRefreshRateCallback(choreographer *AChoreographer, p1 AChoreographer_refreshRateCallback, ...)
- func AChoreographer_unregisterRefreshRateCallback(choreographer *AChoreographer, p1 AChoreographer_refreshRateCallback, ...)
- func AChoreographer_vsyncCallbackC3E58802(ccallbackData *C.AChoreographerFrameCallbackData, cdata unsafe.Pointer)
- type AChoreographer
- type AChoreographerFrameCallbackData
- type AChoreographer_frameCallback
- type AChoreographer_frameCallback64
- type AChoreographer_refreshRateCallback
- type AChoreographer_vsyncCallback
- type AVsyncId
- type CgoAllocMap
- type SliceHeader
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_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_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 ¶
func NewAChoreographer_frameCallbackRef ¶
func NewAChoreographer_frameCallbackRef(ref unsafe.Pointer) *AChoreographer_frameCallback
func (AChoreographer_frameCallback) PassRef ¶
func (x AChoreographer_frameCallback) PassRef() (ref *C.AChoreographer_frameCallback, allocs *CgoAllocMap)
func (AChoreographer_frameCallback) PassValue ¶
func (x AChoreographer_frameCallback) PassValue() (ref C.AChoreographer_frameCallback, allocs *CgoAllocMap)
type AChoreographer_frameCallback64 ¶
func NewAChoreographer_frameCallback64Ref ¶
func NewAChoreographer_frameCallback64Ref(ref unsafe.Pointer) *AChoreographer_frameCallback64
func (AChoreographer_frameCallback64) PassRef ¶
func (x AChoreographer_frameCallback64) PassRef() (ref *C.AChoreographer_frameCallback64, allocs *CgoAllocMap)
func (AChoreographer_frameCallback64) PassValue ¶
func (x AChoreographer_frameCallback64) PassValue() (ref C.AChoreographer_frameCallback64, allocs *CgoAllocMap)
type AChoreographer_refreshRateCallback ¶
func NewAChoreographer_refreshRateCallbackRef ¶
func NewAChoreographer_refreshRateCallbackRef(ref unsafe.Pointer) *AChoreographer_refreshRateCallback
func (AChoreographer_refreshRateCallback) PassRef ¶
func (x AChoreographer_refreshRateCallback) PassRef() (ref *C.AChoreographer_refreshRateCallback, allocs *CgoAllocMap)
func (AChoreographer_refreshRateCallback) PassValue ¶
func (x AChoreographer_refreshRateCallback) PassValue() (ref C.AChoreographer_refreshRateCallback, allocs *CgoAllocMap)
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 (x AChoreographer_vsyncCallback) PassRef() (ref *C.AChoreographer_vsyncCallback, allocs *CgoAllocMap)
func (AChoreographer_vsyncCallback) PassValue ¶
func (x AChoreographer_vsyncCallback) PassValue() (ref C.AChoreographer_vsyncCallback, allocs *CgoAllocMap)
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
Click to show internal directories.
Click to hide internal directories.