Home
last modified time | relevance | path

Searched refs:blendDst (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/driver/
DrsdProgramStore.cpp33 GLenum blendDst; member
81 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) { in rsdProgramStoreInit()
118 switch (ps->mHal.state.blendDst) { in rsdProgramStoreInit()
120 drv->blendDst = GL_ZERO; in rsdProgramStoreInit()
123 drv->blendDst = GL_ONE; in rsdProgramStoreInit()
126 drv->blendDst = GL_SRC_COLOR; in rsdProgramStoreInit()
129 drv->blendDst = GL_ONE_MINUS_SRC_COLOR; in rsdProgramStoreInit()
132 drv->blendDst = GL_SRC_ALPHA; in rsdProgramStoreInit()
135 drv->blendDst = GL_ONE_MINUS_SRC_ALPHA; in rsdProgramStoreInit()
138 drv->blendDst = GL_DST_ALPHA; in rsdProgramStoreInit()
[all …]
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dprogram_store.rs10 rs_program_store blendDst;
97 _RS_ASSERT(rsgProgramStoreGetDepthFunc(blendDst) == RS_DEPTH_FUNC_ALWAYS);
98 _RS_ASSERT(rsgProgramStoreIsDepthMaskEnabled(blendDst) == false);
99 _RS_ASSERT(rsgProgramStoreIsColorMaskRedEnabled(blendDst) == false);
100 _RS_ASSERT(rsgProgramStoreIsColorMaskGreenEnabled(blendDst) == false);
101 _RS_ASSERT(rsgProgramStoreIsColorMaskBlueEnabled(blendDst) == false);
102 _RS_ASSERT(rsgProgramStoreIsColorMaskAlphaEnabled( blendDst) == false);
103 _RS_ASSERT(rsgProgramStoreIsDitherEnabled(blendDst) == false);
104 _RS_ASSERT(rsgProgramStoreGetBlendSrcFunc(blendDst) == RS_BLEND_SRC_ZERO);
105 _RS_ASSERT(rsgProgramStoreGetBlendDstFunc(blendDst) == RS_BLEND_DST_DST_ALPHA);
DUT_program_store.java36 ProgramStore blendDst; field in UT_program_store
76 blendDst = b.setBlendFunc(ProgramStore.BlendSrcFunc.ZERO, in initializeGlobals()
91 s.set_blendDst(blendDst); in initializeGlobals()
/frameworks/rs/
DrsProgramStore.cpp38 mHal.state.blendDst = destFunc; in ProgramStore()
102 if (existing->mHal.state.blendDst != destFunc) continue; in getProgramStore()
DrsProgramStore.h50 RsBlendDstFunc blendDst; member
/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_structs.h83 rs_blend_dst_func blendDst; member
Drs_program.c77 return prog->mHal.state.blendDst; in rsgProgramStoreGetBlendDstFunc()