diff options
author | Mathias Agopian <mathias@google.com> | 2018-01-30 18:07:27 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2018-02-02 03:06:05 +0000 |
commit | c3c8d423de89f511ce9997a67c97a4fb371f2213 (patch) | |
tree | eabcbb02d68c8844a5549d21aa8a0b53d9b22b85 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2c7ae06c99dccb266dcc2e48fffc5ea933804a98 (diff) |
New NDK APIs for SurfaceTexture
These native APIs give access to most SurfaceTexture
java APIs from native code.
In addition to java APIs it also gives access to
the current buffer using AHardwareBuffer.
The main goal of this is to allow game engines
(mostly) to access things like camera or video
without having to call back into java from
their GL thread.
Test: Manual with filament. Created a SurfaceTexture from java
pointed to a camera stream. Visualized the
camera stream on a 3D mesh.
Change-Id: I0aa104c38553b00f9dadbbaecca06be5dd2868ea
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions