MCPcopy Create free account
hub / github.com/Tencent/tgfx / SurfaceTextureReader

Method SurfaceTextureReader

src/platform/android/SurfaceTextureReader.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39SurfaceTextureReader::SurfaceTextureReader(std::shared_ptr<ImageStream> stream)
40 : ImageReader(std::move(stream)) {
41}
42
43jobject SurfaceTextureReader::getInputSurface() const {
44 return std::static_pointer_cast<SurfaceTexture>(stream)->getInputSurface();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected