Searched refs:rsAssert (Results 1 – 20 of 20) sorted by relevance
34 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()65 rsAssert(mKind != RS_KIND_INVALID); in set()[all …]
41 rsAssert(mAllocation.get()); in getElement()42 rsAssert(mAllocation->getPtr()); in getElement()43 rsAssert(mAllocation->getType()); in getElement()89 rsAssert(!"Cannot contrain X in an 1D adapter"); in rsi_Adapter1DSetConstraint()104 rsAssert(!"Unimplemented constraint"); in rsi_Adapter1DSetConstraint()140 rsAssert(mAllocation.get()); in getElement()141 rsAssert(mAllocation->getPtr()); in getElement()142 rsAssert(mAllocation->getType()); in getElement()160 rsAssert(mAllocation.get()); in subData()161 rsAssert(mAllocation->getPtr()); in subData()[all …]
36 rsAssert(rsc); in ObjectBase()57 rsAssert(!mUserRefCount); in ~ObjectBase()58 rsAssert(!mSysRefCount); in ~ObjectBase()112 rsAssert(mUserRefCount > 0); in decUserRef()139 rsAssert(mSysRefCount > 0); in decSysRef()166 rsAssert(!mNext); in add()167 rsAssert(!mPrev); in add()181 rsAssert(!mPrev); in remove()182 rsAssert(!mNext); in remove()
61 rsAssert(ret == bytes); in writeAsync()73 rsAssert(ret == retBytes); in writeWaitReturn()83 rsAssert(ret == bytes || mShutdown); in read()
453 rsAssert(mExit); in ~Context()471 rsAssert(mIsGraphicsContext); in setSurface()509 rsAssert(mIsGraphicsContext); in pause()514 rsAssert(mIsGraphicsContext); in resume()519 rsAssert(mIsGraphicsContext); in setRootScript()524 rsAssert(mIsGraphicsContext); in setProgramStore()533 rsAssert(mIsGraphicsContext); in setProgramFragment()542 rsAssert(mIsGraphicsContext); in setProgramRaster()551 rsAssert(mIsGraphicsContext); in setProgramVertex()560 rsAssert(mIsGraphicsContext); in setFont()[all …]
73 rsAssert(lod < mHal.state.lodCount); in getLODDimX()77 rsAssert(lod < mHal.state.lodCount); in getLODDimY()81 rsAssert(lod < mHal.state.lodCount); in getLODDimZ()85 rsAssert(lod < mHal.state.lodCount); in getLODOffset()
41 #define rsAssert(v) do {if(!(v)) ALOGE("rsAssert failed: %s, in %s at %i", #v, __FILE__, __LINE__);… macro43 #define rsAssert(v) while (0)
59 rsAssert(0); in rsDeviceSetConfig()
268 rsAssert(idxCount == primTypeCount); in rsi_MeshCreate()299 rsAssert(vtxDataCount == sm->mHal.state.vertexBuffersCount); in rsaMeshGetVertices()309 rsAssert(idxDataCount == sm->mHal.state.primitivesCount); in rsaMeshGetIndices()
55 rsAssert(!mTypes.size()); in ~TypeState()59 rsAssert(mHal.state.faces); in getOffsetForFace()318 rsAssert(typeDataSize == 6); in rsaTypeGetNativeData()
375 rsAssert(!mElements.size()); in ~ElementState()412 rsAssert(elemDataSize == 5); in rsaElementGetNativeData()426 rsAssert(e->getFieldCount() == dataSize); in rsaElementGetSubElements()
27 rsAssert(0); in Sampler()
156 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); in playCoreCommands()
103 rsAssert(!"Allocation::subData called with mismatched size"); in data()189 rsAssert(0); in removeProgramToDirty()
375 rsAssert(!mActiveFonts.size()); in ~FontState()
60 rsAssert(tls); in setTLS()323 rsAssert(mtls.kernel != NULL); in rsdScriptInvokeForEach()346 rsAssert(sc->xStart < mtls.dimX); in rsdScriptInvokeForEach()347 rsAssert(sc->xEnd <= mtls.dimX); in rsdScriptInvokeForEach()348 rsAssert(sc->xStart < sc->xEnd); in rsdScriptInvokeForEach()357 rsAssert(sc->yStart < mtls.dimY); in rsdScriptInvokeForEach()358 rsAssert(sc->yEnd <= mtls.dimY); in rsdScriptInvokeForEach()359 rsAssert(sc->yStart < sc->yEnd); in rsdScriptInvokeForEach()370 rsAssert(!ain || (ain->getType()->getDimZ() == 0)); in rsdScriptInvokeForEach()511 rsAssert(dimLength == 1); in rsdScriptSetGlobalVarWithElemDims()
147 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()594 rsAssert(e->mHal.state.fieldsCount); in initAddUserElement()
87 rsAssert(drv->textureID); in Update2DTexture()202 rsAssert(!alloc->mHal.state.type->getDimY()); in UploadToBufferObject()203 rsAssert(!alloc->mHal.state.type->getDimZ()); in UploadToBufferObject()371 rsAssert(src == RS_ALLOCATION_USAGE_SCRIPT); in rsdAllocationSyncAll()
299 rsAssert(android_atomic_acquire_load(&dc->mWorkers.mRunningCount) == 0); in Shutdown()
233 rsAssert(configAttribsPtr < (configAttribs + configAttribsLen)); in getConfigData()