Home
last modified time | relevance | path

Searched refs:getPtr (Results 1 – 17 of 17) sorted by relevance

/frameworks/rs/
DrsProgramVertex.cpp49 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in setup()
76 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in setProjectionMatrix()
92 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in setModelviewMatrix()
108 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in setTextureMatrix()
124 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in getProjectionMatrix()
132 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in transformToScreen()
210 float *f = static_cast<float *>(mDefaultAlloc->getPtr()); in updateSize()
DrsAdapter.cpp42 rsAssert(mAllocation->getPtr()); in getElement()
44 uint8_t * ptr = static_cast<uint8_t *>(mAllocation->getPtr()); in getElement()
141 rsAssert(mAllocation->getPtr()); in getElement()
148 uint8_t * ptr = static_cast<uint8_t *>(mAllocation->getPtr()); in getElement()
161 rsAssert(mAllocation->getPtr()); in subData()
DrsAllocation.cpp76 memcpy(data, getPtr(), mHal.state.type->getSizeBytes()); in read()
202 prefix, getPtr(), mHal.state.usageFlags, mHal.state.mipmapControl); in dumpLOGV()
261 uint8_t *dst = (uint8_t*)getPtr(); in unpackVec3Allocation()
271 const uint8_t *src = (const uint8_t*)getPtr(); in packVec3Allocation()
298 stream->addByteArray(getPtr(), dataSize); in serialize()
342 alloc->data(rsc, 0, 0, count, stream->getPtr() + stream->getPos(), dataSize); in createFromStream()
344 alloc->unpackVec3Allocation(stream->getPtr() + stream->getPos(), dataSize); in createFromStream()
370 decRefs(getPtr(), mHal.state.type->getSizeBytes() / mHal.state.type->getElementSizeBytes(), 0); in freeChildrenUnlocked()
393 decRefs(getPtr(), oldDimX - dimX, dimX); in resize1D()
541 memcpy(data, texAlloc->getPtr(), s); in rsi_AllocationCopyToBitmap()
[all …]
DrsStream.h73 const uint8_t * getPtr() const { in getPtr() function
145 const uint8_t * getPtr() const { in getPtr() function
DrsScriptC.cpp67 ptr = mSlots[ct]->getPtr(); in setupScript()
82 if (mSlots[ct]->getPtr() == ptr) { in ptrToAllocation()
DrsFileA3D.cpp337 fwrite(headerStream.getPtr(), sizeof(uint8_t), headerStream.getPos(), writeHandle); in writeFile()
343 fwrite(mWriteStream->getPtr(), sizeof(uint8_t), mWriteStream->getPos(), writeHandle); in writeFile()
DrsProgramFragment.cpp56 memcpy(mHal.state.constants[0]->getPtr(), mConstantColor, 4*sizeof(float)); in setConstantColor()
DrsAllocation.h83 void * getPtr() const {return mHal.drvState.mallocPtr;} in getPtr() function
DrsScriptC_LibGL.cpp288 const char *text = (const char *)a->getPtr(); in rsrDrawTextAlloc()
317 const char *text = (const char *)a->getPtr(); in rsrMeasureTextAlloc()
DrsFont.h220 return (uint8_t*)mTextTexture->getPtr(); in getTextTextureData()
DrsScript.cpp52 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a->getPtr()); in setSlot()
DrsFont.cpp456 uint8_t *cacheBuffer = (uint8_t*)mTextTexture->getPtr(); in cacheBitmap()
577 uint16_t *indexPtr = (uint16_t*)indexAlloc->getPtr(); in initVertexArrayBuffers()
609 mTextMeshPtr = (float*)vertexAlloc->getPtr(); in initVertexArrayBuffers()
DrsMesh.cpp233 posPtr = (float*)((uint8_t*)mHal.state.vertexBuffers[ct]->getPtr() + offset); in computeBBox()
/frameworks/rs/driver/
DrsdPath.cpp116 const float *fin = (const float *)vtx->getPtr(); in DrvPathStatic()
DrsdAllocation.cpp154 if (!alloc->getPtr()) { in UploadToTexture()
346 drv->glFormat, drv->glType, alloc->getPtr()); in rsdAllocationSyncFromFBO()
575 uint8_t *ptr = static_cast<uint8_t *>(alloc->getPtr()); in getOffsetPtr()
DrsdBcc.cpp387 mtls.ptrIn = (const uint8_t *)ain->getPtr(); in rsdScriptInvokeForEach()
395 mtls.ptrOut = (uint8_t *)aout->getPtr(); in rsdScriptInvokeForEach()
DrsdShader.cpp526 const uint8_t *data = static_cast<const uint8_t *>(alloc->getPtr()); in setupUserConstants()