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

Method BufferBinder

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

Source from the content-addressed store, hash-verified

207class BufferBinder {
208 public:
209 BufferBinder(GLenum target, GLuint id) : target_(target), prev_id_(0) {
210 TFLITE_GPU_CALL_GL(glBindBuffer, target_, id).IgnoreError();
211 }
212
213 BufferBinder(GLenum target, GLuint id, GLuint prev_id)
214 : target_(target), prev_id_(prev_id) {

Callers

nothing calls this directly

Calls 1

IgnoreErrorMethod · 0.45

Tested by

no test coverage detected