| 178 | class 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 |
nothing calls this directly
no test coverage detected