MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / MakeGlTextureRef

Function MakeGlTextureRef

tensorflow/lite/delegates/gpu/gl/runtime.cc:130–133  ·  view source on GitHub ↗

Makes read-write gl texture

Source from the content-addressed store, hash-verified

128
129// Makes read-write gl texture
130Status MakeGlTextureRef(const Object& object, GlTexture* gl_texture) {
131 return absl::visit(TextureRefMaker{object.data_type, gl_texture},
132 object.size);
133}
134
135Status MakeGlBuffer(const Object& object, const ObjectData& data,
136 GlBuffer* gl_buffer) {

Callers 1

Calls 1

visitFunction · 0.50

Tested by

no test coverage detected