Lines Matching refs:fBufferPtr
45 fBufferPtr = NULL;
105 if (NULL != fBufferPtr) {
113 fBufferPtr = NULL;
120 if (NULL != fBufferPtr) {
124 GrAssert(buf->lockPtr() == fBufferPtr);
126 GrAssert(fCpuData.get() == fBufferPtr);
147 if (NULL != fBufferPtr) {
157 return (void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes);
165 GrAssert(NULL != fBufferPtr);
171 return fBufferPtr;
176 if (NULL != fBufferPtr) {
197 if (NULL != fBufferPtr) {
209 GrAssert(NULL == fBufferPtr);
248 if (NULL != fBufferPtr) {
257 fBufferPtr = NULL;
260 GrAssert(NULL == fBufferPtr);
265 fBufferPtr = block.fBuffer->lock();
268 if (NULL == fBufferPtr) {
269 fBufferPtr = fCpuData.realloc(size);
293 fBufferPtr = NULL;
300 GrAssert(fCpuData.get() == fBufferPtr);
309 memcpy(data, fBufferPtr, flushSize);
314 buffer->updateData(fBufferPtr, flushSize);