Lines Matching refs:mallocPtr

87     uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;  in GetOffsetPtr()
172 if (!alloc->mHal.drvState.lod[0].mallocPtr) { in UploadToTexture()
186 if (alloc->mHal.drvState.lod[0].mallocPtr) { in UploadToTexture()
187 free(alloc->mHal.drvState.lod[0].mallocPtr); in UploadToTexture()
188 alloc->mHal.drvState.lod[0].mallocPtr = nullptr; in UploadToTexture()
240 alloc->mHal.drvState.lod[0].mallocPtr, GL_DYNAMIC_DRAW); in UploadToBufferObject()
271 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
276 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + in DeriveYUVLayout()
284 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
286 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + 1; in DeriveYUVLayout()
301 alloc->mHal.drvState.lod[0].mallocPtr = 0; in AllocationBuildPointerTable()
317 offsets[ct] = (size_t)alloc->mHal.drvState.lod[ct].mallocPtr; in AllocationBuildPointerTable()
339 alloc->mHal.drvState.lod[0].mallocPtr = ptr; in AllocationBuildPointerTable()
341 alloc->mHal.drvState.lod[lod].mallocPtr = ptr + offsets[lod]; in AllocationBuildPointerTable()
513 alloc->mHal.drvState.lod[lod].mallocPtr = GetOffsetPtr(alloc, in rsdAllocationAdapterOffset()
553 if (alloc->mHal.drvState.lod[0].mallocPtr) { in rsdAllocationDestroy()
558 free(alloc->mHal.drvState.lod[0].mallocPtr); in rsdAllocationDestroy()
560 alloc->mHal.drvState.lod[0].mallocPtr = nullptr; in rsdAllocationDestroy()
601 void * oldPtr = alloc->mHal.drvState.lod[0].mallocPtr; in rsdAllocationResize()
614 memset(((uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr) + stride * oldDimX, in rsdAllocationResize()
645 drv->glFormat, drv->glType, alloc->mHal.drvState.lod[0].mallocPtr); in rsdAllocationSyncFromFBO()
723 alloc->mHal.drvState.lod[0].mallocPtr = dst; in IoGetBuffer()
847 if (alloc->mHal.drvState.lod[0].mallocPtr) { in rsdAllocationData2D()
911 if (alloc->mHal.drvState.lod[0].mallocPtr) { in rsdAllocationData3D()
958 if (alloc->mHal.drvState.lod[0].mallocPtr) { in rsdAllocationRead2D()
988 if (alloc->mHal.drvState.lod[0].mallocPtr) { in rsdAllocationRead3D()
1010 return alloc->mHal.drvState.lod[0].mallocPtr; in rsdAllocationLock1D()
1187 if(!alloc->mHal.drvState.lod[0].mallocPtr) { in rsdAllocationGenerateMipmaps()