Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdProgramStore.cpp32 GLenum blendSrc; member
80 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) && in rsdProgramStoreInit()
85 switch (ps->mHal.state.blendSrc) { in rsdProgramStoreInit()
87 drv->blendSrc = GL_ZERO; in rsdProgramStoreInit()
90 drv->blendSrc = GL_ONE; in rsdProgramStoreInit()
93 drv->blendSrc = GL_DST_COLOR; in rsdProgramStoreInit()
96 drv->blendSrc = GL_ONE_MINUS_DST_COLOR; in rsdProgramStoreInit()
99 drv->blendSrc = GL_SRC_ALPHA; in rsdProgramStoreInit()
102 drv->blendSrc = GL_ONE_MINUS_SRC_ALPHA; in rsdProgramStoreInit()
105 drv->blendSrc = GL_DST_ALPHA; in rsdProgramStoreInit()
[all …]
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dprogram_store.rs9 rs_program_store blendSrc;
87 _RS_ASSERT(rsgProgramStoreGetDepthFunc(blendSrc) == RS_DEPTH_FUNC_ALWAYS);
88 _RS_ASSERT(rsgProgramStoreIsDepthMaskEnabled(blendSrc) == false);
89 _RS_ASSERT(rsgProgramStoreIsColorMaskRedEnabled(blendSrc) == false);
90 _RS_ASSERT(rsgProgramStoreIsColorMaskGreenEnabled(blendSrc) == false);
91 _RS_ASSERT(rsgProgramStoreIsColorMaskBlueEnabled(blendSrc) == false);
92 _RS_ASSERT(rsgProgramStoreIsColorMaskAlphaEnabled( blendSrc) == false);
93 _RS_ASSERT(rsgProgramStoreIsDitherEnabled(blendSrc) == false);
94 _RS_ASSERT(rsgProgramStoreGetBlendSrcFunc(blendSrc) == RS_BLEND_SRC_DST_COLOR);
95 _RS_ASSERT(rsgProgramStoreGetBlendDstFunc(blendSrc) == RS_BLEND_DST_ZERO);
DUT_program_store.java35 ProgramStore blendSrc; field in UT_program_store
72 blendSrc = b.setBlendFunc(ProgramStore.BlendSrcFunc.DST_COLOR, in initializeGlobals()
90 s.set_blendSrc(blendSrc); in initializeGlobals()
/frameworks/rs/
DrsProgramStore.cpp37 mHal.state.blendSrc = srcFunc; in ProgramStore()
101 if (existing->mHal.state.blendSrc != srcFunc) continue; in getProgramStore()
DrsProgramStore.h49 RsBlendSrcFunc blendSrc; member
/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_structs.h82 rs_blend_src_func blendSrc; member
Drs_program.c68 return prog->mHal.state.blendSrc; in rsgProgramStoreGetBlendSrcFunc()