Lines Matching refs:bo
47 buffer_t* bo = mBuffers.valueAt(i); in ~EGLBufferObjectManager() local
48 free(bo->data); in ~EGLBufferObjectManager()
49 delete bo; in ~EGLBufferObjectManager()
60 buffer_t* bo = new buffer_t; in bind() local
61 bo->data = 0; in bind()
62 bo->usage = GL_STATIC_DRAW; in bind()
63 bo->size = 0; in bind()
64 bo->name = buffer; in bind()
65 mBuffers.add(buffer, bo); in bind()
66 return bo; in bind()
69 int EGLBufferObjectManager::allocateStore(buffer_t* bo, in allocateStore() argument
73 if (size != bo->size) { in allocateStore()
77 free(bo->data); in allocateStore()
78 bo->data = data; in allocateStore()
79 bo->size = size; in allocateStore()
81 bo->usage = usage; in allocateStore()
93 buffer_t* bo = mBuffers.valueAt(index); in deleteBuffers() local
94 free(bo->data); in deleteBuffers()
96 delete bo; in deleteBuffers()