Home
last modified time | relevance | path

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

/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()
65 rsAssert(mKind != RS_KIND_INVALID); in set()
[all …]
DrsAdapter.cpp41 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 …]
DrsObjectBase.cpp36 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()
DrsFifoSocket.cpp61 rsAssert(ret == bytes); in writeAsync()
73 rsAssert(ret == retBytes); in writeWaitReturn()
83 rsAssert(ret == bytes || mShutdown); in read()
DrsContext.cpp453 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 …]
DrsType.h73 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()
DrsUtils.h41 #define rsAssert(v) do {if(!(v)) ALOGE("rsAssert failed: %s, in %s at %i", #v, __FILE__, __LINE__);… macro
43 #define rsAssert(v) while (0)
DrsDevice.cpp59 rsAssert(0); in rsDeviceSetConfig()
DrsMesh.cpp268 rsAssert(idxCount == primTypeCount); in rsi_MeshCreate()
299 rsAssert(vtxDataCount == sm->mHal.state.vertexBuffersCount); in rsaMeshGetVertices()
309 rsAssert(idxDataCount == sm->mHal.state.primitivesCount); in rsaMeshGetIndices()
DrsType.cpp55 rsAssert(!mTypes.size()); in ~TypeState()
59 rsAssert(mHal.state.faces); in getOffsetForFace()
318 rsAssert(typeDataSize == 6); in rsaTypeGetNativeData()
DrsElement.cpp375 rsAssert(!mElements.size()); in ~ElementState()
412 rsAssert(elemDataSize == 5); in rsaElementGetNativeData()
426 rsAssert(e->getFieldCount() == dataSize); in rsaElementGetSubElements()
DrsSampler.cpp27 rsAssert(0); in Sampler()
DrsThreadIO.cpp156 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); in playCoreCommands()
DrsAllocation.cpp103 rsAssert(!"Allocation::subData called with mismatched size"); in data()
189 rsAssert(0); in removeProgramToDirty()
DrsFont.cpp375 rsAssert(!mActiveFonts.size()); in ~FontState()
/frameworks/rs/driver/
DrsdBcc.cpp60 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()
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()
594 rsAssert(e->mHal.state.fieldsCount); in initAddUserElement()
DrsdAllocation.cpp87 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()
DrsdCore.cpp299 rsAssert(android_atomic_acquire_load(&dc->mWorkers.mRunningCount) == 0); in Shutdown()
DrsdGL.cpp233 rsAssert(configAttribsPtr < (configAttribs + configAttribsLen)); in getConfigData()