Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsProgramVertex.cpp46 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in setup()
73 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in setProjectionMatrix()
89 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in setModelviewMatrix()
105 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in setTextureMatrix()
121 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in getProjectionMatrix()
129 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); in transformToScreen()
207 float *f = static_cast<float *>(mDefaultAlloc->getPtr()); in updateSize()
DrsAdapter.cpp41 rsAssert(mAllocation->getPtr()); in getElement()
43 uint8_t * ptr = static_cast<uint8_t *>(mAllocation->getPtr()); in getElement()
140 rsAssert(mAllocation->getPtr()); in getElement()
147 uint8_t * ptr = static_cast<uint8_t *>(mAllocation->getPtr()); in getElement()
160 rsAssert(mAllocation->getPtr()); in subData()
DrsAllocation.cpp70 memcpy(data, getPtr(), mHal.state.type->getSizeBytes()); in read()
195 prefix, getPtr(), mHal.state.usageFlags, mHal.state.mipmapControl); in dumpLOGV()
213 stream->addByteArray(getPtr(), dataSize); in serialize()
248 alloc->data(rsc, 0, 0, count, stream->getPtr() + stream->getPos(), dataSize); in createFromStream()
291 decRefs(getPtr(), mHal.state.type->getSizeBytes() / mHal.state.type->getElementSizeBytes(), 0); in freeChildrenUnlocked()
314 decRefs(getPtr(), oldDimX - dimX, dimX); in resize1D()
422 memcpy(data, texAlloc->getPtr(), s); in rsi_AllocationCopyToBitmap()
504 memcpy(texAlloc->getPtr(), data, t->getDimX() * t->getDimY() * t->getElementSizeBytes()); in rsi_AllocationCreateFromBitmap()
DrsStream.h73 const uint8_t * getPtr() const { in getPtr() function
145 const uint8_t * getPtr() const { in getPtr() function
DrsScriptC.cpp64 ptr = mSlots[ct]->getPtr(); in setupScript()
79 if (mSlots[ct]->getPtr() == ptr) { in ptrToAllocation()
DrsAllocation.h73 void * getPtr() const {return mHal.drvState.mallocPtr;} in getPtr() function
DrsFileA3D.cpp327 fwrite(headerStream.getPtr(), sizeof(uint8_t), headerStream.getPos(), writeHandle); in writeFile()
333 fwrite(mWriteStream->getPtr(), sizeof(uint8_t), mWriteStream->getPos(), writeHandle); in writeFile()
DrsProgramFragment.cpp54 memcpy(mHal.state.constants[0]->getPtr(), mConstantColor, 4*sizeof(float)); in setConstantColor()
DrsScriptC_LibGL.cpp277 const char *text = (const char *)a->getPtr(); in rsrDrawTextAlloc()
306 const char *text = (const char *)a->getPtr(); in rsrMeasureTextAlloc()
DrsScript.cpp50 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a->getPtr()); in setSlot()
DrsFont.h218 return (uint8_t*)mTextTexture->getPtr(); in getTextTextureData()
DrsFont.cpp455 uint8_t *cacheBuffer = (uint8_t*)mTextTexture->getPtr(); in cacheBitmap()
565 uint16_t *indexPtr = (uint16_t*)indexAlloc->getPtr(); in initVertexArrayBuffers()
597 mTextMeshPtr = (float*)vertexAlloc->getPtr(); in initVertexArrayBuffers()
DrsMesh.cpp224 posPtr = (float*)((uint8_t*)mHal.state.vertexBuffers[ct]->getPtr() + offset); in computeBBox()
/frameworks/compile/slang/
Dslang.cpp260 return new Backend(mDiagnostics.getPtr(), in createBackend()
279 llvm::install_fatal_error_handler(LLVMErrorHandler, mDiagnostics.getPtr()); in init()
336 OS = OpenOutputFile(OutputFile, 0, &Error, mDiagnostics.getPtr()); in setOutput()
347 mDiagnostics.getPtr()); in setOutput()
369 mDOS.reset(OpenOutputFile(OutputFile, 0, &Error, mDiagnostics.getPtr())); in setDepOutput()
/frameworks/base/libs/rs/driver/
DrsdAllocation.cpp141 if (!alloc->getPtr()) { in UploadToTexture()
327 drv->glFormat, drv->glType, alloc->getPtr()); in rsdAllocationSyncFromFBO()
438 uint8_t *ptr = static_cast<uint8_t *>(alloc->getPtr()); in getOffsetPtr()
DrsdBcc.cpp368 mtls.ptrIn = (const uint8_t *)ain->getPtr(); in rsdScriptInvokeForEach()
375 mtls.ptrOut = (uint8_t *)aout->getPtr(); in rsdScriptInvokeForEach()
DrsdShader.cpp459 const uint8_t *data = static_cast<const uint8_t *>(alloc->getPtr()); in setupUserConstants()