Lines Matching refs:BufferObj
20 class BufferObj { class
24 BufferObj(GrGLuint id) : fID(id), fDataPtr(nullptr), fSize(0), fMapped(false) {} in BufferObj() function in BufferObj
25 ~BufferObj() { delete[] fDataPtr; } in ~BufferObj()
70 BufferObj* lookUp(GrGLuint id) { in lookUp()
71 BufferObj* buffer = fBuffers[id]; in lookUp()
76 BufferObj* create() { in create()
78 BufferObj* buffer; in create()
83 buffer = new BufferObj(id); in create()
90 buffer = new BufferObj(id); in create()
97 void free(BufferObj* buffer) { in free()
103 fBuffers[id] = reinterpret_cast<BufferObj*>(fFreeListHead); in free()
112 SkTDArray<BufferObj*> fBuffers;
158 BufferObj* buffer = state->fBufferManager.create(); in nullGLGenBuffers()
191 BufferObj* buffer = state->fBufferManager.lookUp(id); in nullGLBufferData()
254 BufferObj* buffer = state->fBufferManager.lookUp(ids[i]); in nullGLDeleteBuffers()
280 BufferObj* buffer = state->fBufferManager.lookUp(id); in nullGLMapBufferRange()
307 BufferObj* buffer = state->fBufferManager.lookUp(id); in nullGLMapBuffer()
340 BufferObj* buffer = state->fBufferManager.lookUp(id); in nullGLUnmapBuffer()
371 BufferObj* buffer = state->fBufferManager.lookUp(id); in nullGLGetBufferParameteriv()