mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-31 08:49:09 -04:00
23 lines
1.0 KiB
Odin
23 lines
1.0 KiB
Odin
// Generated by core/sys/android/_gen/generate.py from the Android NDK headers. DO NOT EDIT.
|
|
// Source: <android/surface_texture.h>, <android/surface_texture_jni.h> (NDK r30, 30.0.16248370)
|
|
#+build linux
|
|
package android
|
|
|
|
import "core:c"
|
|
|
|
foreign import libandroid "system:android"
|
|
|
|
ASurfaceTexture :: struct {}
|
|
|
|
@(default_calling_convention="c")
|
|
foreign libandroid {
|
|
ASurfaceTexture_release :: proc(st: ^ASurfaceTexture) ---
|
|
ASurfaceTexture_acquireANativeWindow :: proc(st: ^ASurfaceTexture) -> ^ANativeWindow ---
|
|
ASurfaceTexture_attachToGLContext :: proc(st: ^ASurfaceTexture, texName: u32) -> c.int ---
|
|
ASurfaceTexture_detachFromGLContext :: proc(st: ^ASurfaceTexture) -> c.int ---
|
|
ASurfaceTexture_updateTexImage :: proc(st: ^ASurfaceTexture) -> c.int ---
|
|
ASurfaceTexture_getTransformMatrix :: proc(st: ^ASurfaceTexture, mtx: ^f32) ---
|
|
ASurfaceTexture_getTimestamp :: proc(st: ^ASurfaceTexture) -> i64 ---
|
|
ASurfaceTexture_fromSurfaceTexture :: proc(env: ^JNIEnv, surfacetexture: jobject) -> ^ASurfaceTexture ---
|
|
}
|