Home
last modified time | relevance | path

Searched refs:rsAssert (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/rs/
DrsComponent.cpp34 rsAssert(vecSize <= 4); in set()
46 rsAssert(mVectorSize == 1); in set()
47 rsAssert(mNormalized == true); in set()
51 rsAssert(mVectorSize == 2); in set()
52 rsAssert(mNormalized == true); in set()
56 rsAssert(mVectorSize == 3); in set()
57 rsAssert(mNormalized == true); in set()
61 rsAssert(mVectorSize == 4); in set()
62 rsAssert(mNormalized == true); in set()
66 rsAssert(mVectorSize == 1); in set()
[all …]
DrsObjectBase.cpp38 rsAssert(rsc); in ObjectBase()
63 rsAssert(!mUserRefCount); in ~ObjectBase()
64 rsAssert(!mSysRefCount); in ~ObjectBase()
118 rsAssert(mUserRefCount > 0); in decUserRef()
147 rsAssert(mSysRefCount > 0); in decSysRef()
163 rsAssert(c); in setName()
179 rsAssert(!mNext); in add()
180 rsAssert(!mPrev); in add()
192 rsAssert(!mPrev); in remove()
193 rsAssert(!mNext); in remove()
DrsAdapter.cpp70 rsAssert(!"Cannot contrain X in an 1D adapter"); in rsi_Adapter1DSetConstraint()
85 rsAssert(!"Unimplemented constraint"); in rsi_Adapter1DSetConstraint()
144 rsAssert(!"Cannot contrain X in an 2D adapter"); in rsi_Adapter2DSetConstraint()
147 rsAssert(!"Cannot contrain Y in an 2D adapter"); in rsi_Adapter2DSetConstraint()
159 rsAssert(!"Unimplemented constraint"); in rsi_Adapter2DSetConstraint()
DrsFifoSocket.cpp58 rsAssert(ret == bytes); in writeAsync()
73 rsAssert(ret == retBytes); in writeWaitReturn()
83 rsAssert(ret == bytes || mShutdown); in read()
DrsContext.cpp628 rsAssert(mExit); in ~Context()
647 rsAssert(mIsGraphicsContext); in setSurface()
685 rsAssert(mIsGraphicsContext); in pause()
690 rsAssert(mIsGraphicsContext); in resume()
695 rsAssert(mIsGraphicsContext); in setRootScript()
700 rsAssert(mIsGraphicsContext); in setProgramStore()
709 rsAssert(mIsGraphicsContext); in setProgramFragment()
718 rsAssert(mIsGraphicsContext); in setProgramRaster()
727 rsAssert(mIsGraphicsContext); in setProgramVertex()
736 rsAssert(mIsGraphicsContext); in setFont()
[all …]
DrsType.h76 rsAssert(lod < mHal.state.lodCount); in getLODDimX()
80 rsAssert(lod < mHal.state.lodCount); in getLODDimY()
84 rsAssert(lod < mHal.state.lodCount); in getLODDimZ()
DrsCppUtils.h193 #define rsAssert(v) do {if(!(v)) ALOGE("rsAssert failed: %s, in %s at %i", #v, __FILE__, __LINE__);… macro
195 #define rsAssert(v) while (0) macro
250 rsAssert(false && "Must be power of 2 for rounding up"); in rsRound()
255 rsAssert(false && "Overflow of rounding operation"); in rsRound()
DrsDevice.cpp59 rsAssert(0); in rsDeviceSetConfig()
DrsMesh.cpp273 rsAssert(idxCount == primTypeCount); in rsi_MeshCreate()
304 rsAssert(vtxDataCount == sm->mHal.state.vertexBuffersCount); in rsaMeshGetVertices()
314 rsAssert(idxDataCount == sm->mHal.state.primitivesCount); in rsaMeshGetIndices()
DrsType.cpp69 rsAssert(!mTypes.size()); in ~TypeState()
141 rsAssert(0); in compute()
341 rsAssert(typeDataSize == 6); in rsaTypeGetNativeData()
DrsScriptIntrinsic.cpp54 rsAssert(!"ScriptIntrinsic::run - should not happen"); in run()
DrsElement.cpp404 rsAssert(!mElements.size()); in ~ElementState()
441 rsAssert(elemDataSize == 5); in rsaElementGetNativeData()
455 rsAssert(e->getFieldCount() == dataSize); in rsaElementGetSubElements()
DrsSampler.cpp27 rsAssert(0); in Sampler()
DrsThreadIO.cpp156 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); in playCoreCommands()
DrsScriptGroup.cpp267 rsAssert(!"ScriptGroup:setInput kid not found"); in setInput()
281 rsAssert(!"ScriptGroup:setOutput kid not found"); in setOutput()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlend.cpp312 rsAssert(false); in kernel()
316 rsAssert(false); in kernel()
337 rsAssert(false); in kernel()
341 rsAssert(false); in kernel()
345 rsAssert(false); in kernel()
349 rsAssert(false); in kernel()
353 rsAssert(false); in kernel()
357 rsAssert(false); in kernel()
361 rsAssert(false); in kernel()
365 rsAssert(false); in kernel()
[all …]
DrsCpuScript.cpp222 rsAssert(cacheDir && resName && core_lib);
254 rsAssert(bitcode && bitcodeSize);
661 rsAssert(varCount > 0); in init()
840 rsAssert(sc->xStart < mtls->fep.dimX); in forEachMtlsSetup()
841 rsAssert(sc->xEnd <= mtls->fep.dimX); in forEachMtlsSetup()
842 rsAssert(sc->xStart < sc->xEnd); in forEachMtlsSetup()
851 rsAssert(sc->yStart < mtls->fep.dimY); in forEachMtlsSetup()
852 rsAssert(sc->yEnd <= mtls->fep.dimY); in forEachMtlsSetup()
853 rsAssert(sc->yStart < sc->yEnd); in forEachMtlsSetup()
862 rsAssert(sc->zStart < mtls->fep.dimZ); in forEachMtlsSetup()
[all …]
DrsCpuIntrinsicColorMatrix.cpp225 rsAssert(key.u.inType == RS_TYPE_FLOAT_32); in computeKey()
230 rsAssert(key.u.outType == RS_TYPE_FLOAT_32); in computeKey()
379 rsAssert(((off & 0xff000000) == 0) ||
390 rsAssert(vd < 32); in encodeSIMDRegs()
391 rsAssert(vm < 32); in encodeSIMDRegs()
392 rsAssert(vn < 32); in encodeSIMDRegs()
444 rsAssert(imm == 0); in addVMOV_32()
775 rsAssert(0); in setGlobalVar()
DrsCpuIntrinsicHistogram.cpp84 rsAssert(slot == 1); in setGlobalObj()
89 rsAssert(slot == 0); in setGlobalVar()
90 rsAssert(dataLength == 16); in setGlobalVar()
DrsCpuIntrinsicLUT.cpp51 rsAssert(slot == 0); in setGlobalObj()
DrsCpuIntrinsicBlur.cpp104 rsAssert(slot == 1); in setGlobalObj()
109 rsAssert(slot == 0); in setGlobalVar()
434 rsAssert(mRootPtr); in RsdCpuScriptIntrinsicBlur()
DrsCpuCore.cpp337 rsAssert(__sync_fetch_and_or(&mWorkers.mRunningCount, 0) == 0); in ~RsdCpuReferenceImpl()
588 rsAssert(tls); in setTLS()
680 rsAssert(0); in createIntrinsic()
DrsCpuIntrinsicYuvToRGB.cpp59 rsAssert(slot == 0); in setGlobalObj()
/frameworks/rs/driver/
DrsdShader.cpp147 rsAssert(!f->mHal.state.fieldsCount); in getGLSLInputString()
154 rsAssert(0); in getGLSLInputString()
172 rsAssert(!f->mHal.state.fieldsCount); in appendAttributes()
179 rsAssert(0); in appendAttributes()
232 rsAssert(mCurrentState->mShaderID); in loadShader()
282 rsAssert(!f->mHal.state.fieldsCount); in appendUserConstants()
296 rsAssert(0); in appendUserConstants()
346 rsAssert(0); in logUniform()
379 rsAssert(0); in setUniform()
600 rsAssert(e->mHal.state.fieldsCount); in initAddUserElement()
DrsdAllocation.cpp110 rsAssert(drv->textureID); in Update2DTexture()
232 rsAssert(!alloc->mHal.state.type->getDimY()); in UploadToBufferObject()
233 rsAssert(!alloc->mHal.state.type->getDimZ()); in UploadToBufferObject()
296 rsAssert(0); in DeriveYUVLayout()
428 rsAssert(!"Size mismatch"); in rsdAllocationInit()
550 rsAssert(!"Size mismatch"); in rsdAllocationResize()
613 rsAssert(src == RS_ALLOCATION_USAGE_SCRIPT || src == RS_ALLOCATION_USAGE_SHARED); in rsdAllocationSyncAll()
665 rsAssert((alloc->mHal.drvState.lod[0].stride & 0xf) == 0); in IoGetBuffer()
730 rsAssert(e->getType() == RS_TYPE_UNSIGNED_8); in rsdAllocationSetSurface()
731 rsAssert(e->getVectorSize() == 4); in rsdAllocationSetSurface()
[all …]

12