Home
last modified time | relevance | path

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

123

/frameworks/support/renderscript/v8/rs_support/
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 …]
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()
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.cpp61 rsAssert(ret == bytes); in writeAsync()
73 rsAssert(ret == retBytes); in writeWaitReturn()
83 rsAssert(ret == bytes || mShutdown); in read()
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)
DrsContext.cpp318 rsAssert(mExit); in ~Context()
336 rsAssert(!obj->getName()); in assignName()
454 rsAssert(subID_length == sizeof(uint32_t)); in rsi_ContextGetMessage()
455 rsAssert(receiveLen_length == sizeof(size_t)); in rsi_ContextGetMessage()
DrsDevice.cpp59 rsAssert(0); in rsDeviceSetConfig()
/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 …]
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()
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.cpp60 rsAssert(ret == bytes); in writeAsync()
75 rsAssert(ret == retBytes); in writeWaitReturn()
85 rsAssert(ret == bytes || mShutdown); in read()
DrsContext.cpp506 rsAssert(mExit); in ~Context()
524 rsAssert(mIsGraphicsContext); in setSurface()
562 rsAssert(mIsGraphicsContext); in pause()
567 rsAssert(mIsGraphicsContext); in resume()
572 rsAssert(mIsGraphicsContext); in setRootScript()
577 rsAssert(mIsGraphicsContext); in setProgramStore()
586 rsAssert(mIsGraphicsContext); in setProgramFragment()
595 rsAssert(mIsGraphicsContext); in setProgramRaster()
604 rsAssert(mIsGraphicsContext); in setProgramVertex()
613 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()
/frameworks/rs/driver/
DrsdIntrinsicBlend.cpp270 rsAssert(false); in ColorMatrix_uchar4()
274 rsAssert(false); in ColorMatrix_uchar4()
293 rsAssert(false); in ColorMatrix_uchar4()
297 rsAssert(false); in ColorMatrix_uchar4()
301 rsAssert(false); in ColorMatrix_uchar4()
305 rsAssert(false); in ColorMatrix_uchar4()
309 rsAssert(false); in ColorMatrix_uchar4()
313 rsAssert(false); in ColorMatrix_uchar4()
317 rsAssert(false); in ColorMatrix_uchar4()
321 rsAssert(false); in ColorMatrix_uchar4()
[all …]
DrsdBcc.cpp43 rsAssert(tls); in setTLS()
277 rsAssert(sc->xStart < mtls->fep.dimX); in rsdScriptInvokeForEachMtlsSetup()
278 rsAssert(sc->xEnd <= mtls->fep.dimX); in rsdScriptInvokeForEachMtlsSetup()
279 rsAssert(sc->xStart < sc->xEnd); in rsdScriptInvokeForEachMtlsSetup()
288 rsAssert(sc->yStart < mtls->fep.dimY); in rsdScriptInvokeForEachMtlsSetup()
289 rsAssert(sc->yEnd <= mtls->fep.dimY); in rsdScriptInvokeForEachMtlsSetup()
290 rsAssert(sc->yStart < sc->yEnd); in rsdScriptInvokeForEachMtlsSetup()
301 rsAssert(!ain || (ain->getType()->getDimZ() == 0)); in rsdScriptInvokeForEachMtlsSetup()
436 rsAssert(slot < drv->mExecutable->getExportForeachFuncAddrs().size()); in rsdScriptInvokeForEach()
439 rsAssert(mtls.kernel != NULL); in rsdScriptInvokeForEach()
[all …]
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()
596 rsAssert(e->mHal.state.fieldsCount); in initAddUserElement()
DrsdIntrinsics.cpp34 rsAssert(!"Intrinsic_SetVarObj unexpectedly called"); in SetVarObj()
38 rsAssert(!"Intrinsic_Bind unexpectedly called"); in SetVar()
DrsdIntrinsicConvolve3x3.cpp36 rsAssert(slot == 1); in Convolve3x3_Bind()
44 rsAssert(slot == 0); in Convolve3x3_SetVar()
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdIntrinsicBlend.cpp273 rsAssert(false); in ColorMatrix_uchar4()
277 rsAssert(false); in ColorMatrix_uchar4()
296 rsAssert(false); in ColorMatrix_uchar4()
300 rsAssert(false); in ColorMatrix_uchar4()
304 rsAssert(false); in ColorMatrix_uchar4()
308 rsAssert(false); in ColorMatrix_uchar4()
312 rsAssert(false); in ColorMatrix_uchar4()
316 rsAssert(false); in ColorMatrix_uchar4()
320 rsAssert(false); in ColorMatrix_uchar4()
324 rsAssert(false); in ColorMatrix_uchar4()
[all …]
DrsdIntrinsics.cpp34 rsAssert(!"Intrinsic_Bind unexpectedly called"); in Bind()
38 rsAssert(!"Intrinsic_Bind unexpectedly called"); in SetVar()
DrsdBcc.cpp55 rsAssert(tls); in setTLS()
277 rsAssert(varCount > 0); in rsdScriptInit()
450 rsAssert(sc->xStart < mtls->fep.dimX); in rsdScriptInvokeForEachMtlsSetup()
451 rsAssert(sc->xEnd <= mtls->fep.dimX); in rsdScriptInvokeForEachMtlsSetup()
452 rsAssert(sc->xStart < sc->xEnd); in rsdScriptInvokeForEachMtlsSetup()
461 rsAssert(sc->yStart < mtls->fep.dimY); in rsdScriptInvokeForEachMtlsSetup()
462 rsAssert(sc->yEnd <= mtls->fep.dimY); in rsdScriptInvokeForEachMtlsSetup()
463 rsAssert(sc->yStart < sc->yEnd); in rsdScriptInvokeForEachMtlsSetup()
474 rsAssert(!ain || (ain->getType()->getDimZ() == 0)); in rsdScriptInvokeForEachMtlsSetup()
584 rsAssert(mtls.kernel != NULL); in rsdScriptInvokeForEach()
[all …]
DrsdIntrinsicConvolve3x3.cpp36 rsAssert(slot == 1); in Convolve3x3_Bind()
44 rsAssert(slot == 0); in Convolve3x3_SetVar()

123