surfacetexture

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 SurfaceTexture

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ASurfaceTexture_attachToGLContext

func ASurfaceTexture_attachToGLContext(st *ASurfaceTexture, texName uint32) int32

func ASurfaceTexture_detachFromGLContext

func ASurfaceTexture_detachFromGLContext(st *ASurfaceTexture) int32

func ASurfaceTexture_getTimestamp

func ASurfaceTexture_getTimestamp(st *ASurfaceTexture) int64

func ASurfaceTexture_getTransformMatrix

func ASurfaceTexture_getTransformMatrix(st *ASurfaceTexture, mtx *[16]float32)

func ASurfaceTexture_release

func ASurfaceTexture_release(st *ASurfaceTexture)

func ASurfaceTexture_updateTexImage

func ASurfaceTexture_updateTexImage(st *ASurfaceTexture) int32

Types

type ANativeWindow

type ANativeWindow C.ANativeWindow

func ASurfaceTexture_acquireANativeWindow

func ASurfaceTexture_acquireANativeWindow(st *ASurfaceTexture) *ANativeWindow

type ASurfaceTexture

type ASurfaceTexture C.ASurfaceTexture

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