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

Method BufferId

tensorflow/lite/delegates/gpu/gl/gl_buffer.h:180–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178class BufferId {
179 public:
180 BufferId() : id_(GL_INVALID_INDEX) {
181 TFLITE_GPU_CALL_GL(glGenBuffers, 1 /* number of buffers */, &id_)
182 .IgnoreError();
183 // only possible error here is when a number of buffers is negative.
184 }
185
186 explicit BufferId(GLuint id) : id_(id) {}
187

Callers

nothing calls this directly

Calls 1

IgnoreErrorMethod · 0.45

Tested by

no test coverage detected