Documentation
¶
Overview ¶
Raw CGo bindings for Android SurfaceTexture
Index ¶
- func ASurfaceTexture_attachToGLContext(st *ASurfaceTexture, texName uint32) int32
- func ASurfaceTexture_detachFromGLContext(st *ASurfaceTexture) int32
- func ASurfaceTexture_getTimestamp(st *ASurfaceTexture) int64
- func ASurfaceTexture_getTransformMatrix(st *ASurfaceTexture, mtx *[16]float32)
- func ASurfaceTexture_release(st *ASurfaceTexture)
- func ASurfaceTexture_updateTexImage(st *ASurfaceTexture) int32
- type ANativeWindow
- type ASurfaceTexture
- type CgoAllocMap
- type SliceHeader
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
Click to show internal directories.
Click to hide internal directories.